News for hackers. Stuff that matters.
Re:The Egison Programming Language by pmontra on Sunday April 30, 2023 @02:55AM (#35760250)
I'm with you about all code is difficult to beginners. About language designers, they should decide who they want to address with their language and how popular they want it to be. If they want to become mainstream and they don't have a way to force people to use it (example: Apple with Objective C and Swift) then they should make a language with a syntax similar to something already mainstream. Example: Elixir got reasonably popular and in its early days it was common to think about it as a functional Ruby. It is not. Anybody using it would find it very different from Ruby by the end of the first day. However there is at least a correspondence between many Module.function / Class.module names in the standard library and the same do / end general structure of code blocks.

My advice to any language designer aiming to mainstream status is to copy some curly braces language (Java, JS, C++) or Python. Then do any weird thing to them, but don't scare away millions of developers with your hello world.

Re:The Egison Programming Language by asimpletune on Monday May 01, 2023 @02:46AM (#35769756)
What is missing from what you’re saying, I think, is representing fundamentally new paradigms. That’s why the syntax is never going to be familiar. It’s not hello world, it’s defining types based on a mini-syntax. If the advice you’re giving to language designers were followed, that simply wouldn’t be possible, nor would virtually anything else besides what you already know how to read in “your” syntax.