Live data from Hacker News

Ballerina, a language with structural type system

v1-0.ballerina.io

1–10 of 126 posts

Re: Ballerina, a language with structural type system

#5
> In Ballerina, every program is a sequence diagram that illustrates distributed and concurrent interactions automatically. The diagram is the code. The code is the diagram.

I'm not sure it's a feature I'm missing in current languages, but I sure am curious about this. Maybe "ballerina by example" should implement a toggle between diagram and code views?

Re: Ballerina, a language with structural type system

#7
Every time a new programming language is announced, I go look at some of the example programs. This time I didn't even make it through "hello world" as I can't read the grey on very slightly lighter grey code.

Please, if the makers are reading this, just make it look like it does in your editor, when you're reading and writing it.

Re: Ballerina, a language with structural type system

#8
Excerpted quote from their launch blog post ( https://blog.ballerina.io/posts/annoucing-1.0.0/ ):

> That obviously starts with the Enterprise Integrator team as that is where this baby was flirted with, dated and then conceived;

This is what happens when people think that coding is hard but writing is easy.

WSO2: Please, on behalf of innocent eyeball-owners everywhere, hire a dedicated content editor.

Re: Ballerina, a language with structural type system

#9
I've never heard of this language, but it looks like a cross between TypeScript and Java. The "Why Ballerina" points on the front page are intriguing, but none of the other materials seem to fill in the next level of detail. The diagram is the code... so this is a visual language? Where are the example diagrams? The language is built so that it's easy to access a service over a network? Tell me more. Show me something beautiful, dammit. The syntax isn't pretty. And why does every new programming language these days put "getting started" instructions above the fold, but not show you code or otherwise give you something concrete to latch onto?

I'm speechless at the sheer amount of documentation and tooling that already exists. Editor plugins, a code formatter, a style guide, a build tool, a doc tool, a package manager, a package repository, a language spec, a standard library, a framework for writing services, deployment guides, and maybe 200 example programs.

I am a major TypeScript fan and former major JVM fan, and I can see the appeal of mashing them up. I think my problem is that the front page is the only interesting page on the entire site, the only one that gives me some sense of why I might care about this obscure language, let alone use it.

Post reply on HN