2 ms·
If you already know Python don’t go with something like JavaScript: The Definitive Guide and just go for some basic tutorials. JavaScript is a tiny language wit
by johntdaly 5y ago
If you already know Python don’t go with something like JavaScript: The Definitive Guide and just go for some basic tutorials. JavaScript is a tiny language with nearly any base library at all. You should be able to get learn the basic syntax quickly. Stay away from TypeScript unless you come from Java when learning. You can look at it later once you’ve got your own bearing.
I would also recommend Next.js as frontend framework. It is React and WebPack based, you can get started quickly and what you learn from it can be applied to other projects.
For the backend just install Node.js (you will need it anyway) maybe look for NVM if you are on mac or linux or nvm-windows if you are on windows.
Once you feel somewhat comfortable with with the syntax you can take a look at eloquent javascript. The book is online, if you like it you can support the author by buying the book but you don’t have to.
Small tip, if you know programming already books like “The Definitive Guide” are not good for learning something new. Giant tombs like that are interesting when you are a total noob, at any other time they will just slow you down when you are trying to get into a new language. Some of those tombs can be interesting once you get well acquainted with a language and might need to look up edge cases but you are not there yet.
Hope this helps and have fun.
https://nextjs.org/ https://nextjs.org/
https://developer.mozilla.org/en-US/docs/Web/JavaScript https://developer.mozilla.org/en-US/docs/Web/JavaScript
https://eloquentjavascript.net/ https://eloquentjavascript.net/
- emehex 5y agoThat Mozilla resource looks great! Thanks for the tip. A question about Node: It seems like many books, tutorials, libs all use different versions. Do I need 12, 14, 16? RE TypeScript: I'm interested because it looks a lot like Swift. Bad reason?
- johntdaly 5y agoGo with 14, it is the current LTS. If you use NVM (node version manager) you can install multiple versions of node concurrently and switch between them. You might need that if you are fallowing a tutorial that uses an oder Node version. I would recommend ignoring 16 until it becomes the LTS version (not worth it).