Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's a language designed by people who's favourite language is not even pronounceable.

Did you think that such a group of people, who place their love for the language above practical things like readability, would come up with a new language that cared about the user-experience[1]?

As we see all the time WRT to programming languages, readability is more important than the more abstract stuff.

> I hear all the arguments about CVEs and wonder if rust will reduce the number of these problems simply by disabling the programmers that create them.

That sounds like a different way of saying "the global number of CVEs will be reduced by reducing the number of applications written". After all, if you "disable" the programmers who write systems programs, they aren't going to get magically replaced by programmers who don't write systems programs.

You're just gonna have fewer programmers.

[1] A language is an interface between a user and their problem. If this is not highest priority of a language design, the language may never take off in any meaningful sense. See Monads.



I personally don't like Rust (I like to have a garbage collector for what I do), but I don't think it's a hard to read language.

Readability is an incredibly subjective thing. For example, APL might look like an absolute mess to most people but to the people who know it, it's incredibly easy to read. All "readability" means in this context is that it's familiar to you.

In my opinion, the only truly hard to read languages are languages that require you to keep large amounts of context in memory while reading a specific part of the codebase, be it due to lack of support for abstractions for proper encapsulation, messy overloading, insane inheritance hierarchies, or something else.

EDIT: Readability also requires you have a codebase that's well written, and even that's subjective.


> For example, APL might look like an absolute mess to most people but to the people who know it, it's incredibly easy to read.

But if we use that as a bar ("you have to know it"), then all languages are equally readable.

Pretty much all the popular languages converge on similar syntax an/or grammar.

You can say that it is because that particular set of syntax is the first, or you can say that languages that didn't have similar syntax was abandoned by developers.

There is an equal evidence/lack of evidence for either claim.


GP brought up a thing that’s certainly not equally represented in all languages. There are physical limitations for reading, and the amount of novel context you can juggle.

There is a balance between verbosity and conciseness that makes code more or less readable to different people.

If you have few experts who are maintaining a codebase over a longer time, then verbosity gets in the way. If you have a wider skill distribution and fast turnover, then you want verbosity.

Additionally I think there are more objective features. Like ambiguity, simplicity, formatting, naming, visual hierarchy...


> It's a language designed by people who's favourite language is not even pronounceable.

Elaborate?


This opinion seems to be very sure of things.


My CVE comment was very much tongue in cheek.


> My CVE comment was very much tongue in cheek.

I got that, but the point is still very much relevant. If places switched to Rust from C++ (or Go, or C), they'd write less software because there will never be as many people who understand Rust as there are people who understand Go.

If it was at all easy to pick up there'd be a fewer stories from people who tried learning it and abandoned the effort.

I cannot think of any person who reported abandoning Go because it was too hard to learn.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: