News for hackers. Stuff that matters.
Re:Needed 1+1, Built a Functional Programming Language by saghm on Tuesday September 29, 2026 @11:15PM (#49903959)
Yeah, I learned about a bunch of the other algorithms later (forgetting the names, but stuff like "move to the next slot rather than putting collisions into buckets" and "hash a second time if you hit a collision"; I'm sure I'm forgetting some of the nuances).

> Closures seriously complicate language design and things get painful and counterintuitive unless you use lexical scope (or… you know… you like pain)

Well if you like both lexical scope and pain, there's always lisp!

Re:Needed 1+1, Built a Functional Programming Language by jimbokun on Wednesday September 30, 2026 @12:52AM (#49904486)
Be careful with Lisp!

You might end up founding one of the first e-commerce sites, sell it for a handsome payday, and then create the first startup accelerator and make insane amounts of money while transforming the industry.

Safer to stick to Blub.

Re:Needed 1+1, Built a Functional Programming Language by saghm on Wednesday September 30, 2026 @12:57PM (#49911490)
I'd need to solve time travel first for that, but I guess lisp is as good a language as any for figuring that out