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

To be honest ... this is IMHO by far one of the most complicated thing in the whole webdev area. I don't get it why ppl complain about how difficult CSS is ... but to foresee how an image behaves and find a good balance between size and file size is a hart thing to juggle with.

This article clarifies a lot of things for me so thx for that.



I dont think topic thst can be explained in one blogpost is the most complicated thing in webdev.

People often just dont understand srcset/sizes and try to do too much and make some kind of media queries logic instead of leaving all to browser.


Also, teaching non-engineers about the different file types to use (like not using PNGs for raster content) is another realm of complexity.

Optimizing images programmatically is easy. Converting them between PNG and JPG programmatically, along with determining when such a conversion should happen, is very difficult.


> I don't get it why ppl complain about how difficult CSS is ...

It's a huge language. There are so... many... properties.




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

Search: