News for hackers. Stuff that matters.
Re:Yammer moving from Scala to Java by dustingetz on Tuesday November 29, 2011 @08:25PM (#3293210)

  > I've developed an aversion to anything that doesn't 
  > follow the Zen of Python: "There should be one-- and 
  > preferably only one --obvious way to do it."
this is an interesting argument. but surely, given enough rope, a non-expert can hang himself in any language. I'm starting to wonder that all these language X vs language Y problems are really a matter of the skills of the team matched with the difficulty of the problem. joe bloe's blog needs beginner skills with python. embedded wireless systems need experts and C/asm, nuclear control systems are prototyped by experts in haskell. bigcos need large teams of average skill with Java, but as they are driven to become more competitive, perhaps they will turn to small teams of experts using scala.
Re:Yammer moving from Scala to Java by frio on Tuesday November 29, 2011 @08:46PM (#3293265)
> surely, given enough rope, a non-expert can hang himself in any language

I completely agree, and sometimes productivity absolutely demands that developers become more expressive. I've found Java overly restrictive in the past, and have spent time learning Python, Haskell and other languages (and seen decent increases in productivity when I feel less fettered by the language I'm programming in). That said, I've also come to appreciate the effect of more restrictive languages: readability and long-term maintainability. Coming back to old code can always be jarring; having to maintain decade-old Perl written in a variety of different styles was maddening.

While you can screw up in anything, it's worth appreciating that more expressive languages effectively hand you more "rope" :).

Re:Yammer moving from Scala to Java by draegtun on Wednesday November 30, 2011 @09:00AM (#3295014)
> having to maintain decade-old Perl written in a variety of different styles was maddening.

Interesting... I wonder how many languages can still run a decade old program?

This shows both the strength and weakness of Perl in that...

i) It has excellent backward compatibility

ii) So no one is forced to improve or update the program (over time) :(

Re:Yammer moving from Scala to Java by reginaldo on Tuesday November 29, 2011 @09:37PM (#3293397)
nuclear control systems are prototyped by experts in haskell

Do you have any source to back that (honest question)?

Re:Yammer moving from Scala to Java by fpgeek on Tuesday November 29, 2011 @10:20PM (#3293516)
It might be a pun referencing Atom ( http://hackage.haskell.org/package/atom-1.0.11 ) which is used for control systems, but not nuclear ones, AFAIK
Re:Yammer moving from Scala to Java by wtracy on Wednesday November 30, 2011 @06:00AM (#3294634)
I honestly suspect that kind of stuff is more likely to be done in Ada.
Re:Yammer moving from Scala to Java by gtani on Wednesday November 30, 2011 @12:34AM (#3293897)
not a nuclear control system, but embedded monitor (slide 26:

http://www.galois.com/~leepike/fm-galois.pdf

Re:Yammer moving from Scala to Java by dustingetz on Wednesday November 30, 2011 @12:52AM (#3293954)
nah, no sources, but its the quintessential application of haskell
Re:Yammer moving from Scala to Java by spaznode on Tuesday November 29, 2011 @10:13PM (#3293504)
C. For the non-control and more fucking your shit up systems
Re:Yammer moving from Scala to Java by rayiner on Tuesday November 29, 2011 @11:20PM (#3293698)
It's easy to blame the user, but the fact is that there are languages designed in good taste and languages designed in bad taste. I'd argue C++ is an example of the latter, with its panoply of awkward non-orthogonal features. It's quite possible that Scala is too, and that it's not just the user's fault.
Re:Yammer moving from Scala to Java by soc88 on Wednesday November 30, 2011 @10:40AM (#3295343)
I'd consider that Scala is pretty much on the “good taste” side.

The features are very orthogonal and thought-out and much of the old legacy cruft is removed.

Re:Yammer moving from Scala to Java by bad_user on Wednesday November 30, 2011 @11:55AM (#3295676)
I don't know how you can consider Scala's features as being orthogonal.
Re:Yammer moving from Scala to Java by soc88 on Wednesday November 30, 2011 @02:36PM (#3296498)
Because I actually have used it, which separates me from “experts” like Colebourne.
Re:Yammer moving from Scala to Java by drivebyacct2 on Tuesday November 29, 2011 @08:45PM (#3293262)
The difference is how easy a language makes it to hang ones self, or how many ropes are lying around to do it with. I think the article touches on it aptly. It's not so much a fault of the language (one can debate the semantics of it), so much as it is an outcome of greater-than n-sized (where n is 1, 2, maybe 3) non-high-expert-Scala-users teams. The lack of an easy to grok idiomatic way of writing code is hard on a team. It bothers me when I write code and don't know the idiomatic way of doing it, and I'll often solicit feedback and rewrite it just for my own sake (really, on code that no one else will ever really see or touch).