|
Do I need to understand something so complex in order to make my JSapplication perform it's best?
Javascript before ES2015 was much more complicated. There are new features
that either exist or are coming that make Javascript work in a more
"visibly procedural" fashion. Here's an example of the "await" keyword:
var customer = await getCustomer();
var invoices = await getInvoices(customer.id);
var tickets = await getTickets(customer.id);
The above code looks very normal. To accomplish this in traditional async
fashion would be more busy and harder to understand.
Aaron Bartell
litmis.com - Services for open source on IBM i
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.