News for hackers. Stuff that matters.
Re:Show HN: A Browser-Based First Programming Language – Eas... by pacifika on Saturday November 19, 2022 @10:21AM (#33670891)
This is great and thank you for making programming more approachable!

I think some of the numbers would benefit from units. For example colours, size, coordinates etc can all be represented by the number 444.

Therefore `circle 444` could mean a large circle a grey circle, a centred circle.

I had to read the example before I understood the code there is all.

Perhaps a prefix x444, y444, c444, w444 would help?

Re:Show HN: A Browser-Based First Programming Language – Eas... by shhsshs on Saturday November 19, 2022 @10:48AM (#33671182)
I agree, though you can make this argument for any other programming language.

    circle 444
    or
    circle(444)
Named parameters are sometimes nice.

    circle r=444
    or
    circle(r=444)