tag(s): #programming #overblown-minor-annoyances In case you needed more evidence that people can be complicated (where people = me), let's take a look at one thing I absolutely hate on the grounds of "correctness" and one another that I only strongly dislike despite being "more correct". Trailing and prefix commas in code I can try for hours to come up with a sentence that expresses how much I absolutely despise with all my heart these practices, but it is impossible to pack enough hate and disdain even with potentially an infinite amount of words. I would need to come up with new words, and I am not skilled enough (in English nor Spanish) for that. In case you aren't familiar with these, lucky you, it is about writing lists of "things" in code. Let's use Python, though I've seen it more commonly in SQL and JS: a_list_of_things = ["one thing", "second thing", # trailing comma 🤢 ] another_list_of_things = [ "one thing" ,"second thing" # for each one of these ,"more things" # commas I…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.