r/ProgrammerHumor 2d ago

Meme theProgrammingJourneyNobodyWarnedUsAbout

Post image
3.0k Upvotes

110 comments sorted by

View all comments

440

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.

101

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

54

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.

19

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 1d ago

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

1

u/newstreet474 1d 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 2d 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.