5 ms·
> Please copy and paste the following code and click Run. > (+ 1 2 3) I typed (+ 3 3 3) and lo and behold... > 2. instruction failed. > Apparently you did no
by dvfjsdhgfv 9y ago
> Please copy and paste the following code and click Run.
> (+ 1 2 3)
I typed (+ 3 3 3) and lo and behold...
> 2. instruction failed.
> Apparently you did not copy and paste properly.Please check copy paste order.
What on Earth? Please don't make programmers feel like copy & paste monkeys - many other sites are doing this it already.
- ertucetin 9y agoIt was just a start for beginners actually, trying to explain concept of the editor/site etc. Please do check following sections...
- bmn__ 9y agoErtu, is that how you deal with criticism? Instead of admonishing your audience, cherish the response, never again you shall get the opportunity to receive such honest and instructive feedback.
- ertucetin 9y agoActually I was not trying to be mean, I wanted to explain something, if you got me wrong sorry about that I could have been more clear.Of course I'm glad that everyone is providing feedbacks.
- _e 9y agoInstead of instructing users to "copy & paste", encourage users to manually type it out so the concept is retained better. Just taking a page out of Zed Shaw's Learn Python the Hard Way.
- freehunter 9y agoCopy and paste might be the wrong method to use, but following directions isn't hard. It's not a REPL, it's a tutorial. Typing something wrong should cause you to fail the lesson.
- bitwize 9y agoNever underestimate the power of being able to goof around. When I was a kid, I learned basic Unix commands using 'learn', a tutorial program that worked like this: you were presented a menu of concepts to learn from which you chose one. The program would then give you a textual overview of the concept and any associated commands; then, to test your knowledge, it would give you a goal (say, move a specified file into a specified directory, or edit a file) and drop you into a fake shell prompt. The fake shell worked just like the real shell in most every way. You could mess around, delete files, destroy stuff, etc. When you thought you had finished the lesson you could type a command (I believe it was 'ready'), and the tutorial would then exit the fake shell and assess your progress. If you did not meet the goal, or you seriously messed up the fake environment, you would not pass the lesson but you could opt to be dropped into the fake shell, restored to the exact same state as when you first saw it, and try the lesson again. Rapping newcomers on the knuckles for exploring is not how you win them over. Give them directed goals to accomplish, sure, but also give them a safe environment where it's practically impossible to seriously mess things up while exploring, so that they can satisfy that "what does this button do?" urge as they hunt for the solution.
- freehunter 9y agoAgain, that's the job of a REPL. If you're taking a spelling test in school and they ask you to spell "butterfly" and you write "treadmill"... sure, you've written a word correctly, congratulations. You still failed because you didn't write the correct word, and writing the correct word was the entire point of the exercise. If your boss tells you to write a landing page and you write a Twitter clone, hey congrats you did a great job. Now you're fired because you didn't do what you were specifically told to do. There is a time and a place for exploration and the first step of a tutorial is not that time or place. It is the time for following directions, otherwise the rest of the tutorial will not work and you will be frustrated. This is a tutorial, not a playground. Here's what you're looking for: https://repl.it/languages/clojure https://repl.it/languages/clojure