DEV Community

Discussion on: Go or Python and why?

Collapse
 
nqthqn profile image
nqthqn

I wrote Django applications for 5 years and recently started learning Go (writing command line applications, web servers and going through the Go Programming language book)

Learn Go first. It's fast and type safe and the conversation with the compiler is more clear. Python has more cute abstractions. No one should write a large application in a programming language that is not type safe. If you aren't writing a large application and just want to hack together some scripts — go with Python. As soon as you need more than ~100 lines, you probably should switch to Go.

Collapse
 
nqthqn profile image
nqthqn

Take all that with a grain of salt. EVERYTHING has tradeoffs — just make a list of them based on what you want to do and then make your selection.