Or at any level, doesn't matter. namespace std is a special case of the using keyword that has the same behaviour no matter where you write it. Evil at its peak
People who have little to no exposure to programming, have no idea where the actual learning resources exist, and who happened to come across some social media page called "Learn Programming/Python/whatever", and thought this is where you learn programming from.
After following the page, they start getting posts in their home feed containing magic runes. They upboot the magic runes and continue scrolling through their home feed. Page becomes extremely popular, and whoever made it never finds a need to work hard and provide anything of value. Just copy entry-level shit from a 1st year programming book, screenshot, and get upboots.
This is why I never used Facebook for over 10 years. It does not exist to teach you. It does not exist to inform you. It does not exist to make you wiser. It only exists to devour your time and attention in an endless cycle of useless crap while it shovels advertisement and propaganda into your mouth.
Man, if you're gonna make a clickbaitey ad why wouldn't you make it cool at least? What gullible person sees the ad and is like "no way I can pay them $99.99/month and make my computer print an ASCII STAR?!".
Make it a whole bunch of hackery sounding things, and be sure to include lots of executing and killing children, that's how you get attention.
My heart goes out to those poor, missing braces that just wanted a simple life of enclosing the body of line 12’s for-loop. Aren’t they required for multi line statements in control blocks / loops? Or is it just a convention
Yeah, I used to grade new CS students' programs, so I became pretty adept at parsing non-indented code, lol. I think that trauma is what drove me to Python. 😅
The formatting is atrocious. If you're gonba make an ad for your shitty programming courses, at least make an effort. Though, it is Instagram, so I don't know what I expected.
135
u/Quick_Base9774 Apr 30 '23
The worst thing about this is that he didn't save the file.
8
u/Pangocciolo May 01 '23
They even got the markdown notes wrong. H1 instead of simple text, and filetype python.
Or worse, an unsaved python script?
7
u/GandelXIV May 01 '23
How does this get 8k likes?
297
u/[deleted] Apr 30 '23
Man, if you're gonna make a clickbaitey ad why wouldn't you make it cool at least? What gullible person sees the ad and is like "no way I can pay them $99.99/month and make my computer print an ASCII STAR?!".
Make it a whole bunch of hackery sounding things, and be sure to include lots of executing and killing children, that's how you get attention.
79
u/hellomistershifty May 01 '23
The one useless comment is so much more annoying than no comments
67
u/BanishDank May 01 '23
This function adds two numbers.py
43
u/enderkings99 May 01 '23
Is this how the "I can't understand how indented code block languages work" people code?
39
u/Ludwig234 May 01 '23
Ah, a never nester. A rare sight these days.
32
u/elektrospecter May 01 '23
My heart goes out to those poor, missing braces that just wanted a simple life of enclosing the body of line 12’s for-loop. Aren’t they required for multi line statements in control blocks / loops? Or is it just a convention
15
u/18441601 May 01 '23
I can't read this! At least they should indent the code.
12
u/MAZ00101 May 01 '23
unformatted code from the image:
same code but different formatting:
6
u/LaxerjustgotMc May 01 '23
im not a C++ type of kid but that looks hella wrong.
3
u/bjornum May 01 '23
That code gives me headache, no indentation, no formating and those variable names.. The lack of save on the file is just the icing on top
3
u/skabde May 01 '23
"Do you use space or tabs?"
"What?"
3
u/Analbears May 02 '23
my dumb ass pressed the arrow to see more
2
u/lakpareek May 01 '23
ugly ahh code
2
u/AlphaCFalcon May 02 '23
Screenshots are hard apparently
2
u/CoolMiner_5000 May 02 '23
The formatting is atrocious. If you're gonba make an ad for your shitty programming courses, at least make an effort. Though, it is Instagram, so I don't know what I expected.
1
u/gabbagondel May 01 '23
🧠💻💡
1
u/lazyhorse9812 May 01 '23
Here I am, clicking on the arrow like an idiot.
1
u/PumpkinElectrical616 May 02 '23
Considering the effort put on indenting this, I would like to see what his third python file looks like
1
u/NickSicilianu May 02 '23
I guess his keyboard must missing the TAB button. RIP 🪦
1
u/TerroFLys wicked May 02 '23
MY EYES
1
u/[deleted] May 02 '23
At least put some effort man, everyone knows insta is shit and then you pick up code from insta.
Earlier we used to have great posts but nowadays it's just farming karma and babies out of college.
1
u/KihiraLove May 02 '23
The lack of indentation is hurting me
1
u/FrezoreR May 01 '23
Or maybe it's an ingenious trick to give this ad more spotlight.
When engineers see something that's wrong they have to look closer after all 😅
-3
u/K3rianprime May 01 '23
The worst part is that they used C# notation in C++ for the function braces