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

Show all comments

Showing thread 26 of 101

frobozz#
I don't think you determine a passing result correctly.

I made several attempts as "Lesson 8: Take a While", all fulfilling the brief, and all telling me "Oops, try again".
I wasn't even being particularly perverse on all of them. In fact, when I did try being perverse, I got it to pass even though it technically should have failed.
This is an example of perversely passing:

    var times = 0;
    while (true) {
      print( "hello" );
      if(times >=100) {
          times = 2;
          break;
      }
      times += 1
    };
The brief is "Your turn! Let's make a while loop that prints "hello" twice. It's outlined in the editor."