5 ms·
Functional programming in Clojure
- reedlaw 12y agoedX also has an upcoming online course about functional programming: https://www.edx.org/course/delftx/delftx-fp101x-introduction-functional-2126 https://www.edx.org/course/delftx/delftx-fp101x-introduction...
- brudgers 12y agoA 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.
- omaranto 12y agoWhat's "pseudo" about Clojure's dynamic typing?
- deleted 12y ago[deleted]
- diego 12y agoThat 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.
- brudgers 12y agoThe 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.
- macco 12y agoI liked especially the Cojure part. For functional programming there are a lot of good resources imo.
- estebanrules 12y agoThanks, this looks like a great course. Not quite sure how to sign-up but I'm sure I'll figure it out :)
- sharms 12y agoIt looks like having a github account is how you get started, then you fork the repo and run tests after each exercise. Pretty neat
- spacemanmatt 12y agoYou can clone a repo without an account
- rapala 12y agoYeah, and the repos have all the same tests that are used by Travis for grading. So you can run those locally too.
- alecdbrooks 12y agoIt 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/basic-tools.html https://iloveponies.github.io/120-hour-epic-sax-marathon/bas....
- kremlin 12y agosmall typo: "No other registration is reguired."
- tricolon 12y agoThat'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.
- jzzskijj 12y ago"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.
- freeduck 12y agoThis is the greatest introduction to clojure I have seen so far
- melipone 12y agoIs there a time limit to this course or is it self-paced?
- fingerzam 12y agoThere's no time limit.
- cnp 12y agoI'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.
- cnp 12y agoAlready have learned SO much more than anywhere else over the course of a single day.