3 ms·
There are many different reasons why Javascript should only be enhancement. First of all, it always additional stuff to load, which takes time. Think, you are
by PinguTS 12y ago
There are many different reasons why Javascript should only be enhancement.
First of all, it always additional stuff to load, which takes time. Think, you are on your mobile with shitty cell reception. It happened for me just a few weeks ago in Nepal and Bhutan. If your site rely on Javascript, you cant even do a simple reload.
Javascript also adds an additional layer. It takes time to execute. You could argue, that device are fast enough, but for me that is only the argument for the lazy people who don't want think. Like, what about I can't afford a faster device or I don't want. Like, my mom still has a PPC Mac Mini and she don't want a newer computer, because she is very fine with it. My dads PC is even older running an version of Windows XP using some version of Opera.
In general your thinking should be not about how many people I am excluding, but instead how many people I am including.
Like e.g. I am using DataTables myself to make it nice and pretty. I could include the data via JSON instead of including an HTML table beforehand. But why? If I include the HTML table, then I can assure the 100% of the HTML browser, whatever type, can display it.
It is always about inclusion, inclusion of every people who has some sort of disabilities or dislikes. This should be very first priority. Then the second priority should be about making it nice, pretty and shiny.