Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chkas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
chkas
4y ago
Thanks for the "neat" and for the "facade" :)
62.
▲
by
chkas
4y ago
However, this crash course also teaches the basics of speaking.
63.
▲
by
chkas
4y ago
It is quite different from Python. Python is more complex. Which is on the one hand an advantage, because it is more powerful, on the other hand a disadvantage, because it is more difficult to master for beginners. Easylang is more like BAS
64.
▲
Show HN: Programming Is Easier Than You Think
(easylang.online)
35 points
by
chkas
4y ago
|
32 comments
65.
▲
by
chkas
4y ago
Cool. Seems to work, but I don't think it's still Knuth Shuffle.
66.
▲
by
chkas
4y ago
If you want to do it the other way around, you have to start at 0: for i in range(len(x) - 1): r = randrange(i, len(x)) x[i], x[r] = x[r], x[i]
67.
▲
by
chkas
4y ago
With Knuth-Shuffle, it would be: for i in reversed(range(1, len(x))): That makes it better, but not much.
68.
▲
by
chkas
4y ago
Python uses "closed open" intervals with `range(0, n)`, the reverse is then `range(n - 1, -1, -1)`, which is then highly unintuitive. This in connection with 0-based array indexing makes certain algorithms then very cumbersome. Fo
69.
▲
by
chkas
4y ago
Pleased to hear that. If you have any questions or feedback, please don't hesitate.
70.
▲
by
chkas
4y ago
This is a controversial topic. Here is why I consider for a beginner programming language 1-based indexing to be better. https://easylang.online/blog/easyl_pyth.html
71.
▲
by
chkas
4y ago
I was referring to "This reminded me a little of Hedy language".
72.
▲
by
chkas
4y ago
This does not turn into Python.
73.
▲
by
chkas
4y ago
Yes. I should have posted this link. https://easylang.online/ide/
74.
▲
by
chkas
4y ago
> Who is your target audience? Beginners There are tutorials integrated in the IDE, among others one for beginners. The examples are the documentation.
75.
▲
by
chkas
4y ago
It is similar to the way it used to be in BASIC. a is a number, a$ is a string, a[] is an array.
76.
▲
Show HN: Easylang – A browser-based first programming language
(easylang.online)
167 points
by
chkas
4y ago
|
55 comments
77.
▲
by
chkas
4y ago
> We need some low effort, low risk, high reward ways to introduce folks young and old to the magical power of programming. https://easylang.online/ide/ is my contribution to that.
78.
▲
Show HN: Learn Programming Basics – Interactive, Runs in Browser
(easylang.online)
1 points
by
chkas
4y ago
|
0 comments
79.
▲
Show HN: Programming Basics – Interactive, Simply Explained, Runs in Browser
(easylang.online)
1 points
by
chkas
4y ago
|
0 comments
80.
▲
by
chkas
4y ago
https://easylang.online/ide/#code=print%20%22Hello%20world%2...
81.
▲
by
chkas
4y ago
> Is there anything like BASIC today that any child, secretary, or grandmother can pick up and learn with as little hassle as possible? I tried to develop something like that: https://easylang.online/ide
82.
▲
by
chkas
4y ago
You don't have to make up a name again. The namespace is usually pretty full anyway. If you accept a "break", which is a "break 1", you must consistently also allow a "break 2". Many things are sensitive t
83.
▲
by
chkas
4y ago
I argue for a "break" with a number that indicates how many loops you want to break out of. I have this in my programming language https://easylang.online . Each "break" needs the number, so also a "break
84.
▲
by
chkas
4y ago
Thanks for the feedback so far. Top left and y increase down was my unquestioned choice for a long time. Then someone came and changed "easylang" to bottom left and said that her daughter would be easier with it. That convinced me
85.
▲
by
chkas
4y ago
Good points - I see it as coding 1 from N, otherwise it doesn't really make sense.
86.
▲
by
chkas
4y ago
Complicating my life would be ok, but complicating the lives of beginner programmers would not. Origin in the middle would mean that you need negative values to draw on the screen.
87.
▲
Ask HN: Which coordinate system is better for a beginners programming language?
24 points
by
chkas
4y ago
|
43 comments
88.
▲
by
chkas
4y ago
This is an interactive course to learn programming in a stripped down to the basics programming language with built in graphics commands. tiki.li is a test variant of easylang.online with a 2D coordinate system with bottom-left origin. I h
89.
▲
Show HN: Tiki.li – Learn Programming Basics in 20 Minutes
(tiki.li)
4 points
by
chkas
4y ago
|
0 comments
90.
▲
by
chkas
4y ago
For beginners up to about 12 years old, Scratch is optimal. For older ones I think a text-based language is better. In the past, that was BASIC. Today it can be Python, with which beginners have some problems in my experience. And now comes
More ›