Skip to content

Comment on CSS text-transform is language-dependant: the Dutch case explainedparent

Comments

Eek. Not only are they hardcoding the logic but they mix their CSS-specific code into the function. I understand that they are handling a limited number of cases now but if I came across that kind of code in my work I'd be very sceptical.

That's called not over engineering something.

Making something more complicated doesn't make it better. Make it more complicated when you need to, not before.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.