197 days ago · Tech · hide · Fediverse post

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…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town