typescript has access modifiers, if this were in a class the only issue would be that classes use readonly instead of const for some reason (c# influence I guess?)
It used to be that you could just do for int i = 1..5, but old ranges were inefficient and confusing due to the fact that they were iterators themselves, rather than having a separate iterator type. In order to resolve this, a new range type was introduced, and a traditional range can be converted into a new range using the newly-introduced range keyword. Using old ranges for anything except constructing a new range has been deprecated, but they remain in the language for backwards-compatibility reasons.
An output namespace for shit like stderr, stdout, stdin, etc, would be interesting, but annoying. Having a namespace just for stdout is actually insane
When you decide to take the worst parts from each language and combine them into one atrocity.
(The only thing missing to make this literally the worst version of all languages combined is not using public static final const void main(char[]*argc, std::Map**argv) or something)
169
u/IHeartBadCode 12d ago
This is like that picture where you can't recognize anything, but everything looks like something.
106
u/Adept-Painting-543 12d ago
It's hideous, let's make it standard
50
u/Jatinchd 12d ago
"worlde" is triggering me so bad idk why 🥀
53
u/GatotSubroto 12d ago •
Needs to make it
15
u/Wojtek1250XD 12d ago
NGL out of everything here the most cursed to me is the fact that there are no parenthesis after range, and the argument it recieves... is a range.
8
u/Dorkits 12d ago
6
u/Duck_Devs 12d ago
It bothers me that stdout is a namespace here instead of some sort of file handle handler object
3
u/InvisibleMoonWalker 12d ago
When you decide to take the worst parts from each language and combine them into one atrocity.
(The only thing missing to make this literally the worst version of all languages combined is not using
public static final const void main(char[]*argc, std::Map**argv)or something)3
u/Some_Useless_Person 12d ago
void main? Why not the fan favoritepublic static void main?2
u/-Redstoneboi- 12d ago
this the type of shit that deserves the curse of manual breathing
2
u/IntentionQuirky9957 12d ago
Hello Wordle
2
u/GrEeCe_MnKy 12d ago
My head hurts, take it away
1
u/Linux_ka_chamcha 12d ago
No; on line 1 broke my brain
1
u/minecraftdummy57 11d ago
This is horrifying. I'm loving it
1
u/MichalNemecek 11d ago
ye olde hello worlde
1
u/dull_bananas 10d ago
changlish
1
u/jolharg 10d ago
this is a choice
1
u/ZuriPL 9d ago
I thought the C++ committee already succeeded in making the most horrific thing on this planet, apparently not
1
u/average__Egg 4d ago
hello worlde
0
u/stillalone 12d ago
Can someone tell me how to write c++ now? Im like really confused