theproductiveprogrammer / tagtime-ui

The Display/User Interface code for TagTime
1 stars 1 forks source link

Aesthetic opinion: no spaces in tags #9

Open dreeves opened 6 years ago

dreeves commented 6 years ago

People can use underscores if they really must. :)

theproductiveprogrammer commented 6 years ago

Hmmm... is there a reason to prevent people from using spaces in tags? People can choose never to use spaces in their tags can't they?

dreeves commented 6 years ago

Great point but I'm a huge fan of opinionated software and think there are a lot of advantages to forcing things like this because it simplifies the implementation when you can safely make assumptions like all tags being short symbols.

Another argument: It's easy to relax such assumptions later but hard to tighten them.

theproductiveprogrammer commented 6 years ago

I'm a huge fan of opinionated software as well and that argument is really good. In the battle between simplicity of implementation and usability, though, I lean towards usability. If it makes TagTime easier to use I think we should do it - even at the cost of making it harder to program.

dreeves commented 6 years ago

Fair. I still have a strong intuition that it will be better to disallow spaces in tags but I can't think right now of how else to articulate why. Maybe thinking about why Twitter doesn't allow spaces in hashtags would lead me to the right argument? Anyway, it's ultimately an aesthetic choice and it's your app so I won't press the point!