Borgo is a new programming language that compiles to Go, integrating features like algebraic data types, structs, and error handling. It offers unique functionalities such as tuples, multiline strings, and automatic type inference for collections. Control flow mirrors Go’s iteration concepts but with added support for (index, element) pairs. Borgo also simplifies method declarations and interfaces by allowing implicit receiver specification and duck typing, respectively. Error handling in Borgo incorporates the ? operator for Result types. The language promotes zero values over null references and emphasizes explicit initialization. Concurrency features include goroutines, channels, and select {} statements. Borgo strives for full compatibility with Go packages.
https://borgo-lang.github.io/