News for hackers. Stuff that matters.
Re:State of Clojure Survey 2019 Analysis by WillPostForFood on Wednesday February 06, 2019 @05:00PM (#19100517)
Notepad++? Textmate? Look at the first paragraph of the first chapter of Chris Pine’s Learn to Program.

Now that you've gotten everything setup, let's write a program! Open up your favorite text editor and type in the following:

puts 1+2 Save your program (yes, that's a program!) as calc.rb (the .rb is what we usually put at the end of programs written in Ruby). Now run your program by typing ruby calc.rb into your command line. It should have put a 3 on your screen. See, programming isn't so hard, now is it?

Re:State of Clojure Survey 2019 Analysis by goatlover on Wednesday February 06, 2019 @05:28PM (#19100750)
Why not just start at the REPL or with a Notebook? Having an interactive environment seems like it would be easier to learn the language. Then they can move to a code editor when they're ready for writing more complex programs.

It's this sort of thing that probably drives the likes of Alan Kay crazy when even learning a language isn't interactive by default.

Re:State of Clojure Survey 2019 Analysis by WillPostForFood on Thursday February 07, 2019 @12:04AM (#19103139)
I agree, but there is also something conceptually useful in learning early that a program is code saved in a text container that is then either compiled or interpreted.
Re:State of Clojure Survey 2019 Analysis by fiddlerwoaroof on Friday February 08, 2019 @03:17AM (#19112382)
The clojure equivalent isn't much worse:

   (println (+ 1 2))
Then

    clojure calc.clj