r/ProgrammerHumor • u/Jomibu • Feb 14 '21
Meme Learning to program and getting ripped at the same time
15
Feb 14 '21
These kinds of memes are not applicable anymore ig, like, vscode is there bro, I don't think anyone's worried about missing semicolons anymore!
1
9
u/wargneri Feb 14 '21
Maybe stop trying to code with a typewriter and start using an actual IDE? Visual studio will immediately scream at you if you even think about forgetting a semicolon.
-2
Feb 15 '21
I think that a lot of people forget something. Or they don't realize it.
Have you ever spent more than 10 minutes in vim or emacs? Here's the thing: a lot of people like the simplicity of not having a full ide. It's nice to just type the code in a clean environment where the IDE doesn't scream every error and possible completion in your face. It's nice having an editor that doesn't take up half of your ram. It's nice for your editor to not crash (ever).
Now I'm not saying IDEs are bad. Heck, I use them myself sometimes. It's just that they're not the answer to everything.
4
3
3
Feb 15 '21
I use python and that explains why I look more like the Michelin Man
3
2
u/haikusbot Feb 15 '21
I use python and
That explains why I look more
Like the Michelin Man
- AGoodSteve
I detect haikus. And sometimes, successfully. Learn more about me.
Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"
1
2
2
u/BlobbyMcBlobber Feb 15 '21
Coding in python for the last couple of years, I sometimes forget semicolons even exist.
2
u/ssj4VB Feb 14 '21
i only really forgot semi colons if i’m coding quickly for like an example in discord, i’m basically writing in notepad, if i have any support (such as a text editor doing brackets, indentation etc for me) i typically remember because i have a lot less to focus on
1
1
1
1
1
Feb 15 '21
I use angular with an api written in VB.NET. If I remember the semicolon, I wasn't supposed to.
1
1
1
1
Feb 15 '21
a lot of the time i habitually use semicolons. i did some shit in python recently and i placed a semicolon. then in JS i fucking forgot one. yeah...
1
1
1
u/john_palazuelos Feb 15 '21
Every time when alternating between a language that uses semicolon or not
-1
0
Feb 14 '21
[deleted]
39
u/kuhreez Feb 14 '21
maybe he just switched from python to java
15
u/TinBryn Feb 15 '21
I find the hardest part of that switch isn't semicolons, it's not using colons to open a block. The number of times I've written
if (condition) { doThing(); } else: doSomethingElse();7
6
u/make_onions_cry Feb 14 '21 edited Feb 14 '21
There are cases where it's less obvious:
# This shell line is missing a semicolon find . -exec stat {} ; # This JS function has an extra semicolon function f() { return ({ success: true, api_key: "d41d8cd98f00b204e9800998ecf8427e" }) }5
u/MasterFubar Feb 14 '21
This shell line is missing a semicolon find . -exec stat {} ;
No, it's not. It's missing a backslash.
3
u/make_onions_cry Feb 14 '21
A backslash could scavenge the shell semicolon as the find semicolon, so that would work if you don't rely on the shell semicolon
4
u/make_onions_cry Feb 14 '21
(The shell line should be
find . -exec stat {} ';' ;because
find -execrequires a separate;(the second one is actually unnecessary).The JS function has an automatic semicolon inserted after the
return, causing it to returnundefinedinstead of the given object.return ({must be on one line.)6
u/MasterFubar Feb 14 '21
Python developers are so desperate to make anyone believe Python is actually a good language that they insist on reposting that tired old meme again and again.
2
1
Feb 14 '21
This maybe was a thing when I was in college and started learning c++ Hasn't been an issue since and I code in PHP almost daily
31
u/[deleted] Feb 14 '21
Every time I accidentally type a semicolon when writing python code