spj

joined 3 years ago
[–] spj@sh.itjust.works 9 points 2 weeks ago

Reminder that TIOBE is ass and shouldn't be used for basically anything except for who to target advertising to.

[–] spj@sh.itjust.works 2 points 2 months ago (1 children)

You're just perfect for me. So many out there with a small waist and big ass who insist on going hairless. Shame.

[–] spj@sh.itjust.works 1 points 2 months ago

Harmful: compilers

Better alternative: magnetized needle and a steady hand

[–] spj@sh.itjust.works 1 points 2 months ago

Mutation (or not) is a matter of runtime semantics, not surface semantics. Let the compiler figure it out. (Functional-but-in-place c.f. Koka, Roc, Lean4)

Purity and referential transparency make writing correct, zero-maintenance code easy.

Although you can extract a lot of money from your customers if you deliver inscrutible code that needs a lot of maintenance.

[–] spj@sh.itjust.works 4 points 2 months ago (10 children)

Modern OOP is an antipattern.

[–] spj@sh.itjust.works 4 points 2 months ago

I try to only write in easy language if I can. My favorite one is Lean4.

There's lots of this vs that discussion in this thread. IMO the most useful such distinction I've encountered is languages that encourage you to think about data vs languages that encourage you to think about transformations (of data). Excel and modern OOP are the former while haskell and digital signal processing are the latter.

[–] spj@sh.itjust.works 1 points 2 months ago (1 children)

She and Foucault oppressed plenty.