Re:Virtual DOM is pure overhead (2018)
by DonHopkins on Sunday May 19, 2019 @05:43AM
(#19952410)
You don't want to start a religious war between the people who believe zero is special, and the ones who believe it should throw an error if you pass a string, and the people who believe it should attempt to convert the string to an integer, and the people who believe you should either round or truncate when the parameter is a floating point number, and the people who disagree about which direction to round, and the people who can't agree whether you should truncate towards zero or negative infinity.
[ Parent
| on HN ]
> should either round or truncate when the parameter is a floating point number
Isn't the parameter always floating point in Javascript? (which does mean a package like isOdd will have to incorporate some level of mysticism...)
Re:Virtual DOM is pure overhead (2018)
by marcosdumay on Sunday May 19, 2019 @11:31AM
(#19953758)
Let the fight begin! It goes well with some popcorn.
I can understand how fundamental education teachers don't grasp modern Algebrism and believe that Math is formed by fundamental, sacred definitions. But programmers ought to know better.