Comment on CSS text-transform is language-dependant: the Dutch case explainedparentComments−underwater14yEek. 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.−ars14yThat'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.
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.