|
|
|
|
|
by valenterry
1969 days ago
|
|
As a beginner, you don't really have to use Scala's implicits or "infix/dot syntax". Just like how you don't have to use type annotations, generators, decorators, context managers in python. Same for libraries. At some point you will stumble upon a library that forces you to understand them or you even write one yourself, but that is not something that stops you in the beginning. |
|
Go got this right. If you want to read code, contribute to a large code base, folks will be using the features of the language, including the weird ones. Go has kept things very simple (relatively) in terms of core language. Some things were beyond basic (error handling? no generics?) But boy did it make it easier for contribute and understand code.
def Hi() = "hi" Hi() Hi
Yes, those two variants both work?