#Tutorials that involve coding something

6 messages · Page 1 of 1 (latest)

calm swallow
#

I am familiar with JavaScript and would like to learn TypeScript. I searched for tutorial on Reddit and most folks recommends the official Handbook (https://www.typescriptlang.org/docs/handbook/intro.html). I skim through it and it looks like it doesn't ask the reader to write code. I am surprised. How is it possible that the official and recommended way to learn TS is a theoretical tutorial that doesn't ask me to code?

Is there a practical tutorial that teaches TS while building something small? I want lo learn by coding and not staring at a snippet of 3 lines of code.

magic knot
#

Otherwise if you really wanna practise just do it.

You are not going to learn typescript just for the sake of it ? Are you ?

You probably want to build something, so maybe you just want to go straight to it, pick the framework using typescript and start experimenting.

unborn moon
#

TS is a bit different than most languages, in that it's just JS + types. Removing all the type annotations in TS, and you get the JS.
So really if you already know JS, learning TS is mostly just "how do I annotate my JS code."

calm swallow
#

Thanks for the link and the advice!

#

I like to learn a language by re-implementing a simple static site generator. I run a command in the terminal and it converts .md files to .html files on every folder (recursively)