this post was submitted on 02 Oct 2023
10 points (100.0% liked)

Programming

13376 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

Can anyone recommend a good introduction/book to TypeScript for people who already know some programming (e.g. Java, Python) but have no experience with JavaScript?

The only texts I've found so far assume prior JS knowledge (like The TypeScript Handbook https://www.typescriptlang.org/docs/handbook/intro.html) or seem rather unstructured to me (e.g. dropping a lot of different ways and shortcuts to do things without explaining concepts or making no clear distinction between basics/best practices and advanced use cases/edge cases).

Ideally it would explain core concepts (like functions, types, classes, ...) first, with their most common use cases. Later chapter would do deep dives into different topics.

Edit: when I'm talking about TypeScript I'm talking about the whole language, not just the "modifications" it makes to JavaScript.

you are viewing a single comment's thread
view the rest of the comments
[–] andros@hostux.social 3 points 1 year ago (7 children)

@homoludens I don‘t think is a good idea. Every TypeScript developer ought know deeply JavaScript. For example, if you work with Django you ought programming with Python.

[–] homoludens@feddit.de 1 points 1 year ago (6 children)

Yes, that I need to learn some amount of Javascript is a given. But I would rather not learn some JS aspects that I won't need anyway, because TS prevents me from using them or has other best practices.

[–] andros@hostux.social 0 points 1 year ago (1 children)
[–] homoludens@feddit.de 1 points 1 year ago

Please see my other replies.

load more comments (4 replies)
load more comments (4 replies)