Python is not very good at this. TypeScript with prettier will very often add missing commas or semi colons for me. I never have to worry about whitespace before the formatter comes into play.
Python’s whitespacing felt nice in the days when there wasn’t a ton of tooling around auto formatting but now it feels like a burden.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
Just switch to python
Yeah, then you just have to worry about missing whitespace, instead lol
Python is not very good at this. TypeScript with prettier will very often add missing commas or semi colons for me. I never have to worry about whitespace before the formatter comes into play.
Python’s whitespacing felt nice in the days when there wasn’t a ton of tooling around auto formatting but now it feels like a burden.