Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is impressive that Tailwind succeeded in making this even more confusing.

justify-content: center -> justify-center

align-items: center -> items-center

Just… why?



There's a reason "naming things" is one of the great hard problems of programming. Especially when you have to name hundreds of things while developing i.e. a framework. Unless it's a solo pedantic developer creating the entire thing, inconsistencies will crop up, some names won't age well, some names don't quite capture the thing they are naming, etc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: