this post was submitted on 19 Jun 2025
323 points (90.5% liked)

Programmer Humor

24420 readers
151 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Made with KolourPaint and screenshots from Kate (with the GitHub theme).

you are viewing a single comment's thread
view the rest of the comments
[–] tdawg@lemmy.world 2 points 4 days ago (1 children)

oh for sure, but I think that's the rarer case for language implementions. Having a consistent structure with alternative keywords in static positions is just easier to develop an AST for. Personally my favorite language doesn't even allow for const values (except by convention) so it's really just a matter of preference

[–] Scoopta@programming.dev 1 points 4 days ago (1 children)

Is it rarer? I think a lot of modern languages go for the first option but pretty much all C style languages use the latter. It's probably a wash for which is more popular I'd think.

[–] tdawg@lemmy.world 1 points 4 days ago

I'm talking about quantity not the popularity of a given language. There are certainly a number of popular languages that follow that convention