News for hackers. Stuff that matters.
Re:Functional programming in Clojure by reedlaw on Saturday June 28, 2014 @10:26AM (#7958274)
edX also has an upcoming online course about functional programming: https://www.edx.org/course/delftx/delftx-fp101x-introduction...
Re:Functional programming in Clojure by brudgers on Saturday June 28, 2014 @11:01AM (#7958350)
A session of Martin Odersky's Functional Programming in Scala is just wrapping up. I'd reccommend it as a good way to bring a more functional style to the JVM. The Edx course, being in Haskell probably is a better choice for a different audience.

This Clojure course is a clear third alternative because of Clojure's pseudo.dynamic typing versus the Scala and Haskell's strong static typing.

Re:Functional programming in Clojure by omaranto on Saturday June 28, 2014 @11:34AM (#7958434)
What's "pseudo" about Clojure's dynamic typing?
Re:Functional programming in Clojure by brudgers on Saturday June 28, 2014 @11:07PM (#7960246)
The same sort of thing that's pseudo about pseudo random numbers...usually it is indistinguishable, sometimes in the case of Clojure one is reminded that it is probably wise to keep the underlying mechanics of Java's type system in mind if one wishes to maintain an accurate mental model. In particular, it is useful to keep in mind the way in which class and interface types structure their child types within a system of static typing.

This isn't a bad thing. Being built on Java provides tremendous utility. But the way in which Java makes lumps under the Clojure language layer which blankets it gives Clojure a different flavor than say Common Lisp...and note I said "different" not better or worse.

Anyway, that's the idea I was trying to capture with the term. I wasn't disparaging Clojure, just suggesting its relation to the JVM comes at the price against Haskell style greenfield implementation.

[deleted]
Re:Functional programming in Clojure by diego on Saturday June 28, 2014 @01:02PM (#7958661)
That has nothing to do with static or dynamic typing. -1/3 is a clojure.lang.Ratio. java.lang.Math/abs is an overloaded method that knows nothing about it. If you want that to work, wrap it in a float or use abs from clojure.math.numeric-tower.
Re:Functional programming in Clojure by macco on Sunday June 29, 2014 @10:57AM (#7961330)
I liked especially the Cojure part. For functional programming there are a lot of good resources imo.
Re:Functional programming in Clojure by freeduck on Saturday June 28, 2014 @04:30PM (#7959243)
This is the greatest introduction to clojure I have seen so far
Re:Functional programming in Clojure by estebanrules on Saturday June 28, 2014 @10:30AM (#7958285)
Thanks, this looks like a great course. Not quite sure how to sign-up but I'm sure I'll figure it out :)
Re:Functional programming in Clojure by alecdbrooks on Saturday June 28, 2014 @03:06PM (#7958985)
It resembles programming koans — you fork a repository and run tests to see if you succeeded:

>At the start of every chapter, you should go to Github and fork the chapters repository. There will be a link to the appropriate repository at the beginning of every chapter. You then clone your own fork of the repository and start working with the exercises when you encounter them among the material. You create commits and maybe push them in to your own fork while working. You also run the tests with lein midje to see if they pass.

Note that they mean the "chapter's" repository, not a "chapters repository" that contains everything.

Grading is done separately: a continuous integration tool runs your assignment and replies with your grade.

>When you want your answers graded, you push all of your work with git push. You then go to Github and send a pull request. At this point, Travis kicks in. It runs the tests for your code and then comments on the pull request whether the tests passed or failed. A link is also provided to see the nitty-gritty details.

Source: https://iloveponies.github.io/120-hour-epic-sax-marathon/bas....

Re:Functional programming in Clojure by sharms on Saturday June 28, 2014 @10:34AM (#7958294)
It looks like having a github account is how you get started, then you fork the repo and run tests after each exercise. Pretty neat
Re:Functional programming in Clojure by spacemanmatt on Sunday June 29, 2014 @09:16AM (#7961093)
You can clone a repo without an account
Re:Functional programming in Clojure by rapala on Sunday June 29, 2014 @12:22PM (#7961543)
Yeah, and the repos have all the same tests that are used by Travis for grading. So you can run those locally too.
Re:Functional programming in Clojure by cnp on Tuesday July 01, 2014 @03:04AM (#7969464)
I'm seriously excited to get started on this. So many courses start with such extreme density, but this one appears to have done it right.
Re:Functional programming in Clojure by cnp on Tuesday July 01, 2014 @07:47PM (#7974220)
Already have learned SO much more than anywhere else over the course of a single day.
Re:Functional programming in Clojure by kremlin on Saturday June 28, 2014 @02:31PM (#7958884)
small typo: "No other registration is reguired."
Re:Functional programming in Clojure by tricolon on Saturday June 28, 2014 @02:37PM (#7958900)
That's actually a rather common error for Finns. G and Q are almost exclusively used in loanwords and foreign proper names. What's more, some Finns pronounce the name for the letter Q as "guu". I've never figured out why.
Re:Functional programming in Clojure by jzzskijj on Saturday June 28, 2014 @02:51PM (#7958940)
"What's more, some Finns pronounce the name for the letter Q as "guu"."

That's how we Finns pronounce it in the Finnish alphabet. From there it easily slips into other languages that we speak. So it is like Finnish-English accent thing.

Re:Functional programming in Clojure by melipone on Saturday June 28, 2014 @08:01PM (#7959832)
Is there a time limit to this course or is it self-paced?
Re:Functional programming in Clojure by fingerzam on Saturday June 28, 2014 @10:59PM (#7960228)
There's no time limit.