Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Ruby but a bit faster but maybe not because it's not fully done yet
It's okay I guess -
@AlmondSauce To be fair you can say the same thing about pretty much all hip, modern languages except Rust. They're all just "another cool language"
-
@12bitfloat I'd agree, at least for most of them. Some I think fulfil a genuine need or are incredibly useful - aside from Rust, Kotlin really came through as a modern, general purpose language for the JVM based on genuine developer need, and before Elm nothing sane really existed to compile decent functional stuff to Javascript.
Others however, such as Groovy, Swift, Crystal, AntLang etc. - I really don't see there's enough argument there for a totally new language. -
Bubbles66124y@iiii not to say that it doesn’t have flaws, it definitely does, but it vibes with me in many ways
-
Bubbles66124y@iiii yeah I can understand that, returning multiple values is weird. Although I know it’s an unpopular opinion but I don’t mind the error handling.
-
@Bubbles Go really has too many (deliberate) design flaws in imo. They focused too much on making it simple that they omitted many features of a proper programming language. And the things they do have I also don't like/disagree with. There's just too much opinionated, arbitrary magic going on
-
@Bubbles When it comes to programming languages there will always be a base level of complexity that you can't get around because it's inherent to the reality of programming itself and above that you have a complexity sweetspot.
Make it too complex and it becomes an unintuitive pain to use, that's C++.
Make it too simple and the inherent complexity of programming forces you into a bunch of ad-hoc boilerplate and code to statisfy it, ironically making the code more complex than if the language weren't too simple in the first place. That's C and that's also where I see Go -
Bubbles66124y@12bitfloat what features do you think they left out that they should put in, if you don’t mind me asking
Also I understand where you’re coming from -
@Bubbles Generics, user type range compatibility (using an Iterator interface), algebraic data types (to fix the semantic fallacy of returning a value and an error), some form of macros (preferably proc macros), visibility modifiers instead of naming convention magic, type safe enums (which force exhaustive matches), some form of constructors (because the zero type idiom introduces hidden invalid states -- always make invalid state unrepresentable), general attributes instead of weird field metadata strings, and well... Rust's ownership and lifetime model would be great too :P
Do not that I'm not a massive expert in Go as I've only shortly tried it out back when I was searching for a new language so this is just me looking in from the outside -
Bubbles66124y@12bitfloat If it makes you feel better, theyre adding generics. https://blog.golang.org/generics-ne...
It is still kind of a young language so I forgive them for not having some features.
What do you think about the Crystal language?
It looks kinda cool, but I'm somewhat worried about the lack of Multithreading and the beta status so far.
question