Live data from Hacker News

EYG: A Programming Language for Humans

crowdhailer.me

31–40 of 69 posts

Re: EYG: A Programming Language for Humans

#31

Interesting stuff. I do like the taxonomy of "computer work", where it's one part logic cognition, and one part ticky-tack details.

I believe this was a separation that existed in the role of programmer (logic cognition) from coder (details) in the early days of computing. I previously read a good post about this but can't find it now.

Re: EYG: A Programming Language for Humans

#32

Ha, very interesting. I just started using Gleam last week or so... I knew about it and loved Elm back in the day. Anyhow, will enjoy discovering EYG as well.

So I poked around... this is really interesting. So you take language in text and make IR, but also could be made IR directly. That is very interesting. Potentially I could make a version without curly braces or some weird syntax and it could be compiled in IR and still be same language :). Kind of like MS and VB and C# haha. I like what you did so far, I will keep an eye, maybe help if I can.

I have a few weird syntax I've worked on in the past so this is definitely possible. Currently only the textual representation and structural editor are in the repo. The most different I have done is a layout where the AST was presented like a file tree.

apply ├── int_negate └── 5

Re: EYG: A Programming Language for Humans

#34

I generally don't think it's a good idea to develop a language for non-developers. It was tried before multiple times and the end goal has not been achieved. Sooner or later one realizes, that professional developers are still necessary, even for languages initially designed for "normies". But such a language is typically not good enough for them, it lacks necessary abstractions, flexibility, performance or something…

By your logic ... BASIC is useless. By your logic ... people are born a programmers.

Yet BASIC was literally a first stepping stone for small kids into the World of programming. Most of what we have now is because some 6-7yo kids in 80's and 90's had BASIC and could figure out stuff by themself, without external help.

Re: EYG: A Programming Language for Humans

#35
post #14

> Sympathy for the machine only exists in developers. They will happily explain why integer overflows need to happen. The average human response to integer overflows is “WTF, that’s not how numbers work”. We have BigInt and 99% of the time the WTF response is the correct one. Forget sympathy for the machine; the real reason we need programming languages that prevent issues because we should have sympathy for the poor…

This part is very bad, 99% of the time if you overflow a 64 bit variable it is because you did the wrong computation, not because you need BigInts..

Re: EYG: A Programming Language for Humans

#36

I generally don't think it's a good idea to develop a language for non-developers. It was tried before multiple times and the end goal has not been achieved. Sooner or later one realizes, that professional developers are still necessary, even for languages initially designed for "normies". But such a language is typically not good enough for them, it lacks necessary abstractions, flexibility, performance or something…

Not only were COBOL, SQL, Visual Basic market successes, as mentioned by others, now non-developers are even using plain English with AI agents.

Re: EYG: A Programming Language for Humans

#37

Earlier quoted context omitted.

Your three examples historically were successful in achieving widespread usage, and in the case of SQL, shows no sign of disappearing.

They are widespread, but not among "normies", but professional programmers. That's what I call a failure, since they were initially designed to be used by non-programmers.

I am quite sure that plenty of Excel users know BASIC and SQL.

Re: EYG: A Programming Language for Humans

#38
post #11

Earlier quoted context omitted.

from the article > My hypothesis > Developers deal with two broad categories of work. > - Describing the logic of the problem they are solving using language constructs like if, loop, var etc. > - Working with computers to run those problems using constucts like $PATH, /var/tmp and AWS. > There are a lot of humans who can do the first work fine but don’t have the time to master the second category. I call these human…

AppleScript "English" was designed to be intuitive and easy to understand (or so claimed various manuals), but boy howdy did I spend a lot of time trying to figure out exactly what "English" it did accept.

Nowadays it would be coupled with a LLM and be much flexible in what it could accept as English sentences.

Re: EYG: A Programming Language for Humans

#40

I generally don't think it's a good idea to develop a language for non-developers. It was tried before multiple times and the end goal has not been achieved. Sooner or later one realizes, that professional developers are still necessary, even for languages initially designed for "normies". But such a language is typically not good enough for them, it lacks necessary abstractions, flexibility, performance or something…

So you’re saying everyone should stop doing what they’re doing bc someone failed at it in the past? If something doesn’t interest you or motivate you it doesn’t mean it’s not worth doing
Post reply on HN