3 ms·
> Does [mixing the syntax] happen to you too? Yes. I switch between Java and JavaScript/TypeScript frequently. Probably the biggest syntax typo I make is switc
by joehx2 2y ago
> Does [mixing the syntax] happen to you too?
Yes. I switch between Java and JavaScript/TypeScript frequently. Probably the biggest syntax typo I make is switching the arrow functions: -> vs =>. Also, switching between the various `.includes`, `.contains`, `.size`, and `.length`.
Since my IDE catches it immediately, it doesn't really have any long-term affects.
- smegsicle 2y agothat still doesn't explain what language you're switching from where 'affects' is used like that
- kevindamm 2y ago*affects* (noun) - a set of observable manifestations of an experienced emotion : the facial expressions, gestures, postures, vocal intonations, etc., that typically accompany an emotion - the conscious emotion that occurs in reaction to a thought or experience I suppose the IDE doesn't show any emotion from these context switching hiccups.
- atomicnumber3 2y agoI switch between Java, go, Ruby, python, and js. And yes I'm a mess. The worst is which versions of "strip" vs "trim" each language uses to remove white space from the sides of strings. I dread the next time I have to interview because I'm going to look silly, accidentally adding or removing semicolons and parens around if statements and etc. Honestly aside from those, I don't notice it too much and there's kind of a muscle memory for it eventually where the switching becomes mostly unconscious.
- fidotron 2y agoString manipulation and those damn strconv Itoa funcs in go are what kill me. I have to look that up every time and feel a complete idiot for it!