diminishedprime's comments

diminishedprime | 9 years ago | on: The Bipolar Lisp Programmer (2007)

While the "BBM" tends to work alone and be frustrated at artiface at every corner, when you get a few or more working together, some really great things can come together. I've experienced that firsthand.

diminishedprime | 9 years ago | on: Answer: none of them

I might be in the minority here, but "fighting unfamiliar syntax" seems like a lazy argument to me. I've played around with many languages, and after getting used to the first non-c family syntax (in my case, Scheme) it never bothered me anymore. There are valuable lessons I've learned from other languages and I don't think I could have learned them if I would have stayed in the language I was comfortable in at the time. It's much more difficult (in my mind) to try novelty when you have ingrained habits already.

diminishedprime | 10 years ago | on: Shem: A Haskell-Derived Compile-to-JavaScript Lisp

One thing I've noticed is depending on how your code is being compiled/transpiled, having smaller defn's over them being nested in a let can lead to better performance since inlining becomes an easier problem.

This is particularly true in clojure, since it's being compiled to java byte-code, and the jvm has a few default settings for how deep it'll look into the call tree for inlining. See https://www.youtube.com/watch?v=0tUrbf6Uzu8 for a talk that mentions this.

diminishedprime | 10 years ago | on: Clojure at a Real Estate Portal

I've noticed the complete opposite. There's less of an emphasis on unit tests, but that's because the nature of FP enables you to need less of them. Instead of needing to check (at least as often) if objects behave correctly, you can write the few tests necessary to give you some regression abilities later on.

I've noticed a huge emphasis on testing the sytem, specifically through means of generative/property-based testing.

diminishedprime | 10 years ago | on: Apple Watch Pixels

I couldn't help but notice that quote, either. I wonder why the author found it necessary to put that in on an article about the pixels of the Apple Watch? I don't see that information doing much besides inciting a flame war.

diminishedprime | 10 years ago | on: A Quick Puzzle to Test Your Problem Solving

That's exactly what I was thinking. I (sometimes) follow TDD, and I applied it to this problem. I made sure to include negatives, 0, positives, and include primes here or there to help avoid issues with multiplication/exponentiation. After a few of these, I felt pretty confident that the rule was simple.

diminishedprime | 11 years ago | on: Fish shell

>There is no place for bash.

Just curious, why do you say this? I've used bash for years for basic command line things and now it sounds like I've been missing out on great features that other shells have.

page 1