News for hackers. Stuff that matters.
Re:How to start a Go project in 2023 by rochak on Wednesday May 24, 2023 @04:51AM (#36055564)
I'm tired of people saying that there is no magic. How are you saying that? Do you any basis? Named returns, compiler not ensuring that non pointer receivers do not modify a property, bare bones dependency management, laughable implementation of errors, the list goes on...
Re:How to start a Go project in 2023 by wizhi on Wednesday May 24, 2023 @12:44PM (#36060715)
How is the implementation of errors "laughable"? An error is just another result of calling a function. Seems reasonable enough.
Re:How to start a Go project in 2023 by Mawr on Saturday May 27, 2023 @10:11PM (#36100484)
None of that qualifies as magic. Indicators of magic features are implicitness, action-at-a-distance, high complexity.