3 ms·
I agree with everything you said, except that I'm not sure that JSON.parse all over the place is going to add any significant unreadability. I think most likely
by bryanrasmussen 7y ago
I agree with everything you said, except that I'm not sure that JSON.parse all over the place is going to add any significant unreadability. I think most likely it would always look the same and be just as readable as object literals once the initial getting used to it period would be over with. Hell, I think it's a lot more readable than the use of !! which I consider an abomination, but everyone keeps doing that for developer speed = productivity purposes.
- saagarjha 7y agoIt might be more difficult to format a string literal.
- bryanrasmussen 7y agoI'm supposing template literals take care of that. actually there might be advantages.