3,365 karma · joined Mar 28, 2007 (19y ago) · 672 submissions
63.
Show HN: Clojure for the Brave and True – now free online(braveclojure.com ↗)
224 points · by nonrecursive · 11y ago · 30 comments
comment 11y ago · link · parent
A few things to clarify:
* The before/after flyers were taken from real life. These were printed out and tacked up to community boards and the like.
* One reason why I think the right poster is better is that it looks nicer on the surface and would therefore be more enticing for people to read to find the details. I think the left poster looks like it would be harder to find information. If an ad looks hard to decipher, then people aren't even going to bother. A lot of criticism here has to do with how the phone number doesn't stand out. If you're walking down the street and just see a giant phone number scrawled on a wall, would you call it? No. You need to have a reason to call it. I think that the flyer on the left gives passersby less reason to call.
* That said, I do need better examples, and the site needs to look less ugly. As it happens, my next project after finishing http://braveclojure.com is to revamp this site. If you're interested in hearing about the revamp, please sign up for an email reminder: http://eepurl.com/biiMZT . I'm going to add more content on actually implementing this stuff using CSS/SCSS. If you think the Clojure site is OK looking then you'll probably like the new visual mess content.
* For some reason, beginners seem to love this site as it is. Weird!!!
edit: If you have little or no experience trying to do visual design, I hope the site has encouraged you to give it a try, if only so that you can do better than I did :)
edit 2: Back in 2011 I wrote a blog post thanking readers, looks like it's relevant again: http://www.flyingmachinestudios.com/design/cuym-thank-you/
65.
Boot, the Fancy New Clojure Build Framework(flyingmachinestudios.com ↗)
4 points · by nonrecursive · 11y ago · discuss
comment 11y ago · link · parent
If you still have trouble feel free to leave a comment on the site or tweet me - I'll be able to respond more quickly that way :)
68.
Atlas Beta – The new learning environment from O’Reilly(chimera.labs.oreilly.com ↗)
52 points · by nonrecursive · 11y ago · 9 comments
69.
tmux in 5 minutes(flyingmachinestudios.com ↗)
2 points · by nonrecursive · 12y ago · discuss
70.
Interacting with Java in Clojure(braveclojure.com ↗)
4 points · by nonrecursive · 12y ago · discuss
71.
Explanation of Combinators for the Working Man(stackoverflow.com ↗)
4 points · by nonrecursive · 12y ago · discuss
72.
The Periodic Table of Storytelling(designthroughstorytelling.net ↗)
2 points · by nonrecursive · 12y ago · discuss
comment 12y ago · link · parent
comment 12y ago · link · parent
Still, though, I think you have it wrong about Clojure's design. You mentioned the talk "the value of values." Immutability and functional programming are core to Clojure's philosophy. This is pointed out on the clojure.org home page. I'm not sure why you think it's not?
Also, Clojure is meant to be a general-purpose language. Also from the home page: "It is designed to be a general-purpose language". So I'm not sure why you think otherwise? I started learning Clojure with 0 experience with the JVM, and many others are doing the same.
I'm also not sure what you mean by "education is entirely orthogonal to Clojure." I think you're commenting on the value of producing an introductory Clojure book? In any case - you mention that "there are better languages for teaching functional programming." The point of Clojure for the Brave and True is not to teach functional programming, it's to teach Clojure.
comment 12y ago · link · parent
I don't know if its emphasis on functional programming and values makes Clojure unique, but that's definitely one of its core design concerns. The "article" is a chapter from a book on Clojure, and learning to write in a purely functional style is essential to learning Clojure. The point of the chapter isn't to get to the heart of what makes the language unique, it's to offer instruction on how to use it.
comment 12y ago · link · parent
Also, you say that lisps have "always had shared structure." I'm not sure what you mean by that? Clojure implements _structural sharing_, which is what allows it to have persistent, immutable data structures. Common Lisp certainly doesn't do the same.
I'm not sure what you mean by "Lisp went on a journey to Java and was transformed by the experience." I think you're saying that Rich Hickey designed Clojure to be a lisp that's more Java-like? Could you explain how? My impression is that Rich Hickey thinks OO is broken (see the talk "Are we there yet?"), as is the notion of mutability as implemented by Java. Clojure's interop with Java is a great convenience, but the emphasis is still on functional programming. I don't think I understand what you're saying, or maybe it's just that we disagree?
Finally, from clojure.org: "Clojure is predominantly a functional programming language, and features a rich set of immutable, persistent data structures. When mutable state is needed, Clojure offers a software transactional memory system and reactive Agent system that ensure clean, correct, multithreaded designs." Maybe it's these state management features you're concerned about? If so, then I would suggest that vars, atoms, refs, and agents are not as inspired by Java as you're saying. Or maybe we just disagree that, the majority of the time, you should be writing pure functions and using immutable data structures in Clojure?
comment 12y ago · link · parent
Second, the point of the point of the chapter is to show how much can be accomplished without mutating data structures. I think that's something valuable to focus on. Saying "You can do a lot with pure functions and immutable data structures" is not the same as saying "You'll never need to mutate anything" and as the author, I apologize if my writing suggests otherwise :(
Lastly, Clojure definitely places a huge emphasis on limiting mutability by using pure functions and immutable data structures. I think Rich Hickey even describes pure functions as stable bricks or stable atoms in one of his talks. My impression is that it's definitely not the love child of common lisp and java. Clojure is pragmatic, but that doesn't mean it doesn't place an emphasis on functional programming. I agree that it's "not bogged down in a theory of pure anything", but that doesn't mean it wasn't intentionally designed to support and encourage programming with pure functions and immutable data structures.
comment 12y ago · link · parent
edit: Realm of Racket is also a good lisp book, and a lot of people like "the little schemer". It's hard for me to say how good these are for people completely new to programming, though.
Finally, there's the ClojureBridge curriculum, which is targeted at new programmers: https://github.com/ClojureBridge/curriculum
comment 12y ago · link · parent
To clarify what I meant in my earlier post: Yes, they are different, by definition - one group is the majority, the others are minorities. That doesn't mean that they're different in terms of intelligence, ability, or worth. Treating minorities "differently", otherwise known as "helping", is logical. It recognizes that the majority already gets "special treatment", because those in the majority are already looking after each others' interests.
comment 12y ago · link · parent
I'm only going to respond to C because it's the most ludicrous. Recently, I (an asian male) was a teacher assistant at the very first ClojureBridge, and during the training I learned more about why these workshops are useful and important. They create an environment where attendees feel more comfortable learning, making it much more likely that attendees will be successful in learning to program. You can argue whether or not it's "right" that women would feel more comfortable attending a workshop geared specifically toward women, but frankly I think that's irrelevant.
The author says that these organizations give the message that "These people are different from the majority so we need to treat them differently." Well, yes. What's wrong with that? The author doesn't explain. In any case, I think this is a good thing because the majority already has special treatment, thanks to human nature. There is ample evidence that women and black people are seen as less capable, even by people who have no desire to be prejudiced. How easy will it be for you to learn if the people surrounding you all assume that you're not as smart as them just because you're a woman or you're black? It's important that these conscious efforts to combat the results of our unconscious biases exist.
81.
Concurrency, Parallelism, and State. And Zombies.(braveclojure.com ↗)
6 points · by nonrecursive · 12y ago · discuss
82.
Clojure/West 2014 videos uploaded(youtube.com ↗)
2 points · by nonrecursive · 12y ago · discuss
comment 12y ago · link · parent
This advice is golden, and it's pretty cool to see such joy, enthusiasm, and generosity rewarded.
comment 12y ago · link · parent
comment 12y ago · link · parent