September 21, 2021

Should I continue to focus on TypeScript or start learning Python too?

Should I continue to focus on TypeScript or start learning Python too?

I know my main question is highly subjective but I'm curious on thoughts about how learning both languages versus one would affect things like:

  • speed of language mastery
  • whether syntax differences would affect my ability to remember software design patterns
  • long-term interest in software development and it feeling fresh
  • the burden of staying up-to-date with two ecosystems
  • the risk of having a narrow-minded perspective if only learning one language

I'm a full-stack web engineer and I've been doing JavaScript and TypeScript for around 5 years. I started taking an interest in Python since I was introduced to Django and was able to build simple web apps a lot more easily than with the JS frameworks at the time. I focus on front-end work, but I enjoy using Django to create form-based apps, or FastAPI to create simple APIs for my SPAs.

Bearing in mind the similarities of JS/TS and Python (e.g. choice of static or dynamic typing) and the differences (e.g. strong vs weak typing), plus the choice of frameworks and range of uses for each language, should I put all my effort into becoming an amazing JS+TS developer or will I get something worthwhile out of adding Python to the mix?

submitted by /u/KemanoThief
[link] [comments]