Need advice about which tool to choose?Ask the StackShare community!
1. Type safety and inferred types
Go is type safe by default, which allows you to right more reliable code and have better developer tooling, plus with the :=
operator, you can initialize a variable without having to define its type because it automatically gets its type from the initial value.
2. Performance
There isn't much to be said here, but on most counts go beats both Python and Node.js on performance.
3. Documentation
I'm not talking about the Go language itself, although it does have good docs. I'm talking about Go's auto generated documentation tool, which allows people to document their packages easily and works amazingly with Go's type system.
4. Compiles to binary
If you are making a local program for somebody and they don't want to download the Go compiler, you can make Go into a native binary.
5. Built for the web
Go has built in Http libraries to rival Express.js and has a HTML/Text templating system.
6. Great Concurrency
Go utilizes Goroutines to help developers utilize multiple threads easily.
Conclusion
Go is an excellent choice for any system code, especially http networking and web backends.
Node continues to be dominant force in the world of web apps, with it's signature async first non-blocking IO, and frankly mind bending speeds. PHP and Python are formable tools, I chose Node for the simplicity of Express as a good and performant server side API gateway platform, that works well with Angular.
Both PHP and Python are free but when it comes to web development PHP wins for sure. There is no doubt that Python is a powerful language but it is not optimal for web. PHP has issues... of course; but so does any other language.
Another reason I chose PHP is for community - it has one of the most resourceful communities from the internet and for a good reason: it evolved with the language itself.
The fact that OOP evolved so much in PHP makes me keep it for good :)
Pros of Deno
- Typescript12
- Secure10
- Open source8
- Javascript5
- Formatting5
- Testing5
- Great std library5
- Easy Config2
- ESM2
Pros of Python
- Great libraries1.1K
- Readable code921
- Beautiful code814
- Rapid development763
- Large community668
- Open source414
- Elegant375
- Great community264
- Object oriented257
- Dynamic typing206
- Great standard library68
- Very fast51
- Functional programming47
- Scientific computing33
- Easy to learn31
- Great documentation29
- Matlab alternative25
- Productivity22
- Easy to read21
- Simple is better than complex19
- It's the way I think17
- Imperative17
- Very programmer and non-programmer friendly15
- Free14
- Powerful14
- Powerfull language13
- Fast and simple13
- Scripting12
- Machine learning support9
- Explicit is better than implicit9
- Ease of development8
- Unlimited power8
- Import antigravity7
- Clear and easy and powerfull7
- Print "life is short, use python"6
- It's lean and fun to code6
- Great for tooling5
- Fast coding and good for competitions5
- There should be one-- and preferably only one --obvious5
- Python has great libraries for data processing5
- High Documented language5
- I love snakes5
- Although practicality beats purity5
- Flat is better than nested5
- Readability counts4
- Multiple Inheritence3
- Complex is better than complicated3
- Lists, tuples, dictionaries3
- Plotting3
- Rapid Prototyping3
- Great for analytics3
- Socially engaged community3
- Beautiful is better than ugly3
- CG industry needs3
- No cruft2
- Easy to learn and use2
- List comprehensions2
- Generators2
- Special cases aren't special enough to break the rules2
- Now is better than never2
- If the implementation is hard to explain, it's a bad id2
- If the implementation is easy to explain, it may be a g2
- Simple and easy to learn2
- Import this2
- Powerful language for AI1
- Because of Netflix1
- Pip install everything1
- Web scraping1
- Better outcome1
- Batteries included1
- Easy to setup and run smooth1
- It is Very easy , simple and will you be love programmi1
- Only one way to do it1
- A-to-Z1
- Many types of collections1
- Flexible and easy1
- Pro0
- Powerful0
Sign up to add or upvote prosMake informed product decisions
Cons of Deno
- Still in early development2
- Bad Rust plugin support1
Cons of Python
- Still divided between python 2 and python 349
- Poor syntax for anonymous functions26
- Performance impact26
- GIL18
- Package management is a mess18
- Too imperative-oriented13
- Hard to understand12
- Dynamic typing10
- Very slow8
- Not everything is expression8
- Indentations matter a lot7
- Explicit self parameter in methods7
- Poor DSL capabilities6
- No anonymous functions6
- Requires C functions for dynamic modules6
- Hard to obfuscate5
- The "lisp style" whitespaces5
- The benevolent-dictator-for-life quit4
- Lack of Syntax Sugar leads to "the pyramid of doom"4
- Threading4
- Fake object-oriented programming4
- Incredibly slow4
- Not suitable for autocomplete3
- Official documentation is unclear.3
- Circular import2
- Training wheels (forced indentation)1
- Meta classes1