3 ms·
Python translates really well into Go. You could probably learn both at the same time
by candiddevmike 3y ago
Python translates really well into Go. You could probably learn both at the same time
- diarrhea 3y agoI’d call that a bit of a stretch. Python can have full blown OOP, even multiple inheritance. It can be very functional (decorators are used a lot). It’s interpreted, not compiled. It has tons of syntax sugar. Properties, context managers are very Pythonic. Async also works entirely differently. Multi threading with channels is not really a thing in Python. Neither are interfaces (abstract base classes come close though). Python can have impressively expressive type systems nowadays, with mypy and typing. Generics, paramspecs and whatnot. Go is much more rigid in that regard.