this post was submitted on 20 Mar 2026
196 points (99.0% liked)

Programming

26163 readers
526 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] mojofrododojo@lemmy.world 2 points 23 hours ago (2 children)

cobol? fortran? c? assembly? so many options

[–] resipsaloquitur@lemmy.world 2 points 16 hours ago (1 children)

C.

I exaggerate a bit. C99 lets you declare variables anywhere inside the block, not just the top.

Which still got me into an argument with a coworker who wanted me to declare every variable at the top of the block “in case” we port the code to a compiler that doesn’t support it.

C99 was 20 years old at that point.

Newer versions of C have generics “support” but I haven’t seen it in the wild yet.

[–] mojofrododojo@lemmy.world 1 points 10 hours ago (1 children)

I wonder what the last programming language will be...

[–] alsimoneau@lemmy.ca 1 points 18 hours ago (1 children)

Fortran has a 2018 release. Assembly is tied to the cpu, so I assume it changes every iteration.

[–] mojofrododojo@lemmy.world 1 points 10 hours ago (1 children)

I just consider it's origin to be ancient...

[–] alsimoneau@lemmy.ca 1 points 1 hour ago

That's irrelevant is it's updated frequently.