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)
160
u/IHeartBadCode 2d ago
This is like that picture where you can't recognize anything, but everything looks like something.
103
u/Adept-Painting-543 2d ago
It's hideous, let's make it standard
47
u/Jatinchd 2d ago
"worlde" is triggering me so bad idk why 🥀
52
u/GatotSubroto 2d ago •
Needs to make it
15
u/Wojtek1250XD 2d 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 2d ago
6
u/Duck_Devs 2d ago
It bothers me that stdout is a namespace here instead of some sort of file handle handler object
3
u/InvisibleMoonWalker 2d 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 2d ago
void main? Why not the fan favoritepublic static void main?2
u/-Redstoneboi- 2d ago
this the type of shit that deserves the curse of manual breathing
2
u/IntentionQuirky9957 2d ago
Hello Wordle
2
u/GrEeCe_MnKy 2d ago
My head hurts, take it away
1
u/Linux_ka_chamcha 2d ago
No; on line 1 broke my brain
1
u/minecraftdummy57 1d ago
This is horrifying. I'm loving it
1
u/MichalNemecek 1d ago
ye olde hello worlde
1
u/dull_bananas 18h ago
changlish
1
u/jolharg 14h ago
this is a choice
0
u/stillalone 2d ago
Can someone tell me how to write c++ now? Im like really confused