Lurker News
I've been a longtime member @ HN, but I haven't been a developer. In fact, my only HN submission has been one asking how to learn to code (http://news.ycombinator.com/item?id=820741). My cofounder and I decided to solve the problem by making a simple, interactive way to get started with Codecademy. We'd love your feedback. If you're interested in helping us to get more courses up (on any topic!), please send us an email at HN@codecademy.com.

Comments (232) 101 threads

zds5 replies#
I've been a longtime member @ HN, but I haven't been a developer. In fact, my only HN submission has been one asking how to learn to code (http://news.ycombinator.com/item?id=820741). We decided to solve the problem by making a simple, interactive way to get started with Codecademy. We'd love your feedback. If you're interested in helping us to get more courses up (on any topic!), please send us an email at HN (at) codecademy.com.
beefman2 replies#
Awesome, thanks! I've always thought the use of books to teach programming was a bit ironic, especially for interpreted languages.

Back in the early '90s I had a book called Master C, which came with a floppy that ran a similar type of tutorial.
http://www.amazon.com/Waite-Groups-Master-Book-Disks/dp/1878...
Seems like a long gap between then and now.
Also, please let me request a course on Clojure. That would rule!

zds2 replies#
one course on clojure, coming right up!
ludwigvan#
will you use clojurescript?
beefman#
I, for one, would prefer clojurescript.
beefman#
Thanks - I don't think they had the tutorial when last I saw it.
dstein1 reply#
(+ 3 3) is really how arithmetic is performed in Clojure? Okay, I'm done with learning Clojure.

Continue this thread — 1 reply

stephenou#
I think this is going to be an interesting experiment:

I am going to test how many students at our high school can get interested in programming after trying out Codecedemy.

fredBuddemeyer1 reply#
this must be why you have such a unique empathy for the user. you've truly put yourself in the user's shoes instead of lecturing.

its obvious something is great when you instantly think why the hell hasn't everything been like this all along.

zds#
thanks! i learned JS while writing the tutorial so it definitely was quite an experience. really appreciate the compliment!
HiroshiSan1 reply#
Any advice on starting something if you're not a developer, or how you gathered the resources to do it with your limited knowledge? I'm not a developer but I just started doing LPTHW, I'd love to create something of my own but I was never good at making something from 'nothing'.
zds1 reply#
LPTHW is terrific. we're hoping to offer courses beyond basic javascript so you'll be able to learn from Codecademy too. the easiest thing to do is make something - think of what you'd like to make and keep referencing books on your way to completing it!
HiroshiSan1 reply#
Thanks for the tip, I linked your website out to some of my non-programmer friends who I would have never thought would like it, and one of them is already on lesson 3!

Continue this thread — 1 reply

czzarr#
could you write about how you went from a non-programmer to be able to launch that web site? would be super-interesting.
tolmasky4 replies#
Interesting feedback: I had my gf do it, and she got stuck in the .length portion, because she kept typing:

    "name".length.
This is because the prompt said:

    Well done! How long is your name? Find out by typing your name in quotes and ending it with .length.

    For me, that'd be "Ryan".length.
Apparently its not clear enough what is code and what isn't. While you and I can tell that the last period belongs to the sentence and not the code, it was a bit confusing for her. Perhaps putting the code in a different font (as well as the current highlighting) would do the trick?
zds#
Changing this right now. Thanks so much!
nicki_easy2 replies#
I am no one's girlfriend, and I am stuck on lesson five :P

I think that if this is aimed at beginners it needs to be dumbed down more--I am a reasonably intelligent absolute beginner curious about coding and whether I'm interested in learning some, and in this lesson you have completely lost me; I no longer understand what I am doing or why, and I don't know how to proceed:
Everything we've talked about so far has one value. But what happens when you need to store an ordered list of values? You use a data structure known as an array.
The editor now has an array named numbers with the numbers 1, 4, and 6 (look at how we set the values). To access a particular value, you can use the name of the array and its position, or index (they start with 0). To get the number 4 from the array numbers, you would write numbers[1].
Try writing a line that will set the value of a variable called six to third number in the array.
I feel like there is not enough building on the previous lesson and not enough practice/repetition for me to get a toehold on what I'm doing/learning before moving on to the next thing. Here you have already moved me up to a level of abstraction where I cannot continue the exercise without seeking outside help (from Google, a book, a friend...).
And my hint is: To do this exercise, you have to declare a new variable (using var six =) and set it equal to the value of the array (done with numbers[2]). Remember: array indexes start at 0, not 1.
I'm totally lost. This hint is not helpful to me and there are no more hints. I'm stuck and can't continue within the lesson itself without more hints, exercises or explanation.
Also, I think this is brilliant <3. Keep going.

jpd1 reply#
Judging by the text of the hint you gave us, I believe it's trying to make you type:

   var six = numbers[2]
I am not sure where the hangup is, considering I just copy-pasted that from two parts of the hint. Have they described arrays to you yet? Perhaps the problem is that they insufficiently described what an array was and what it did? I have not tried to use the site, so I'm not sure.
nicki_easy1 reply#
Yes. This is the problem for me. The only description of arrays is what I've pasted above from the lesson. I'd never heard of them before and all I currently know about them is that I will use them when I "need to store an ordered list of values."

I'm not sure how much I need to know or understand about them at this point, either--I speak some human languages that are not my native tongue and I was very lost when I first began learning them and relied heavily on memorization. What I need is just to be able to follow along well enough to produce an answer and for there to be enough repetition and regurgitation that things start to gel if I keep it up.
This wasn't clear enough for me to be able to continue with the lesson; I was literally stuck since there weren't any more hints or resources (though I have since downloaded an e-book ;). Perhaps it would be good for there to be a cheat revealing the answer and additional problems that appear whether or not you fail the first time.
This format is excellent and the site looks great. More coddling, please!

Continue this thread — 1 reply

WiseWeasel2 replies#
The way I would describe an array to a novice is that it's a more complex and potentially useful type of variable, similar to the ones you've been making so far, only instead of having a single "slot" for data, they are organized in a way that allows for multiple slots for information, and you can reference each slot by their position in the array, starting with position 0 (0, 1, 2, etc. describing the first, second and third. etc. positions in the array).

An array is a variable declared with square brackets around all the data, with a comma in between (delimiting) each positioned slot of data.
Example:

    var array = ["data1", "data2", "data3"]
In this case, we've created an array containing text strings. It could just as easily contain integers, or as you will see demonstrated a little later in the course, other variables, including other arrays.

Then, in order to retrieve or modify a piece of information from the array, you reference the array variable with the array position you want in square brackets.
Example: To get the "data1" string from the above array, use the variable like this:

    array[0]
To get an alert dialog with the "data2" string, the code would look like:

    alert(array[1])
You can easily modify a piece of data in the array using this technique. For example, to change the string "data3" in the array to "third", the code would be:

    array[2] = "third"
If you would like to add a new piece of data to the array, you could do the following:

    array[3] = "fourth"
Note that this would require that you know the size of the array and that the position [3] is an available slot. A simpler method of adding data to an array is to use the .push function as such:

    array.push("fourth")
zds#
Thanks so much for the feedback. This lesson needs some improvements and we'll be shaping it up over the next few days.
buff-a1 reply#
I need some milk! Let me add that to my shopping array.

Back in the real world, I see non techies deal with lists every day. Ordered lists. Given a list, with numbers in the margin, they can easily answer "Who came first?" or "What's next on the list?", or "What's item 5 on the agenda".
But noooo. We have to call them arrays. Lists are something else. o_O
The way I would describe an array to a novice is that it's a more complex and potentially useful type of variable
Fuck me no!!!! Shut up Moss!

Continue this thread — 1 reply

HiroshiSan1 reply#
This is amazing feedback, I'm going through the lessons with my 13 year old cousin and she had similar trouble, we got to the arrays when it asked you to add "Monday", "Tuesday" AND "Wednesday" to positions 0, 1, 2. It wasn't explicit enough so she thought that she was suppose to type var weekDay["Monday", "Tuesday" and "Wednesday"];
zds#
We're going to try to make this change within the next few hours. Thanks!
edtechdev#
Yeah that was the very first thing I noticed, and I have to admit I stopped right there since there was already a typo on the very first lesson
reemrevnivek2 replies#
Beautiful! But if I keep trying to explore after the "You've completed this lesson! Start the next one." message, I get

    ERROR: Cannot read property '_id' of undefined
In my opinion, exploration in this context is extremely important. The guided tours are nice, but I'm confident that you don't want to limit people's use of the site

Also, "You're doing great! To continue, you'll need to register or sign in. Otherwise all that awesome progress you've made will be lost. Sign In\Register (it's free)" was a complete surprise, and felt like a roadblock (in spite of the "it's free" message.
If a user types through enough of the pages to get this message, they probably are enjoying the site and want to keep working with it. Why not include a "Not now" option in this dialog?
That way they can choose to join when they step back when they are done and say "Wow, that's a nice site! I want to come back later and keep working on this. I guess I ought to register!", rather than a "Meh, I've only invested 2 minutes, guess not".

jhen0951 reply#
Agreed with all of the above points. Beautiful and easy to use.

The "You're doing great! To continue, you'll need to register or sign in. Otherwise all that awesome progress you've made will be lost. Sign In\Register (it's free)" dialog is most definitely a road block as there were no links available to go back to the home page.
Only two options were sign in or register. So yeah, there should be a cancel, or return to homepage

faramarz1 reply#
Nope, not a road block for me. By the time you get to that point, the user has already got a taste of the fruit; it's decision time. I registered.

I love this. Keep doing what you're doing, expand the library in a few months and contact foundations like Rockefeller for financial support if you need it.
Kudos! I'm excited.

zds3 replies#
awesome. we're adding the option to skip registering but we hope most people do what you do.

Continue this thread — 3 replies

zds#
thanks! we're planning on opening things up - just made the change and will push it live in a few minutes.

we'll update the dialog as well.
really appreciate the feedback! feel free to email more to me - zach (at) codecademy (dot) com.

revorad1 reply#
Very nice. Really well made. Love the fact that I could just dive in and engage with the product from the homepage without having to dance through the usual annoying sign up routine.

One thing I'd change is this error message which is not really an error message : "ERROR: Sorry, that's not correct. Please try again."
It appears every time I try some command which is not exactly the next step defined in the tutorial. It kind of feels like an old school tutor forcing me to follow a rigid book exercise and discouraging experimenting.
If you want me to complete the tutorial, don't move the progress indicator until I complete the next step, but please don't scold me with fake errors :-)
One thing I've been craving for is a place where I can jump in and get a quick primer on some random topic from another programmer. Think SO in real-time. I know there's IRC, but it's not very user friendly and I don't want to hop around different channels to ask different language questions.
If you build a truly social and interactive site for learning programming, I'd use it a lot.
Good luck!

zds1 reply#
thanks!

we're opening it up to free programming asap and we're going to stop the fake errors thing.
this is exactly what we're planning on doing - let me know if you'd be interested in creating a lesson or if you have other feedback - zach (at) codecademy (dot) com.

revorad1 reply#
For now, I'll be selfish and only want to learn and seek help when I get stuck while programming.

Are you on twitter?

zds#
yep, i'm @zsims and we're @codecademy.

Load more comments