|
Henrik, open up a console in Chrome and type 0.1 + 0.2 and see what Javascript thinks the answer is 😊 So already Javascript cannot do the basic maths you describe, due it only supporting floating point numbers, without having to implement some fixed point maths library. Try any kind of date manipulation and you'll find yourself in a similar mess without resorting to moment.js or some other helper library.Most BL is ADD, SUB, MULT or DIV anyway.
On Sun, Mar 18, 2018 at 10:26 PM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:
Nathan you are wrong, your statement should be await ...
While I appreciate the syntax improvement offered by asynchronous functions
and await blocks, that wasn't my point. That syntax is only available
recently. And callbacks are still occurring under the covers. My point was
that the event-loop architecture is poorly suited for the implementation of
data validation, business rules, and other functional requirements of
business applications.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7C623128ab14e44486881708d58db36766%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636570724026601425&sdata=N0bW09q4hpadDN5THsbgyY6bCLDTuZKdGd38g3Sjcew%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7C623128ab14e44486881708d58db36766%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636570724026601425&sdata=CdTayS8R%2FhhF%2FhkG%2BqD2ZzqGyKoBn3VtnfXnnkTnKSo%3D&reserved=0.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.