3 ms·
This is a strange definition of "should". If 2% of your users are browsing with JS turned off, "should" you really spend valuable time maintaining the no-JS pat
by mistercow 13y ago
This is a strange definition of "should". If 2% of your users are browsing with JS turned off, "should" you really spend valuable time maintaining the no-JS path at the expense of working on how the site works for the other 98%?
- bphogan 13y agoYou should never have to develop two paths. Web development boils down to forms that post and links that get. It's not difficult to make all that work and then apply JS on top to intercept things. But it's getting harder to do that as we embrace frameworks we don't understand that do it all for us.
- mistercow 13y agoWhen you put JS on top of it to intercept, you are creating two paths. That may be easier than a totally separate code base, or maybe not (I have seen compelling arguments either way), but it still boils down to a different code path in terms of potential for different bugs, different cross-browser issues, and more testing. In addition, developing that way (instead of with JS in mind) also has a cost which in the end means that you are sacrificing resources developing for those 2% instead of the other 98%. Regardless of whether that approach leads to an easier situation in terms of maintaining JS vs. non-JS, it certainly does not lead to an easier situation than ignoring non-JS altogether.