mastodon.me.uk is one of the many independent Mastodon servers you can use to participate in the fediverse.
Open, user-supported, corporation-free social media for the UK.

Administered by:

Server stats:

503
active users

A question for people with strong opinions on code-formatting.

Which of these styles do you prefer?
(Poll in next post.)

Poll for the above post.

@Edent left-aligned, but without the space to the immediate left of the colon.

Largely because if you fire up Editor X with default settings and format the file, that's what it'll do and I don't fight defaults – because as @knotnicky says, there are bigger fights elsewhere.

@rgarner @Edent @knotnicky This, plus amending any alignment other than a left alignment becomes a right royal PITA if you have to add items with longer keys / properties to the hash / object / dict (delete as applicable).

Chloe Kelly fan account

@gilesdring @rgarner @Edent @knotnicky "centered on separator" looks nice but it has Premature Optimisation energy, like one day it'll all break because you have a key that's too long or something

@pikesley @rgarner @Edent @knotnicky same true of value aligned and effing tables in markdown.