this post was submitted on 28 Mar 2024
611 points (98.1% liked)

Programmer Humor

32568 readers
128 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 8 months ago (1 children)

I’m already annoyed by the end of public static final string that the variable name doesn’t even bother me in these sorts of langauages. All things should be public, static, & final, by default so they aren’t necessary to write. You should only have to write what unsafeties you are opting into.

[–] [email protected] 4 points 8 months ago (1 children)

You may enjoy having a look at F#. It says that it's "functional first", but I think a better description would be "an opinionated version of C#".

For example it doesn't have a "const"-keyword. Instead it has a "mutable"-keyword, because everything is const by default.

[–] [email protected] 1 points 8 months ago

Being attached to the CLR isn’t my cup of tea, but I have been learning its older cousin OCaml off & on the last 1½ years