dwyl / dwyl/learn-typescript

Why? What? Who? How?

Open
#1 3 comments 0 reactions 1 assignee Claimed by @nelsonic View on GitHub
enhancement good first issue help wanted priority-2 T1d
Dominant language
TypeScript
Stars
13
Forks
0
Avg merge
22h 30m
Merged PRs (30d)
1

Description

# Why?

We have been writing JavaScript since [2005](https://www.amazon.co.uk/DOM-Scripting-Design-JavaScript-Document/dp/1590595335).
Along the way we have tried several [Compile-to-JS languages](https://github.com/jashkenas/coffeescript/wiki/List-of-languages-that-compile-to-JS).
Most of them remain niche and

If you are a web application developer, and _don't_ already know `Typescript`, I recommend watching Richard Feldman's ReactiveConf 2019 Talk: "Predicting the Future of the Web"
[![image](https://user-images.githubusercontent.com/194400/80911012-77214280-8d2b-11ea-9aa9-a9f9de9fcc70.png)](https://youtu.be/okrB3aJtUaw)
https://youtu.be/okrB3aJtUaw

> "_I think the next big thing on the web will be `Typescript`. I don't think `Elm` will take over the world, I think `Typescript` will._" ~ Richard Feldman 2019

Baring in mind that Richard has a _significant_ investment of time/effort in `Elm` https://www.manning.com/books/elm-in-action and NoRedInk (his employer) are the single biggest `Elm` user, he sees the trends as "writing on the wall"; `Typescript` will take over.
Read: https://blog.noredink.com/post/190753809533/what-would-you-pay-for-type-checking

# What?

Summarise the intro on https://www.typescriptlang.org

![image](https://user-images.githubusercontent.com/194400/80911087-ebf47c80-8d2b-11ea-9424-f2e006c5eb53.png)

The main benefits are:
+ [ ] Type safety
+ [ ] Gradual/incremental adoption
+ [ ] Superset of JS so all JS code works.
+ [ ] add more as you summarise what you learn ...

# Who?

`Typescript` is relevant to _anyone_ writing `JavaScript` in 2020 who wants to sharpen their skills in preparation for a future where `Typescript` is _ubiquitous_.

# How?

With this repo we want a hybrid of https://github.com/dwyl/learn-elixir with a tour of the benefits followed by the syntax. Then we want to build a sample (basic) project to show it in action including setup, compilation, testing and deployment.

## Relevant Reading

+ [ ] GitHub: https://github.com/microsoft/TypeScript/#readme
+ [ ] https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html
+ [ ] Playground: https://www.typescriptlang.org/play
+ [x] Slack JS to TS: https://slack.engineering/typescript-at-slack-a81307fa288d

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.