|
|
|
|
|
by joehx2
772 days 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. |
|
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.