this post was submitted on 26 Aug 2025
50 points (94.6% liked)
Programmer Humor
26722 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Definitely not C#. Wrong syntax for main, wrong syntax for foreach (C# has
foreach (var i in someCollection)
and what even is this method call syntax with=
?Edit: I dug around the website. It's D. I'm still confused about the method call syntax though. Usually, D uses parentheses like most other C-style languages. Must be some weird syntax where you can call methods like property setters which was useful for this particular code golf challenge.