Readit News logoReadit News
blauditore commented on We Lost Something: 1970s REPLs Were Better Than Modern Development Environments   programmingsimplicity.sub... · Posted by u/surprisetalk
igouy · 3 days ago
> static/explicit typing, which replaces the need for many of Smalltalk's features

For example?

Which Smalltalk features do compile-time type declarations replace?

blauditore · 2 days ago
Dynamic inspection of an object's API? I think it's a very common thing for programmers to explore a type's API on-the-go (as we can't memorize every function name). With static typing, that information is known before run time and can be immediately displayed by the IDE in the form of auto-complete. In dynamically typed languages, the most reliable way to achieve the same is by running and inspecting it, which is basically how people work in Smalltalk from what I've seen.
blauditore commented on 4 billion if statements (2023)   andreasjhkarlsson.github.... · Posted by u/damethos
IncreasePosts · 5 days ago
Good point. Have two programs - one checking every even number and returning odd of not even. And then have a program checking every odd number and returning even if not. Then, a simple program to dispatch to either program randomly, so you end up in the long term with good performance for each.
blauditore · 3 days ago
That sounds kinda stupid, it would completely destroy the original space savings. Unless the sharding makes it fit within compiler limits.

Deleted Comment

blauditore commented on We Lost Something: 1970s REPLs Were Better Than Modern Development Environments   programmingsimplicity.sub... · Posted by u/surprisetalk
melvinroest · 4 days ago
This is just my 2 cents.

This is why I programmed in Pharo (a Smalltalk descendant) professionally for a while to get that experience [1].

I feel like that using iPython is good enough of an experience to be honest. Could it be better? Sure.

But the fact that this is my iPython session:

ipython Python 3.12.9 | packaged by conda-forge | (main, Mar 4 2025, 22:44:42) [Clang 18.1.8 ] Type 'copyright', 'credits' or 'license' for more information IPython 8.32.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: def foo(): ...: return 'bar' ...:

In [2]: foo() Out[2]: 'bar'

In [3]: def foo(): ...: return 'baz' ...:

In [4]: foo() Out[4]: 'baz'

says a whole lot I think :)

The cool thing with Pharo and Lisp of course is the whole "treating code as data", where Lisp is arguably even more intense at it than Pharo - since the syntax is basically an abstract syntax tree. It really allows for automated reasoning (e.g. "give me all functions of xyz type with abc parameters, constrained to only pqr classes and only showcase the lines where they were being called, skip the definitions). So that's awesome. I haven't tested Python on this a whole lot yet and I don't know enough about Lisp to say anything useful about it, but with Pharo I vaguely remember doing some insane things since you can also access the AST and have reflection on that as well.

Pharo of course has the whole debugger inside a debugger inside a debugger experience. But that has had quite some limited use because a new process is spawned for that new debugger, so you won't have access to the exact same context that you need. I vaguely remember that some class based variables didn't have the state I needed when I went debugger inside a debugger mode. I think it was WADynamicVariable of the Seaside framework and it was because it was a singleton like thing (IIRC) and in order to have a certain behavior it could only do that by triggering exceptions (I really don't remember it well). The point is, it needed such obscure behavior to behave in the way it needed to that the debugger inside a debugger wasn't expected to copy that exception flow context, as it wasn't really intended to be used like that.

[1] I would've worked there for longer but the company got Americanized. Our company - that was profitable - got subsumed by a venture capitalist firm that had 2 companies like it that were unprofitable. We became a subsidiary/sub-company basically. Suddenly tech layoffs came, 2 rounds at least, because the company as a whole was unprofitable (as in: the other 2 subsidiaries were unprofitable and we had to pay the price). I'd have stayed there for much longer if that didn't happen. I will go on record and say that: it is my personal opinion that they destroyed a good company with good people. I won't name the company, but given that I'm posting under my real name, it's not too hard to figure out.

blauditore · 4 days ago
I could never make myself like Pharo (or Smalltalk). Yes, it's interesting and exotic, but it never seemed really practical. Maybe what I was missing the most was static/explicit typing, which replaces the need for many of Smalltalk's features. I also never liked working with Python or JS for that reason.

It's amusing that in the mid-2010 with the raise of Node, web (turned "full stack") devs advocated for JS and how static typing was really not that relevant. Then TS came and suddenly the same folks considered it an absolut game changer.

blauditore commented on 4 billion if statements (2023)   andreasjhkarlsson.github.... · Posted by u/damethos
blauditore · 5 days ago
This could be obviously done with much less code: Just add "if"s for all even number, and at the end just return "odd" if none of the evens matched. 50% less code!

Or even simpler: If it's 0, return "even". If not, do a recursive call to n-1, if that equals "even", return "odd", otherwise return "even".

But the best way is probably to just use a library. Yes, 500MB of additional dependencies, but then it's a one-liner.

blauditore commented on Has the cost of building software dropped 90%?   martinalderson.com/posts/... · Posted by u/martinald
blauditore · 8 days ago
These kind of future prediction posts keep coming, and I'm tired of them. Reality is always more boring, less extreme, and slower at changing, because there are too many factors involved, and the authors never account for everything.

Maybe we should collect all of these predictions, then go back in 5-10 years and see if anyone was actually right.

blauditore commented on AI should only run as fast as we can catch up   higashi.blog/2025/12/07/a... · Posted by u/yuedongze
blauditore · 9 days ago
All these engineers who claim to write most code through AI - I wonder what kind of codebase that is. I keep on trying, but it always ends up producing superficially okay-looking code, but getting nuances wrong. Also fails to fix them (just changes random stuff) if pointed to said nuances.

I work on a large product with two decades of accumulated legacy, maybe that's the problem. I can see though how generating and editing a simple greenfield web frontend project could work much better, as long as actual complexity is low.

blauditore commented on Claude 4.5 Opus’ Soul Document   lesswrong.com/posts/vpNG9... · Posted by u/the-needful
blauditore · 14 days ago
To me, it all tastes a bit like an echo chamber of folks working on AI, convincing each other they are truly changing the world and building something as powerful as in science fiction movies.
blauditore commented on How to Attend Meetings   docs.google.com/presentat... · Posted by u/spagoop
garciasn · 16 days ago
I agree with each and every single slide in this presentation; I do. I also know that in each and every company I have ever worked for, none of this is going to fly. Especially, "Attending meetings is a choice." Just like paying taxes is a choice; got it.

---

For decades, I have been asking for agendas; I have asked for clarification on what to do to prepare; I have even suggested that we have solid outcomes. None of which are followed nor what anyone else wants.

Even as a leader at organizations where I can enforce this on my team, it makes absolutely no difference. Hell, Google Calendar (we use Workspace at my current org) doesn't even have solid support for good meeting invite commentary. And, even if it did, 99.99999% of folks wouldn't read any of it anyway.

blauditore · 15 days ago
>doesn't even have solid support for good meeting invite commentary

Description is sent along with the initial invite, and for subsequent invites, there's a text box for commentary on the sent emails.

Or what are you looking for?

blauditore commented on Stop Hacklore – An Open Letter   hacklore.org/letter... · Posted by u/zdw
diath · 16 days ago
> Never scan QR codes: There is no evidence of widespread crime originating from QR-code scanning itself.

> The true risk is social engineering scams...

Exactly. My grandma is very susceptible to phishing and social engineering, I don't want her scanning random QR codes that would lead to almost identical service to the one she would think she is on and end up with identity theft or the likes.

> Regularly change passwords: Frequent password changes were once common advice, but there is no evidence it reduces crime, and it often leads to weaker passwords and reuse across accounts.

Database leaks happen all the time.

blauditore · 16 days ago
Forced password changes are one of those security theater exercises that drive me absolutely nuts. It's a huge inconvenience long-term, and drives people to apply tricks (write it on a post-it note, or just keep adding dots, or +1 every time).

Plus, if your password gets stolen, there's a good chance most of the damage has already been done by the time you change the password based on a schedule, so any security benefit is only for preventing long-term access by account hijackers.

u/blauditore

KarmaCake day3277November 14, 2016
About
/ᴅᴏᴛ/./ /ᴀᴛ/@/ blauditore ᴀᴛ outlook ᴅᴏᴛ com
View Original