Earlier quoted context omitted.
Last week i implemented few program in Go and Rust, Fable wrote rust without any bugs, but go was full of concurrency bugs...
It seems like developers who champion Rust have a knack for making up a load of nonsense about other languages. Claude Fable knows exactly how to handle things in Go; the most recommended concurrency patterns are mastered by the likes of Sonnet, Opus, or Fable, and most of the concurrency "errors" cited in the Uber article are the sort of mistakes a Go beginner would make, some bugs are fixed on major go version too…
Go is an ideal language for AI-assisted software engineering
581–586 of 586 posts
Re: Go is an ideal language for AI-assisted software engineering
#582Re: Go is an ideal language for AI-assisted software engineering
#583Earlier quoted context omitted.
How about Swift and Erlang? Why are these always left out of comparisons?
Haven’t you heard? Swift is the first-ever corporate programming language, and we on HN can’t take its community efforts seriously to the extent of considering its potential value in general-purpose software. /s
Re: Go is an ideal language for AI-assisted software engineering
#584Earlier quoted context omitted.
I'd strongly disagree, Go panic mechanism (but not just in the runtime sense but also in language feature sense) is quite distinct from what we typically understand "exceptions" to mean (which - esp. depending on language - are not at all just about handling programmer error). I think this is a decent article on exactly this: https://medium.com/@AlexanderObregon/why-go-panics-are-diffe... But just imagine how excepti…
> I think this is a decent article Debatable. It correctly identifies that an exception is data structure (object), but claims that Go doesn't create one, even though it clearly does as it will plain print the contents of that "object" if you don't catch the exception. I will grant you that it doesn't pass the exception by value, which is different than in some other languages, but that's an implementation detail. Fu…
> Javascript also uses basic stack unwinding. Would you also say Javascript doesn't have exceptions or exception handlers?
No, I wouldn't, so re: that - fair point;
For me, Go's error+panic lack of propagation + lack of exception type hierarchy are what stick out and seem vastly different to "typical"; and this does impact development, especially propagation mechanism / lack thereof. But I also haven't written lots of Go code, and could be possibly lacking experience, and am just looking from "typical" language lens (Java (not JS), Python, from my PoV)?
Re: Go is an ideal language for AI-assisted software engineering
#585Re: Go is an ideal language for AI-assisted software engineering
#586> By enforcing a single, standardized format via the built-in gofmt tool I'd read about this many times before I started with Go so I was particularly disappointed to learn that it was a lie. The most important task of a code formatter is to break long lines; it doesn't do it. It doesn't even have an option to do it!
Because long lines aren't against the style guide for some reason.