A PAST, PRESENT AND FUTURE BETTING TIP · Don’t worry about doing things perfectly. If you do,...

Post on 17-Jun-2020

0 views 0 download

transcript

Prototyping the futureA PAST, PRESENT AND FUTURE BETTING TIP

Puiu Ionut

• @ipuiu

• @puiuionut

• @puiu_Ionut

• @iPuiu

Computer EngineerDiplomat in Communication TechniquesMicrosoft Certified Specialist

Web DeveloperAgile EvangelistTech Enthusiast

JavaScriptJavaScript

HTML 5HTML 5

CSSCSS

AndroidAndroid

PHPPHP Mongo DBMongo DB

BashBash

C#C#

Angular JSAngular JS

Node JSNode JS SASSSASS

TestingTesting

SQLSQL

JavaJava

RubyRuby C++C++

RESTREST

HAMLHAML

React JSReact JS

.NET.NET

The Past

The Present

The Future Q&A

JavaScript

The PastCHAPTER I

”PERFECT IS THE ENEMY OF GOOD.

VOLTAIRE

Don’t worry about doing things perfectly. If you do, you’ll never get things done.

Aristotel, Confucius and others suggested to take the golden middle way and avoid extremes.

Law of the vital few(aka Pareto principle, 80/20 rule)

It commonly takes 20% of the full time to complete 80% of a task

while to complete the last 20% of a task takes 80% of the effort.

Achieving absolute perfection may be impossible and so, as increasing effort results in diminishing returns, further

activity becomes increasingly inefficient.

”The man who moves a mountain begins by

carrying away small stones.

CONFUCIUS

Incremental improvements might lead you to perfection without losing time.

• Mercury (Atlas Rockets)

• Gemini (Titan Rockets)

• Apollo (Saturn Rockets)

• Skylab (Saturn Rockets)

• Apollo-Soyuz

• Shuttle-Mir

• Project Constellation

• SpaceShuttle

• International Space Station

Rocket Science

BABY STEPS FTW

ECMAScript 1

1997

First version released.

ECMAScript 2

1998

ISO/IEC 16262 Alignment

ECMAScript 3

1999

Added RegExp, try...catch, etc

ECMAScript 4

2005-2007

Abandoned due to political

differences.

ECMAScript 5

2009

Adds „strict mode”,

getters&setters, etc

ECMAScript 2015

2015

Classes, Modules,

Promises, etc

ECMAScript 2016

2016

Exponential operator, Array

include.

ECMAScript 2017

2017

Concurrency, async, await

ECMAScript 2018

2018

Async iteration, new RegExp features, etc.

ES.Next

Brief History of JavaScriptOr how to baby step in web domination.

Brendan Eich wrote Mocha in 10 days in May 1995.

Mocha becomed LiveScript later. In December 1995 the language was renamed again to it’s final name: JavaScript

The PresentCHAPTER II

From helperTo master.

JavaScript become from a ‘helper’ language used to do menus and annoying popups to a language in which you write almost all your app.

Annoying popups

Amazing games

Ease of development with frameworks.JS offers the fastest web experience with SPA.

One language to rule them all.You can build a entire web application with JS.

*Not the only web app solution.

The FutureCHAPTER III

ES.NEXT (Proposals)

• A new primitive that provides a way to represent whole numbers larger than 253

• 2n**53n === JavaSccript M(a)eth (lol)BigInt

• import() can be used from scripts, not just from modules.• Dynamically load parts of a JavaScript application at runtime (because of

factors only known at runtime ... Ex. User Language);import()

• #privateClass field declaration

ES.NEXT (Proposals)

• @defineElement(‘potato’)• @bound • @observed

Decorators

• Simillar to RxJS implementation of it.Observable

• sqrt(64) becomes 64 |> sqrt.• let result = „hello” |> addQuote |> capitalize |> exclaim;

The Pipeline Operator

I don’t know the future, but sinceI don’t see one without internet...

Bet on JavaScript.

That’s my tip for past, present and future betting.

Questions ?

The End.THANKS FOR ATTENDING !