Hello everyone, Aliaksandr Valialkin[1], a well-known foreign open source expert, recently wrote an article[2] criticizing iterators in the soon-to-be-released Go1.23. This article has caused a huge discussion in the community.

There are both approval and disapproval for the new feature of iterators. In any case, Go has a new complexity. Today I will share his views on the current situation of Go after rsc came to power and his dissatisfaction with iterators.

The original author of this article, Aliaksandr Valialkin, is the developer of vm, quicktemplate, fastjson, fasthttp, fastcache, easyproto, etc. He is also a senior Go engineer.

The Go programming language is widely known for its ease of use. Thanks to its carefully designed syntax, features, and tools, Go makes it possible to write programs of arbitrary complexity that are easy to read and maintain (see GitHub for details).

图片

However, some software engineers call Go "boring" and "outdated" because it lacks features like: monads, option types, LINQ, borrow checkers, zero-overhead abstractions, aspect-oriented programming, inheritance, function and operator overloading, etc.

Although