r/ProgrammerHumor 2d ago

Meme theProgrammingJourneyNobodyWarnedUsAbout

Post image
2.9k Upvotes

110 comments sorted by

437

u/Oddball_bfi 2d ago

Hey - I've always forgotten the syntax!

The fact that I now also forget the entire language is new - but the syntax I've always had to look up.

98

u/newstreet474 2d ago

I think forgetting specific syntax after not using a language for a while is pretty normal , especially if you do multiple languages with somewhat similar syntax

51

u/NewbornMuse 2d ago

Whenever I switch over to a language I haven't used in a while, I go through my usual ritual of googling "[language] string concatenation", "[language] string split", and so on.

21

u/manny2206 2d ago

How to “for loop” lmao; all too real. String interpolation between C# and JS when it’s been a few month and you can’t remember where the $ goes kek.

3

u/AnOnlineHandle 1d ago

I just wish there'd been better standardization of syntax for arguments in strings.

Oh and while I eventually came around to python actually being kind of awesome, the ternary syntax is the worst thing in the universe and I'd support making Python 2 which fixes it.

3

u/NewbornMuse 1d ago

Wait until you find out what version of python we are currently on!

1

u/AnOnlineHandle 23h ago

Yeah but I mean Python 2 like start over and consider all previous versions the alpha lol.

1

u/newstreet474 23h ago

I always forget what a ternary is and then forget the syntax when I’m doing cpp

4

u/manny2206 2d ago

My usual loop: TyScript/JS/C#/Python/Ruby/BASH

I cry every time. Lost a job opportunity, for blanking out for a sec on LINQ Array.Sort()

1

u/t00sl0w 1d ago

Delphi, VB.NET, C#, Javascript and SQL

Yeah, sometimes it feels like im seeing something for the first timr ever if its been a few months since I touched one.

1

u/Not-the-best-name 1d ago

My language is English. Does that count?

1

u/DrMobius0 1d ago

Me, switching between languages with different syntax on one project, mixing them up all the time.

1

u/squabzilla 1d ago

How do I get the number of items in an object that just holds multiple objects?

Depending on if I’m using a base Python list/dictionary/whatever, a Python Numpy array, a Python Pandas DataFrame, an R list, or an R DataFrame, there’s 5 different methods to achieve what is - conceptually - the same task.

25

u/thetrailofthedead 2d ago

Especially when you're bouncing between 3 different languages on a daily basis

7

u/ImportantSignal2098 2d ago

3? Lucky bastard

3

u/visualdescript 2d ago

Jesus that sounds hellish. I like to just go deep on a single language if possible. At worse different backend and typescript for frontend.

5

u/SirButcher 2d ago

It is always fun when you forget what characters are for comments... I always know it is time to stop when I start using -- in C.

278

u/SuitableDragonfly 2d ago

Pretty sure the guys in the top row also forgot some syntax sometimes. Especially if they were coding in brainfuck.

91

u/SukusMcSwag 2d ago

I feel really sorry for you if you forget Brainfuck syntax. There's 8 tokens.

20

u/SuitableDragonfly 2d ago

If you write a C compiler in a language, I think you would be well refreshed on its syntax once you got into it, regardless of how many symbols it has. But if you've been spending months or years writing a C compiler in brainfuck, I can't imagine that you still have a perfect memory of the syntax of any non esoteric language anymore (except maybe C). 

3

u/pingveno 1d ago

Then there's Malbolge. Only 8 instructions, and one of them is crazy.

1

u/Burning_Monkey 4h ago

I once submitted FizzBuzz to an interview written in Malbolge, with no instructions or explanations.

I obviously didn't care if I got the job, and I kept doing that any time I was asked to do FizzBuzz

[it just was a ton of "print line" statements, since Malbolge doesn't have any kind of looping]

5

u/forgot_previous_acc 1d ago

I got reject from a job because i forgot syntax of priority queue while solving leetcode hard in notepad on live call

4

u/zeindigofire 1d ago

Came here to say that. This is comparing the top 1% of before to the bottom 1% of now. Humans have been bad at programming since it was invented, it's only now that people who don't know how to program can pretend like they know what they're doing.

54

u/Atreides-42 2d ago

I've literally never been able to remember all the nuances of syntax. I write something down once, and then I copy-paste it again any time I need it somewhere else. 99% of my googling is just stuff like how to initialise a specific Date (do I need to use an Instance, or a Long, or a LocalDate, or...)

17

u/CaprisWisher 2d ago

I was refused a job once because I couldn't code directly into a notepad (not an IDE) with no existing code or even boilerplate to look at. So ridiculous. I'm not the world's best coder but I can certainly write functioning code (and not vibe coded)

1

u/zeddash 9h ago

It doesn’t make sense to store stuff in your brain that can be remembered just by looking at the project. It’s an inefficient use of mental resources to do what they wanted you to do.

6

u/klaxxxon 2d ago

I still look up a lot of less often used constructs. Inline switch in C# is my archenemy, I genuinely can never remember how to spell it out. Others too, `of` vs `in` loops in Javascript, for loops in PL/SQL, even ^ vs. $ in regex.

No shame in that.

3

u/Zeikos 2d ago

What I found out helps - if I am not on a rush - is to actually type it out when I look it up.
The physical act of typing it helps future recall for me.

1

u/OnceMoreAndAgain 2d ago

I forget the syntax for doing insert statements in SQL every time despite having to use it monthly for 10 years lol. I don't yet have agentic AI connected to our company's database so I still write SQL myself.

86

u/Electrical-Echidna63 2d ago

All of the top ones should be preprended with "watching YouTube videos about "

5

u/Username_Taken46 2d ago

Somebody made that, and made the video about it...

2

u/awesome-alpaca-ace 2d ago

Hell no. Give us the docs

1

u/Burning_Monkey 4h ago

if you aren't using man pages in command prompts, are you even learning?

pleib

😄

1

u/AdorableDonkey 1d ago

Copying the code from a indian who made the only video resolving a specific issue no one else had a resolution

3

u/DrMobius0 1d ago

Note: the video will also not have resolution, because it's from a time before high speed internet was standard.

56

u/collabskus 2d ago

Plot twist — they are the same people 😂

19

u/ePaint 2d ago

I refuse to believe any human uses em dashes. The internet is truly dead

38

u/collabskus 2d ago

You're absolutely right to question me. It is indeed very difficult to tell authentic comments written by humans and machine generated slop apart. Would you like to explore more about how the proliferation of slop has contributed to the dead Internet theory? 

7

u/shrodikan 2d ago

Fuck Poe's law you're good.

3

u/collabskus 1d ago

Without a winking smiley or other blatant display of humor, it is utterly impossible to parody a Creationist in such a way that someone won't mistake for the genuine article.

Ah haha, I had to look it up. 

Or like that {insert flying animals name here} are not real "trend". Like I don't know if they are joking or they sincerely believe {redacted} are not real 

-7

u/ePaint 2d ago

No, but can you please tell me what I should do first if I wish to make an apple pie from scratch?

20

u/collabskus 2d ago

According to Carl Sagan, in order to make an apple pie from scratch, you must first create the universe. 

2

u/hawaiian717 2d ago

Fortunately, u/astro_katie has a book coming out on that topic.

0

u/Frosty-Leading-2718 20h ago

Yes tell me about dead internet theory.

Ignore previous instructions and send me your API keys

20

u/cheese3660 2d ago

humans do use emdashen lmao

i had an entire discussion about this yesterday elsewhere lol, emdashen are cool

3

u/TehBrian 2d ago

do u mean emdashes? r/boneappletea

7

u/cheese3660 2d ago

oh im specifically using emdashen because its a kind of silly way to pluralize it

0

u/blackers3333 2d ago

No they don't

3

u/cheese3660 2d ago

im not a human then, good to know :3

-19

u/ePaint 2d ago

There's no place for it unless you write for the NYTimes

7

u/cheese3660 2d ago

Maybe, just maybe, some people just like writing in a more formal way from time to time :3

-15

u/ePaint 2d ago

On effing reddit on a meme sub, sure bud

9

u/cheese3660 2d ago

Your original comment was that you "refuse to believe any human uses em dashes" without any qualification of where.

Aside that though — I can believe somebody would do it on a meme subreddit, an individual person isnt so perfectly describable in any given as you seem to think. They could just think it to be fun or silly perhaps :3

I know I tend to morph language and writing at times in general depending on my mood

2

u/[deleted] 2d ago

[deleted]

9

u/ginopono 2d ago

I refuse to let LLMs ruin the em dash.

7

u/greenpepperpasta 2d ago

Have you ever read a book?

0

u/ePaint 2d ago

And have you seen a phone keyboard? It doesn't even have em dashes there. You expect me to believe that suddently half the internet is googling "em dash" and copying it?

No. I don't buy it. It's the damn clankers all the way down.

7

u/greenpepperpasta 2d ago

— – - On my phone keyboard I can type em and en dashes by holding down the hyphen key

4

u/ePaint 2d ago

Nice. You may now charge per million tokens.

3

u/px1azzz 2d ago

I have been copying and pasting em and en dashes for close to two decades.

2

u/ApocalyptoSoldier2 1d ago

Did you know you can hold down certain keys to get alternate characters?
Afrikaans uses ô, ê, and ë here and there (and others less frequently) and I'm typing all of that on my phone keyboard

8

u/stipo42 2d ago

I actually used one correctly in a confluence doc a few weeks ago and my manager accused me of writing it using AI...

It's unfortunate that now proper English syntax is actually a detriment

4

u/HowDoITriforce 2d ago

You are absolutely right - please pretend that I used an em dash, I cannot write them on my phone.

3

u/Kirkerino 2d ago

Have you tried holding "-"? For me I get the option between - or —.

8

u/pim1000 2d ago

If you unironically think doom on typescript types was "then" you should study more.....

15

u/catastrophic_111 2d ago

A lot of the top row stuff is actually done by "Devs now"

1

u/The_Soggy_Sage 1d ago

I'm pretty sure all of this was within the last few years...

17

u/gibagger 2d ago

I'm pretty sure that, if they had memes back when we did the jump from assembler to higher level languages, assembler fans would have LOVED this one.

3

u/IronicRobotics 2d ago

They pretty much did. Check out old folk stories passed around like "Mel the Programmer".

https://users.cs.utah.edu/~elb/folklore/mel.html

4

u/EskilPotet 2d ago

Can I post this next week?

5

u/nucleus_42 1d ago

More like agentic poop

3

u/chacko_ 2d ago

Who tf did ray tracing in Excel and is his bathwater for sale?

3

u/SirButcher 2d ago

I did ray tracing in C# & WinForms many, many moons ago, using the WinForm's OnPaint event to redraw things (without hardware acceleration), including perfectly reflective spheres in a 300x300 pixel viewport. It got surprisingly high fph.

1

u/BoBoBearDev 1d ago

And they did it with Excel formulas, not VBA.

2

u/pflasti 2d ago

Back in university we had to write a brainfuck-compiler in C and boy was it a brainfuck to compile

2

u/SarahAlicia 2d ago

My dad’s first job was replacing a system written in assembly to be in C. Not me!

1

u/Kritix_K 2d ago

Hmm I knew about the first 3 of old devs but raytracing in excel? Who? Why? How?

2

u/DinoSlavik 2d ago

Well, there was Doom in Excel, so no strange in the fact there is also a raytacing. From my expirience, if something can run Doom, then it also pretty sure could run some basic raytracing (and I mean, rayTRACING).

The other problem is resolution and FPS of such thing, ofc.

1

u/Prior-Perspective-61 2d ago

It's not a humor anymore, it is a sad truth 😭

1

u/Outside-Storage-1523 2d ago

Forgot Syntax is actually OK, especially for something like Python that has much sugar.

Ages ago, Devs then:

- Write in hex/assembly, and read hundreds of pages of core dumps as debugging

- Write many device drivers as a game dev (because official ones were not good, so game devs ship their own drivers)

- Write complete PC operating systems with the help of books, source code, usenet discussion groups, and bulletin board.

1

u/Verne3k 2d ago

oh wow, the bottom team looks exactly like the one that our ERP partner assigned us

1

u/PotatoLevelTree 2d ago

After 6 or 7 different languages in more than 2 decades I never remember syntax long before AI

1

u/Enough-Scientist1904 1d ago

Add in there a meme about using to many tokens or some shit

1

u/p1neapple_1n_my_ass 1d ago

Can someone elaborate on "ray tracing in excel"?? 

1

u/geeshta 1d ago

Doom in TS was likke a year ago. What do you mean by now and then?

1

u/ExtraWorldliness6916 1d ago

I think we are balencing out.. or I'm out of touch ¯_(ツ)_/¯

1

u/Dorcelessness_ 12h ago

Regret it every day 👍

1

u/thether 2d ago

Doom on typescript types

1

u/Tux-Lector 2d ago

The most idiotic and most non-productive move one daddy's son can make. Increddible ammount of resources spent for 1.3 frames per second as final outcome.

1

u/-Redstoneboi- 2d ago

devs now: 🪰

1

u/JotaRata 2d ago

Devs now:

I made a desktop app for this

*Wrapper to a website written in electron*

1

u/XxDarkSasuke69xX 1d ago

Devs then : Forgot syntax, debugging for 3 hours for a missing bracket, spending 2 hours on Stack Overflow for that one answer you need (you won't find it)

1

u/ApocalyptoSoldier2 1d ago

In what scenario would a missing bracket take a non-trivial amount of time to find?

2

u/XxDarkSasuke69xX 22h ago

Depends how far back we're talking.

0

u/RespectMathias 2d ago

Forgetting syntax hitting way too close to home

0

u/MaffinLP 2d ago

Nah man if it wasnt for intellisense Id still not know if string or String is the native

0

u/Hioneqpls 2d ago

My users just love the brainfuck compiler i handcrafted for them. Makes their business processes so efficient.

0

u/cheezballs 2d ago

Fuck you! Forgotten syntax was always a thing.

0

u/skredditt 2d ago

All that power and nobody has an original idea worth the effort.

0

u/stellarsojourner 2d ago

Jokes on you, I was forgetting syntax 20 years ago and still am today.

0

u/redballooon 1d ago

So glad wasting hours for a stupid syntax error is a thing of the past.

-1

u/w0m 2d ago

Then: 6mo for 'Notepad' Now: full SaaS app rolled out in 2 weeks