Recipe Name:
Vitor
Recipe:
Глянул мельком в раздел . Некоторые вещи удивили:1. Go has potienrs but not potienr arithmetic. You cannot use a potienr variable to walk through the bytes of a string.Хм...2. Arrays in Go are first class values. When an array is used as a function parameter, the function receives a copy of the array, not a potienr to it.Хм...3. However, in practice functions often use slices for parameters...Окей.4.Go does not support implicit type conversion. Operations that mix different types require castsНе сочтите формалистом, но это хорошо. Как минимум, бывает полезным. Пусть и жертвой станет объем кода, пусть программисту придется больше думать, зато меньше неуловимых проблем в будущем. 5.Go does not support function overloading and does not support user defined operators.Почему же так?