Lurker News
Pickcode is a new language and editor for getting kids started with coding. The code editing experience is totally structured, where you select choices from menus rather than typing. I made Pickcode after experiences teaching kids both block coding (Scratch, App Inventor) and Python. To me, block coding is too far removed from regular coding for kids to make the connection. Pickcode provides a much clearer transition path for students to Python/JS/Java. Our target market is middle/early high school kids, and that’s who we’ve tested the product with during development.

On the site, you can do tutorials to make chatbots, animated drawings, and 2D games. We have a full Intro to Pickcode course, as well as an Intro to Python course where you make regular console programs with a regular text editor. There are 30 or so free lessons accessible with an account, and the rest are paywalled for $5/month.
For professional programmers, the editor is probably pretty frustrating to use (no vim keybindings!), but I hope it’s at least interesting to play with from a UI perspective. If you have kids aged 10-14, I’d love any feedback you have from trying it out with them. I love talking to users, reach out at charlie@pickcode.io!

Comments (170) 45 threads

Show all comments

Showing thread 1 of 45

layer89 replies#
Is there a good reason to require `var`, `set`, and `call` keywords? BASIC doesn’t have those. From my (admittedly dim) memories starting programming as a kid, those keywords would have been an unnecessary complication.

For example in LOGO, you’d just write

    forward 10
    left 90
In comparison,

    call paint.forward(10)
    call paint.left(90)
seems excessive and noisy.
postalrat#
So "forward" is something you click and it shows all possible expressions for a new line?
csmeyer1 reply#
The keywords are there on every line to make them easy to verbally read. This is most important in the case of set x = 7, the keyword makes it clear that we're trying to mutate a variable, not assert equality.

Even though technically we could make forward() a method at the top level in the context of a paint program, we chose to make things more OOPy to prepare them for later when students get to the 2D game engine and there can be multiple sprites to control.

wruza2 replies#
I always wanted `set` in regular languages instead of (or in addition to) =/==.

Edit: well actually, I want a whole development studio like this for professional development. You are the closest of anything else to my vague idea of what programming should look like. I feel bad for the kids who later will have to move from this to what we call "our software development stacks".

mikeravkine4 replies#
Pascals := is concise and intuitively obvious, so obviously it never caught on.

Continue this thread — 4 replies

runlaszlorun#
> I always wanted `set` in regular languages instead of (or in addition to) =/==.

TCL ftw!

secret-noun1 reply#
I felt like the naming was a little unintuitive here. `forward` and `left` seem to be directions of movement (especially if I want the painter to "move left"). Instead, `forward` means to draw/move, while `left` is a CCW rotation (even though it supports a negative argument)

  call paint.draw(10)
  call paint.rotate(90) // or even rotate("up")
speaks better to me.
layer8#
The LOGO terminology is an abbreviation of "move forward 10 steps, turn left 90 degrees", omitting "move"/"turn" and the units, as those are implied. LOGO uses a "turtle" as an avatar carrying out the instructions, like a little robot you program. See https://en.wikipedia.org/wiki/Turtle_graphics.

Python also comes with an implementation: https://docs.python.org/3/library/turtle.html
I agree that the paint prefix doesn’t quite match that conception.

layer8#
Yes, but the built-in commands don't use that. You write

    PRINT "Hello"
and not

    GOSUB PRINT "Hello"
Rather, you'd write

    GOSUB 690
to run your subroutine that starts at line 690.
hurryer1 reply#
The Basic I used had

    LET X=10
stevekemp1 reply#
ZX Spectrum?

I remember that when I had to enter code printed in magazines/books it always seemed the Spectrum was the one that required that particular modification.
(Usually there would be a BASIC listing with modifications for C64, BBC, Spectrum, and other systems. "On line 30 add LET", etc.)

runlaszlorun#
Yes! I had a Timex Sinclair. We had no cassette player, etc so, if you wanted to play a game, you were typing it in. There was one we’d always go back to. It prob wasn’t more than 50 line, tbh. But we typed it in so many times, we started to be able to do it from memory. I’m guessing it was a great way for a kid to internalize programming at a young age.
CalRobert1 reply#
When I was first learning to program as a kid I really liked having LET x = 2, or Perl's sigils, etc. It helped remind me of things as simple as assignation being left to right.
trealira1 reply#
Out of curiosity, why did Perl's sigils help? I don't see what they have to do with assignments being left to right.
CalRobert#
Mostly it made it obvious which terms were variables. Of course, this was something like 30 years ago so I don't remember well.
zx8080#
It will be added as kool syntactic sugar later in v2! Stay tuned for updates!


Totally agree, it was my first thought too on call/var nonsense.

whazor1 reply#
I think it is needed for easily moving the code up and down. Notice that the kids don’t have to write the code. So because everything is clickable, it helps to have the keywords there in the design.
layer8#
I realize that, but it’s still complicated and noisy from a reading perspective.
jurgenaut23#
Agreed, this was my first impression as well. I spend my whole day in front of much more complex code, but trying to put myself in the shoes of a young kid, I would be really misled by this (unnecessary) noise.