Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Delphi: Because making a coffee per compilation ends in early death. There's nothing like click and run in less than a second!
-
CptFox16166yPython: If you want multiple multiple cores processing your programs, say goodbye to share memory and debugger functionality.
echo "the cake is a lie" | sed "s/cake/Thread" -
"goto" is a reserved word in Java, so much like other reserved words (new, void, private, etc.) it can't be used for method or variable names.
However, it was never actually implemented, just reserved for future use - so it now just exists as a "banned" reserved word rather than a useful one.
"const" is in exactly the same boat! -
this one's kinda popular, but still not many now about it: most C-like languages have what is a called a "go-to operator", which is just a combination of post-decrement and greater-than
for example:
int i = 5;
while (i --> 0) {
// will run 5 times
} -
@Krokoklemme you mean `(i-- > 0)`
In ocaml, you can redefine the whole ast of the language itself at compile time if youd like -
Just remembered that in Ruby you can break open the boolean and null classes so you can replace if/else in the whole programm with method calls instead. (You definitely shouldn't do something like that!)
Heard this in a Talk from Sandi Metz
https://youtu.be/OMPfEXIlTVE
Related Rants
-
Santaclauze23!geek girlfriend Me and my partner are in the car driving. We drive by a young girl who is on her scooter. I ...
-
DZetko14Told client my hourly rate. He agreed but only gave me 20 minutes to do the work...😀
-
Milenchy13Chrome wants to open 454 tabs at once. That's literally the software version of suicide.
So another rant inspired me.
Tell me one fact or detail about your favorite programming language, other devs not using it, might not know about.
I go with: In Delphi you don't have garbage collection, unless you use interfaces the right way.
question
lovely feature
big win
fancy
dirty little details
crazy