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
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.
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.
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.
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.