3 ms·
I generally agree. I don’t think Python is even “easy to start with” these days. I think it got that reputation in the early 00s, but since then the competition
by throwaway894345 5y ago
I generally agree. I don’t think Python is even “easy to start with” these days. I think it got that reputation in the early 00s, but since then the competition has surpassed it.
Languages like Go are arguably easier to use and getting a basic project up and running and sharing it with others is far easier than with Python. If you really care about a scripting workflow, it’s as easy to do ‘go run main.go’ as it is to do ‘python main.py’ for projects without dependencies and for projects with dependencies it’s a lot easier to just do ‘go run main.go’ than configuring a venv and installing your dependencies and then running ‘python main.py’.
Nit: Ocaml is about on par with Go. Some programs will be faster and others will be slower, but OCaml is very much in the same performance tier as Go, Java, and C# (benchmark game prohibits idiomatic Go code for certain benchmarks so it appears artificially slow).
- igouy 5y agoPlease show that Go is being made to appear artificially slow, as you claim.
- throwaway894345 5y agoIt’s not allowed to preallocate memory in certain benchmarks, so it has to do allocations in a tight loop. Go’s allocations are more expensive by design because idiomatic Go doesn’t create as much garbage as other GC languages. If you’re here for a language slap fight, you’ll have to find someone else to talk to. EDIT: good grief, the overwhelming majority of your recent comments are “debates” about the benchmark game. Do you have an alert for references to this phrase or something?
- igouy 5y ago
- throwaway894345 5y agoWell tossaway’s account was created 66 days ago so clearly not, and anyway I’m not going to be baited into your holy war.
- igouy 5y ago> … prohibits idiomatic Go… No it does not.
- throwaway894345 5y agoPer the sibling thread, I think you’re mistaken, but that’s okay. It’s a widely written about topic and anyone can read up on it. We don’t need to hash it out here.
- igouy 5y ago> We don’t need to hash it out here. We don't: as you have shown absolutely nothing to back up your claim, it can be flatly rejected.