Re:Ask HN: How do you switch between multiple programming la...
by smegsicle on Monday May 06, 2024 @06:46PM
(#40280366)
that still doesn't explain what language you're switching from where 'affects' is used like that
Re:Ask HN: How do you switch between multiple programming la...
by kevindamm on Monday May 06, 2024 @06:56PM
(#40280443)
*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.
Re:Ask HN: How do you switch between multiple programming la...
by atomicnumber3 on Monday May 06, 2024 @06:46PM
(#40280369)
I 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.
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.