News for hackers. Stuff that matters.
Re:A Look at Crystal, the Programming Language for Humans by unrealhoang on Friday May 05, 2023 @07:29AM (#35827873)
> 500 lines of Go commonly translate to 50 lines of Crystal

This is a vast exaggeration. And even if I grant it, it's still thousand of loc that you don't have to write because of available libraries.

Re:A Look at Crystal, the Programming Language for Humans by DennisP on Friday May 05, 2023 @08:50AM (#35828557)
Although they do try to make it easy to use C libraries:

https://crystal-lang.org/reference/1.8/syntax_and_semantics/...

Re:A Look at Crystal, the Programming Language for Humans by antifa on Friday May 05, 2023 @12:33PM (#35831665)
IMO crystal's value is that I can do things normally associated with golang without the horrors of actually dealing with golang's absence of a good type system and other quirks like error handling.