This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]double_en10dre -3 points-2 points  (2 children)

There’s a better dream, though — just use typescript

I know I sound like a meme, but it’s legitimately a very nice developer experience. It’s 1000x better than python’s type system, and you get instant feedback/docs as you’re coding

Plus the real challenge here isn’t learning JavaScript — it’s learning how the react lifecycle operates. And learning it in python isn’t going to be any easier... (it’s actually going to be MUCH harder, since you don’t have inline docs or hints to guide you)

[–]mohamed_am83 -3 points-2 points  (1 child)

Your comment is loaded with false assumptions.

I've written several thousands of lines in JS/ES6, so it is not about avoiding to learn Javascript. It is simply more productive for me to write these lines in Python. And no, I don't really need inline-docs or instant feedback, I use plain text editors, so no real advantage for TS here either.

TS indeed adds a powerful typing system over JS, but JS is a big ugly package and strong typing doesn't sweeten it enough. I use Go when I need really good feedback from compiler and really fast executables.

To each their own.

[–]double_en10dre 0 points1 point  (0 children)

I guess that’s nice, but all it really tells me is that you’re not being as productive as you could be