43 karma · joined Sep 2, 2013 (13y ago) · 24 submissions
comment 11y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
edit: On topic, this is really, really cool. I was playing around with SIMD intrinsics in C++ a few days ago (and realized that the compiler was in most cases generating equal or better code with the auto-vectorizer than me using intrinsics) so I have kind of a new-found interest in the topic.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
I think I know what I'll do for the rest of the evening.
comment 13y ago · link · parent
comment 13y ago · link · parent
> SQL is already the best DSL for accessing relational databases.
I have no real opinion on the matter, as someone who doesn't like working with databases very much, I appreciate the comfort a ORM mapper gives me, but so far, all my web apps have been very small and basically trivial, so I don't know how they work with bigger projects.
[0]: http://www.playframework.com/documentation/2.2.x/ScalaAnorm
comment 13y ago · link · parent
comment 13y ago · link · parent
val object = MyObject(someOtherObject(12, "hello")) // Scala
instead of:
MyObject object = new MyObject(new someOtherObject(12, "hello")); // Java
saves a lot of time and it just looks nicer. All the while retaining the advantages that static, strong typing have (great potential for refactoring, a lot of errors can't happen at all). Of course, there are some things that will still take up more space than they do in Python or Ruby but it's a great improvement. Languages like Rust, Scala or C# also have a good variety of functional programming tools that can make your life a lot easier.