News for hackers. Stuff that matters.
Re:Amazon is hiring Clojure devs by digitalzombie on Thursday November 27, 2014 @01:11AM (#8666193)
Totally agree with you.

I was really into Scala and studying it and everything. I still remember all the scala bloggers I follow, Daniel, Tim MOrris, Paul Snively, etc...

Eventually I landed into a scala job role. Oh boy was it different. The other programmers were like type casting to Any or whatever that generalize highest type was (unified type theory).

The complexity is pretty high, it's great if you know it all but in all seriousness it was impeding...

Re:Amazon is hiring Clojure devs by deepGem on Thursday November 27, 2014 @07:19AM (#8666913)
That's just bad usage of a language feature don't you think. I'm still trying to figure out whether to blame the language because of the way programmers use it.

Personally, I like the object + static typing + first class functions as it eliminates 90% of errors at compile time. If any error occurs at run time, am pretty sure it's logical. This is a huge plus. The only drawback - the ridiculous amount of type specific code you have to write for mundane changes/updates.

Re:Amazon is hiring Clojure devs by disputin on Thursday November 27, 2014 @01:34PM (#8668367)
Re:Amazon is hiring Clojure devs by saryant on Thursday November 27, 2014 @01:17AM (#8666204)
> The other programmers were like type casting to Any or whatever that generalize highest type was (unified type theory).

As a Scala dev, that is absolutely terrifying. I can't even begin to think of a good reason for that.

Re:Amazon is hiring Clojure devs by codygman on Thursday November 27, 2014 @03:13AM (#8666417)
It sounds like a Haskell programmer using unsafePerformIO everywhere. Or, perhaps a more apt example would be using Data.Dynamic for everything.
Re:Amazon is hiring Clojure devs by saryant on Thursday November 27, 2014 @03:40AM (#8666456)
Yeah, casting to Any isn't a "grey area" in Scala's OO/Functional mix, it's just plain crazy.
Re:Amazon is hiring Clojure devs by carterschonwald on Thursday November 27, 2014 @10:45AM (#8667641)
Those are still pretty safe to do. OTOH, Any drops everything on the floor
Re:Amazon is hiring Clojure devs by michaelochurch on Thursday November 27, 2014 @11:43AM (#8667952)
unsafePerformIO is for quiche eaters. Real programmers use accursedUnutterablePerformIO.

(Ok, but in all seriousness... don't.)

Re:Amazon is hiring Clojure devs by michaelochurch on Thursday November 27, 2014 @11:46AM (#8667964)
Scala with mediocre programmers (CommodityScrumDrones writing FactoryVisitor classes) is an outright disaster.

The Java community has its flaws (oh boy, does it) but it has adapted to the hordes of mediocrities. Give Scala to mediocre engineers (who typecast to Any, use null instead of Option[T]) and you have the Java hell with worse IDE support and 5x compile times.

Re:Amazon is hiring Clojure devs by frowaway001 on Thursday November 27, 2014 @11:56AM (#8668005)
It's quite easy to disallow all of that.
Re:Amazon is hiring Clojure devs by saryant on Thursday November 27, 2014 @01:36PM (#8668376)
Yeah, pretty sure you could get WartRemover or one of the other static analysis tools to disallow these sort of egregious violations.