Live data from Hacker News

The Elena Programming Language

elena-lang.github.io

41–50 of 65 posts

Re: The Elena Programming Language

#41

New languages would better be written on the JVM or at least on the coreclr, otherwise they loose all hopes of seamless interoperability with existing production ready ecosystems and therefore loose most hope of success.

It seems like languages which compile to C have better interoperability, nearly all mainstream languages have some form of C-FFI

JVM languages are in a silo off to the side where they only interop with each other

Re: The Elena Programming Language

#42
post #19

Earlier quoted context omitted.

The point is also to vouch for someone when an invite is sent. At least in my mind, as in it's officially done, if the invitee misbehaves, it's kind of the responsibility of the inviter. Every profile has who invited who.

Then how does the inviter know, that they can vouch for the invitee? Perhaps no one there knows me. Why would anyone vouch for someone they don't know? Wouldn't that make vouching a useless hurdle?

> Then how does the inviter know, that they can vouch for the invitee?

AFAIK you aren't accountable for your invitees on a day-to-day basis. It just reflects poorly on you if you invite many poorly behaved people - this isn't substantially different from everyday life.

> Perhaps no one there knows me. Why would anyone vouch for someone they don't know?

Some people do invite everyone who asks. They can have their invite rights disabled or in extreme cases be banned from the site. This is relatively rare.

You can see examples of this at https://lobste.rs/moderations?moderator=%28All%29&what%5Buse....

> Wouldn't that make vouching a useless hurdle?

Lobste.rs has a small audience and 3 moderators. The moderation is also much more active than HN - moderators will send private warnings, delete off-topic posts, etc. Moderator actions are publicly visible at https://lobste.rs/moderations. Vouching raises the barrier to entry and allows the moderators to keep up with the workload.

Re: The Elena Programming Language

#43
post #29

"A variable name can contain any UTF-8 symbols (except special ones, white-spaces; the leading character cannot be a digit) and is case-sensitive." This is terrible.

Well I used to think that UTF-8 symbols are terrible, until I saw how Julia implement it

Most special symbols have escapable names so for example Julia have a composition operator (∘) In the repl or supported editors (atom and vs code), if you type \circ then press the repl or the editor will replace that with the symbol ∘

Now, I am not saying that this is better than ascii characters, I still prefer ascii characters, and I still find that Unicode symbol even with good editor support are harder to type, and also in some case like in the case this composition operator ∘ hard to read

I just don't think its not terrible anymore, its passable, and I understand why some people might like it more, but good editor support is a must

Re: The Elena Programming Language

#44
post #29

"A variable name can contain any UTF-8 symbols (except special ones, white-spaces; the leading character cannot be a digit) and is case-sensitive." This is terrible.

how else are we going to use canadian aboriginal syllabic characters to represent templates

Re: The Elena Programming Language

#45
post #29

"A variable name can contain any UTF-8 symbols (except special ones, white-spaces; the leading character cannot be a digit) and is case-sensitive." This is terrible.

Doesn't Python 3 exactly do this? Not saying I would use non-ascii characters in variable names but presumably populations that don't use the Latin alphabet have different use cases?

Not quite, as it only supports letters. This can be annoying with some mathematical symbols, e.g. IIRC ∇f won't work. Having Greek letters is useful, but I think it should go further, like this, so definitely not terrible.

Re: The Elena Programming Language

#46
post #4

Is there anyone that doesn’t immediately scroll past the elevator pitch to the code examples when looking at a new language?

Yep, that was the first thing I did.

For me, "Yeah it sounds cool, but let's see some code" is my usual response to new programming languages.

Re: The Elena Programming Language

#47
post #4

Is there anyone that doesn’t immediately scroll past the elevator pitch to the code examples when looking at a new language?

Absolutely, No one here thinks you're Steve Jobs. Just show me your little toy pet project example code to convince me it's slightly less useless than the 10 other ones that get posted here everyday.

This was a thing.

https://docs.microsoft.com/en-us/previous-versions/msdn10/bb...

Re: The Elena Programming Language

#49
> ELENA supports rich set of object-oriented features:

> abstract classes, interfaces, singletons, class constants,

> named constructors, variadic methods / constructors and

> class extensions.

Half of these are anti patterns that I appreciate other languages (Go, Rust) leave out (non-virtual inheritance, singletons, ...). Elena announcing them as features makes me wary.

Re: The Elena Programming Language

#50

Earlier quoted context omitted.

Absolutely, No one here thinks you're Steve Jobs. Just show me your little toy pet project example code to convince me it's slightly less useless than the 10 other ones that get posted here everyday.

There's no need to be this harsh. We should always celebrate people making things even if they don't benefit us directly, to me that's even the essence of hacking

Sure, making is good and all, but if you want people to care you should put in effort to make them care. Toy programming languages is a very crowded space.
Post reply on HN