127 points · by jaytaylor · 10y ago · 80 comments
I really want sum types, strict semantics, and untyped IO, and a good ecosystem.
I mean, I don't necessarily condone it, but if you're into "recipe programming" you can just use the Turtle package/modules and get pretty far. The tutorial is pretty amazing. I'm not saying it's a bad thing, necessarily, but I'm one of those crazy people who thinks that a little bit of cogitation should be (and is!) rewarded. Maybe I'm wrong.
EDIT: Oh, wait, you said "untyped IO". What does that mean, I wonder?
I kind of want Ocaml with a Go sized ecosystem.
(I appreciate that people may have different requirements; mine were and are mostly around my own productivity -- not so much real-time/low-latency/predictable performance/etc.).
I'd like to see a language that compiles to Go, but also to Javascript, so that code can run on both client and server without changes.
That language should not equal Go, because, honestly, some aspects of this language are quite strange: https://golang.org/doc/faq#nil_error
Maybe I'm missing something, but? https://golang.org/src/encoding/xml/example_test.go
https://github.com/golang/protobuf uses this as well.
Yet it feels like magics. Why just maps? why not sets, with useful set methods ? (union...) . It doesn't feel consistant in a statically typed language. It also feel like a mistrust of the developer. Go doesn't trust me enough so I can implement my own typesafe containers ? or does Go asks me to do the compiler's job by writing code generation tools ?
And there is no maybe[T] or we wouldn't need multiple return values when dealing with errors. If there was a maybe[T], we could chain functions and only deal with errors in the last return statement.
[0]: http://www.frege-lang.org/
[1]: https://github.com/Frege/frege/wiki/Differences-between-Freg...
It's story of building and dependency management is one of its major areas of growth in the last 2 releases because the developers agree.
But no... I mean... I can get a lot of editors to do a better job of formatting. Other languages I use offer true interactive development. And go build requires a Zigguraut Of Filesystem around it to function properly. Go get provides no realistic versioning other than "this is what I grabbed RIGHT NOW and I hope you don't need bugfixes because good luck with figuring out the hash I got."
The lack of reproducible builds and better tooling for versioning is a pretty damning stroke against the ecosystem, because I nearly lost a project when my HD crashed. I had my repo checked in AND go deps set up and it still took me a solid day of wrangling to recover a project.
For all my kvetching about bower and maven, when I set them up they tend to stay set up and so the right thing. Go projects decay.
Add that to the language's total punt on error handling and sync semantics so crazy that the ecosystem got a basic race detector before a basic interactive execution tool...
I just don't get why this ecosystem has adherents.
There are plenty of good third-party options available for dependency management (nice double standard btw since you apparently have no problem with third-party stuff for fmt/vet/lint concerns) and there is also this https://golang.org/cmd/go/#hdr-Vendor_Directories so a better world is coming don't you fret.
go race is pretty much a port of Thread Sanitizer, which was a C tool. Before that, there was Helgrind, also a C tool. All of these tools have a long list of forerunners in academia, largely for Java (Eraser, FastTrack, etc.)
Vendoring makes life hard for people who have to package software. Traditionally, you have build dependencies which are the libraries your software uses. In Go (because nobody follows semantic versioning when changing the API of their libraries, and the Go tooling doesn't allow you to specify versions of a package -- WHICH IS ACTUALLY CRITICAL) you just have to dump all of your dependencies into the same place as your source and be done with it. I don't see why people see vendoring as the solution. Defining version dependencies in your source is the solution if you want to go with "our source code defines what we need to pull in". Don't get me started on the static linking issue. Oh, and build dependencies have to be packaged as source code (packaging them in their compiled form is quite hard to do).
The 'go' tool is not the compiler. The compiler is 'gc' and does not know anything about dependency management.
It's story of building and dependency management is one of its major areas of growth in the last 2 releases because the developers agree.
(I'm not saying I agree with the decision.)
yeah :: Num yeah = 3
repeating yeah two times is ugly.
http://oden-lang.org/code-of-conduct/
My gut feeling is that an early stage project such as Oden should simply focus on the technology, grow the community and then at a later stage consult with the community if they want to introduce a code of conduct.
When starting a project, you're not just starting writing a bunch of code. You're potentially starting an entire community, and in time an entire ecosystem. You can't pretend that you're just writing code and ignore the people developing and using it. Simply taking the default stance ("liberty is paramount, over and above people's protection from harassment and discrimination") is not apolitical, here or anywhere else.
Most people would not like to found a community that winds up going against their ethics on hugely important things related to the community and project itself. If you were an ethical vegan, you'd be unlikely to start a forum for steak-eaters - and if you're ethically pro-social-justice, you're unlikely to start a community based on unrestricted free speech within that community. To do anything else is to explicitly and intentionally support what you believe to be unethical, which is inherently unethical in itself.
Unless you post a political opinion that someone doesn't like on your own Twitter feed. Then you're in for it, cf. Opalgate.
I don't see this as being dramatically different - establishing the ground rules for contributors before they commit a single line, so they can make an informed decision as to whether they want to be involved or not.
http://lambda-the-ultimate.org/node/4287
Somebody shoot me when that happens.
Yeah, that approach didn't work out too hot for nanomsg. I'm not a big fan of CoC's[1], but if you're doing to use one, best to be up-front about it, so people can make an informed decision about whether or not they want to participate in the project. Rather than springing it on them later.
1. I prefer a ruthless enforcement of the standards of polite company. Chances are your mama/daddy/grandma taught you how to behave. Just enforce that, no reason to use some (often) patronizing document to enforce society standards.
1. Don't be rude.
2. Don't be stupid.
3. Check your identity politics at the door.
4. Listen to the moderators.
5. Do not complain about rules 1-5.
I don't expect it's everyone's cup of tea (I'm not even sure I'd use it unedited, if at all), but there's work being done in this space that isn't a variant of, say, the Contributor Covenant.
While it would be equally as nice to pretend everybody could just be fucking polite human beings as to pretend a true "meritocracy" could exist, that's just not reality.
CoC projects often attract the worst politicians who are just acceptably polite on the surface but absolutely cold and ruthless in their actions. Ironically, these people also often tend to blog about politeness in OSS.
I'm sure that is the intent, but they make the code of conduct explicitly (and I would say somewhat aggressively) political. I think that it will deter a number of otherwise respectful and conscientious people.
In any case, I am glad that they are publishing a code of conduct. I don't like the content of the particular CoC they chose, but at least I know where they stand.
As for the project itself, it looks really cool. It seems to be addressing the kind of concerns that keep people like myself from engaging in the Go ecosystem.
I love PL mental masturbation as much as anyone else, but stuff like this is equivalent to an oil spill in a freshwater lake with 20 endangered species.
It's a tragedy of the commons. Posting such coments never feels harmful, but once they get above a certain level the whole community becomes filled with toxic fumes. This threshold is lower than it seems—the damage isn't only in the fumes your comment gives off, but in the encouragement it gives others to do the same.
Tragedy of the commons plus broken windows theory is not an auspicious combination, so we try to be proactive about asking people not to do this.
Not that I disagree, but I feel the HN comment section has become very predictable.
The user guide and language reference is very thin and it's missing the two critically distinctive features of Go, namely goroutines and channels.
It's a nice idea, but there's not a lot here to talk about.
Anyway, very cool project. I look forward to trying it out.
Edit: I'm assuming he's joking
Is that the gp's attitude toward PureScript, for example? Or Idris?
If that's the case, it must be nice/"interesting"/boring having found a "forever language". Look forward to seeing how that's going for him in 2030.