Live data from Hacker News

Show HN: An Easy Programming Language That Runs in the Browser

kabas.online

21–30 of 91 posts

Re: Show HN: An Easy Programming Language That Runs in the Browser

#21
post #8

I think there's more value to be had in building better learning resources around programming languages than continually trying to simplify them at the expense of power. Besides that, if someone is already looking for a simple scripting language, Lua already exists. I personally prefer its syntax as well.

Lua might have little features and have a small footprint, but it's not simple to understand

Re: Show HN: An Easy Programming Language That Runs in the Browser

#24
post #20

Reminds me of the old educational graphics programming language Logo. https://en.wikipedia.org/wiki/Logo_(programming_language)

I grew up with Turing, which was nice later in life because it resembled pseudo code pretty closely.

https://en.wikipedia.org/wiki/Turing_(programming_language)

I think the best teaching language is one that can have a ball bouncing across the screen with as little ceremony as possible.

Re: Show HN: An Easy Programming Language That Runs in the Browser

#25
post #4

Earlier quoted context omitted.

There are so many programming languages - but imho not a real easy one for beginners.

Python? Python is really easy to learn and has reached VB levels of snowball network effects.

Well... it was easy to learn. It really isn't easy to fully learn it as it used to be.

I think there's a fundamental gulf between "easy language" and one that you'd want to do work in long term, and the history of Python is a great case study in that. If there aren't any "easy, real languages", well, if you want to fix that you'd better carefully study the reasons why all the easy languages have stopped being easy on their way to becoming real languages or you'll just repeat the mistakes of the past.

Re: Show HN: An Easy Programming Language That Runs in the Browser

#26
post #4

Earlier quoted context omitted.

There are so many programming languages - but imho not a real easy one for beginners.

Python? Python is really easy to learn and has reached VB levels of snowball network effects.

But even Python requires installing the dev environment etc. I can see the use for this, for throwing people with no experience into "coding right away".

Re: Show HN: An Easy Programming Language That Runs in the Browser

#27
post #7

The original Javascript was intended as an easy language that runs in the browser. And so it was in 1996. In reality, it seems, a successful language that runs in the browser had no way around becoming a "full-blown" language, as opposed to "easy".

JavaScript still can be easy if you ignore the rest of the ecosystem.

Thing is, sooner or later, at the very least you find yourself wanting something like lodash or jQuery[1]. Ironically, the latter also came into existence to make programming across different browsers simpler back in the bad old days (of not that long ago), and did an admirable job of that.

Unfortunately jQuery, and similar libraries of the mid-noughties era, provided the breach in the dam that's seen us swamped in a torrent of new, sometimes baffling, and on occasion arguably unnecessary platforms, libraries, and tools, which have made the process of developing for the client a much more intimidating process for those starting out.

[1] Although these days you'd be surprised by how much of what jQuery offered is now built into the browser APIs and works consistently across them.

Re: Show HN: An Easy Programming Language That Runs in the Browser

#28
post #7

The original Javascript was intended as an easy language that runs in the browser. And so it was in 1996. In reality, it seems, a successful language that runs in the browser had no way around becoming a "full-blown" language, as opposed to "easy".

JavaScript still can be easy if you ignore the rest of the ecosystem. Thing is, sooner or later, at the very least you find yourself wanting something like lodash or jQuery[1]. Ironically, the latter also came into existence to make programming across different browsers simpler back in the bad old days (of not that long ago), and did an admirable job of that. Unfortunately jQuery, and similar libraries of the mid-nou…

It's Jevon's Paradox [1] applied to the browser, where increasing the efficiency in which the browser can be scripted paradoxically causes websites to become slower and harder to build. Not because JavaScript itself (or any of the libraries built on top it) got worse, but because by allowing developers the ability to script more and more complex applications, sites became slower, and developer tools became heavier to support these more complex demands.

[1]: https://en.wikipedia.org/wiki/Jevons_paradox

Re: Show HN: An Easy Programming Language That Runs in the Browser

#29
post #8

I think there's more value to be had in building better learning resources around programming languages than continually trying to simplify them at the expense of power. Besides that, if someone is already looking for a simple scripting language, Lua already exists. I personally prefer its syntax as well.

Lua might have little features and have a small footprint, but it's not simple to understand

That's only half-true. Understanding all of Lua is hard, specially if you want to get into optimizing your code, but for simple tasks it's an incredibly easy to learn language. That being said, it really depends on the resources you're using to learn; Tutorials meant for programmers that bombard you with slang and exotic concepts will confuse newcomers.

Re: Show HN: An Easy Programming Language That Runs in the Browser

#30
post #2

Nice! It would be more fitting for the style of this language if 'end' were used instead of '.' imho

`end` as block delimiter makes much noise. Python code looks clean because it only uses indentations to delimit blocks. But this makes it at least difficult to refactor the code and to reformat it automatically.
Post reply on HN