25
u/fedsmoker9 14d ago
A 12 year old Indian made this post
1
u/LegMysterious1899 14d ago
i don't think a 12 y/o indian would learn cpp
9
u/potato-master369 14d ago
really? I thought C++ is what they teach children because they can't do assembly? /j
Edit: add the /j
1
u/Good_Doctor_150 14d ago
You know that if you edit fast enough it doesn't show as edited. So you don't need to say "Edit:"
For exemple this part was added with an edit.
2
u/potato-master369 13d ago
Apologies, I do it as a courtesy since I feel it would be nice for people to know what the edit was.
3
40
18
u/violetvoid513 14d ago
const bool? Wtf, is this person a yandere or something?
11
u/AngryChaoticBoi 14d ago
and a misleading 'i' prefix that is typically used for (i)nteger types but used for boolean here
11
u/Scared_Accident9138 π΅οΈββοΈπ¨ BS Detector | Truth Teller π―οΈπ₯ 14d ago
I've never seen a programmer with experience try to use a programming language to write a message quite 1:1 to natural language, but for some reason others keep doing it from time to time
0
14d ago
[deleted]
4
u/Scared_Accident9138 π΅οΈββοΈπ¨ BS Detector | Truth Teller π―οΈπ₯ 14d ago
I mean forcing natural language into it, like in the post and that doesn't actually do anything
4
2
2
u/EagleEyeA2HX 14d ago
Why is it a constant? That seems like a heavy undertaking... Jensen Huang seems to use a variable for this.
2
1
1
1
u/_katarin 13d ago
but const doesn't make it immutable? ie if you get a pointer to it
1
u/Maqi-X 13d ago
It does make it immutable, if you take a pointer to it you get
const bool*so still immutable1
u/TheChief275 12d ago
You would think so, but the compiler isn't allowed to reason like that about a non-static const because the code might be loaded as a library and imported as an extern bool, or a const_cast casting the const away

100
u/erthyacheck 14d ago
this one is first day coder humor