Stories
Slash Boxes
Comments

SoylentNews is people

Journal by turgid

Which LISP should I learn? Years ago I read about Scheme and wrote some hello world level code. I learned about lambda functions and currying. I also looked at racket. A few years ago, much of my day job involved the JVM and I was getting sick of Java so I got a book on Clojure, which is a very nice language, but I never wrote any.

A few days ago I downloaded and built the latest version of DrRacket.

Should I go straight to Haskell? Or what about other functional languages? Is Erlang worth a look?

I need something stimulating to distract my brain from the mundane nature of everyday life, and mediocre programming languages.

 

Reply to: Processing.org

    (Score: 2) by DannyB on Tuesday November 30 2021, @03:07PM

    by DannyB (5839) Subscriber Badge on Tuesday November 30 2021, @03:07PM (#1200867)

    Another fun programming diversion.

    Processing.org

    They have both a Java (JVM) version and a JavaScript version. Both are batteries included. Easy to download and get started without a lot of setup.

    You write either Java or JavaScript depending on which version you download. The environment provides a huge number of graphics and other functions that you can call.

    Look at the gallery of examples. Let your imagination run wild. You can draw anything. You start out with a blank canvas.

    In the spirit of Logo (which someone mentioned above) I created my own Turtle Graphics class in Java which I used in Processing.org. You can trivially create a turtle (or as many different turtles as you like). Each turtle has commands like Pen Up, Pen Down, MoveForward(x), TurnBy(degrees), MoveTo(x,y), etc. I'm sure you can google all kinds of fun things to do with turtle graphics.

    As an example, to help inspire you, I created a Spirographtm work alike in Processing.org. You specify the large ring inner number of teeth, and the number of teeth of the wheel which moves along the inner ring. It draws the figure on screen. It does this by advancing a fraction of one "tooth" and doing a LineTo(x,y) type operation to move the pen a little bit.

    Also don't mention Project Euler which I mentioned in my Common Lisp / Clojure post above. There are tons of fun problems there to work on using any language of your choosing. Mine was Clojure and sometimes Java.

Post Comment

Edit Comment You are not logged in. You can log in now using the convenient form below, or Create an Account, or post as Anonymous Coward.

Public Terminal

Anonymous Coward [ Create an Account ]

Use the Preview Button! Check those URLs!


Logged-in users aren't forced to preview their comments. Create an Account!

Allowed HTML
<b|i|p|br|a|ol|ul|li|dl|dt|dd|em|strong|tt|blockquote|div|ecode|quote|sup|sub|abbr|sarc|sarcasm|user|spoiler|del>

URLs
<URL:http://example.com/> will auto-link a URL

Important Stuff

  • Please try to keep posts on topic.
  • Try to reply to other people's comments instead of starting new threads.
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Offtopic, Inflammatory, Inappropriate, Illegal, or Offensive comments might be moderated. (You can read everything, even moderated posts, by adjusting your threshold on the User Preferences Page)
  • If you want replies to your comments sent to you, consider logging in or creating an account.

If you are having a problem with accounts or comment posting, please yell for help.