Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

JavaScript : What is it really? AND Some new features in ES6

289 Aufrufe

Veröffentlicht am

I built this presentation for Prime ICT Meetup that happened in Kathmandu on June, 2016.
Here, I talk about What JavaScript really is and about some new features introduced in ES6.
The first part of the slides are taken/influenced from David Crockford's talk called "Really. JavaScript" : https://www.youtube.com/watch?v=lTWGoL1N-Kc

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

JavaScript : What is it really? AND Some new features in ES6

  1. 1. JS UHMMM..
  2. 2. JAVASCRIPT
  3. 3. @AayushShrestha Co-Founder - LISHN Head of Experience Design & Architecture -Viveka Health fb.me/ShresthaAayush aayushonweb@gmail.com
  4. 4. • What is JavaScript, really? • What’s all the fuss about? • ES6 / ES2015 / ECMAScript 2015
  5. 5. The world’s most popular language.
  6. 6. POPULARITY STACK OVERFLOW VS GITHUB
  7. 7. STACK OVERFLOW TAG NAME TRENDS
  8. 8. RANKED BY # OF PROGRAMMING JOBS
  9. 9. The world’s most unpopular language.
  10. 10. BRENDEN EICH JAVA SCHEME SELF LiveScript JavaScript ECMAScript
  11. 11. The web was a disappointment as an application delivery system in 2000s. - Page replacement inefficient. - Java Applets FAILED! - Nobody believed in JavaScript.
  12. 12. The web is dead. -People of early 2000
  13. 13. Microsoft abandoned web.
  14. 14. AJAX -JavaScript gets a second chance.
  15. 15. PLENTY OF REASONS TO HATE JAVASCRIPT • It has bad parts. REALLY REALLY BAD PARTS. • Slow execution. • DOM is a headache. • It’s not C, C#, Java, Python, Ruby…. • It does not go away.
  16. 16. JavaScript has good parts. That’s why you like it.
  17. 17. JavaScript is a functional language with dynamic objects and familiar syntax.
  18. 18. Scales from beginners to masters.
  19. 19. Very effective in an event- driven application model.
  20. 20. Programs can be significantly smaller compared to equivalent program in other languages.
  21. 21. Always evolving and proving people wrong.
  22. 22. JAVASCRIPT IS EVERYWHERE
  23. 23. JAVASCRIPT IS EVERYWHERE • Browsers • Applications • OS • Databases • Mobile • Electronics • Servers
  24. 24. — Jeff Atwood (2007) Any application that can be written in javascript, will eventually be written in javascript ” “ ATWOOD’S LAW
  25. 25. Can JavaScript become a better language? YES!!
  26. 26. The most effective way is to remove the bad parts. DUH!!
  27. 27. Write code that not only works, but looks correct too. JS will become better if we use it better.
  28. 28. ES2015 Faster. easier. Better.
  29. 29. MAIN GOALS OF ES6 • Fix (some of) ES5 issues • Backwards Compatibility • Modern Syntax • Better suited for big applications • New features
  30. 30. - Transpiler - Converts future JS to working JS
  31. 31. Some ES6/ES2015 Features LET’S WRITE SOME ES6! :)
  32. 32. LET
  33. 33. CONST
  34. 34. TEMPLATE STRINGS
  35. 35. CLASSES
  36. 36. CLASSES : INHERITANCE
  37. 37. CLASSES : GETTER/SETTER
  38. 38. ARROW FUNCTIONS
  39. 39. DESTRUCTURING
  40. 40. DESTRUCTURING
  41. 41. MORE COOL STUFFS • Modules • Promises • Symbols • Generators • Map/Set Weakmap/Weakset • More libraries and Core functions extension
  42. 42. REFERENCES • David Crockford’s talk “Really. JavaScript” • http://es6-features.org/
  43. 43. @AayushShrestha QUESTIONS? fb.me/ShresthaAayush aayushonweb@gmail.com

×