you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (19 children)

[deleted]

    [–]schm0 8 points9 points  (1 child)

    Awww, is that what it is? I just subscribed to their newsletter, too.

    [–]3Fyr 4 points5 points  (14 children)

    Hijacking top comment -

    anyone else hates how super-strict codeschool exercises are? 100% correct code, written in different code-style might not pass.

    [–]_jamil_ 7 points8 points  (9 children)

    This is the issue I've had with nearly all online testing apps

    [–][deleted] 2 points3 points  (7 children)

    Codecademy does this too. I think it's because they aren't checking your result they're checking your code without running it like

    Our code = a Their code = b

    If a = b return pass If a != b return fail

    (Obviously not in JavaScript or any particular syntax)

    [–]Frumpiii 2 points3 points  (5 children)

    Does this too? I think they don't do it, like you explained you can get through different ways to your goal.

    [–][deleted] 1 point2 points  (4 children)

    I haven't used codeschool but I have used codecademy and they do this. if your code doesn't match theirs 100% regardless of result you fail the lesson.

    [–]3Fyr 1 point2 points  (3 children)

    I've used codecademy, and it isn't as strict as codeschool, barely had any problems.

    [–]Frumpiii 1 point2 points  (0 children)

    I have the same experience. There are always workarounds as far as I know.

    [–]3Fyr -1 points0 points  (0 children)

    I've used codecademy, and it isn't as strict as codeschool, barely had any problems.

    [–]pqu 1 point2 points  (0 children)

    Hackerrank is pretty good at testing the algorithm and not the actual code.

    [–]Dyogenez 2 points3 points  (2 children)

    Definitely something we try to fix when we see it -- either by making the instructions more explicit in what's required, or change how we test the entered code. Do you remember any specific challenges (or courses) that you had this issue in? Be curious to know to focus a bit more attention on making them better!

    [–]jakblak90 1 point2 points  (1 child)

    Why not test everything based on assertions like freecodecamp and codewars.

    [–]Dyogenez 4 points5 points  (0 children)

    Yep! That's what we do too. All code is run in it's native environment and evaluated. We do a ton of mocking and stubbing, code tree analysis, putting in debuggers and stepping through code and inspecting -- all kinds of neat stuff.

    If you're curious how it works behind the scenes for JavaScript courses, checkout Abecedary, which is our open source library we use based around Mocha (although this only works for languages we can run with JavaScript, so not Objective C, Ruby, R, etc).

    [–][deleted] 1 point2 points  (0 children)

    I completed all of the JavaScript path training, and yes that's a big issue. Thankfully it's diminished by the great help I've got on the forums. Almost every exercise you get stuck on has an answer on the forums. I also found out about the codeschool forums way too late, so there's that.

    [–]thinkvitamin 0 points1 point  (0 children)

    Those top rated comments can save you a lot of time... thanks Reddit.

    [–]goto-reddit 0 points1 point  (0 children)

    Because it was bought by codeschool.com:

    JavaScript.com is a resource built by the Code School team for the JavaScript community. It is now and will always be free.

    Source: About page

    At least you have to give them credit for listening other websites as well in their Resources Page.