It seems that the deeper I go into being a polyglot programmer, the harder it gets to write code thatโs idiomatic for a given language community, as sensibilities from various programming systems start bleeding into each other.
For example: Iโm currently working on a JavaScript project, and I find myself using Object.freeze all over the place, because Iโve been working in languages where immutability is the default for so long that mutability by default low-key freaks me out.
Peppering Object.freeze about is helping me with that, but it also feels probably non-idiomatic for full-time JS users. I guess they just embrace mutability and assume everything can always change out from under themโฆ? Seems nutty, but I guess itโs also probably normal for most programmers.
Or, I dunno, maybe itโs because my JS is rusty and Iโm the sole programmer on this project. So I have no one giving me any feedback on the code, reminding me of community idioms.