News for hackers. Stuff that matters.
Re:Scala – 1 Star – Would Not Program Again by rdtsc on Monday December 02, 2013 @02:29AM (#6832308)
> Scala is on my "will not work with" list of languages/technologies

Just curious, what are the some languages/platforms you like or enjoy using? (Mine are Python, Erlang and Go for ex).

Re:Scala – 1 Star – Would Not Program Again by MetaCosm on Monday December 02, 2013 @02:59AM (#6832408)
Hobby wise: Haskell, Rust, Nimrod, Haxe

Shipping code: Go, Erlang, C++11 (avoiding legacy), F# (with Xamarin)

I program in many more, but those are probably my top 8 right now.

Re:Scala – 1 Star – Would Not Program Again by tinco on Monday December 02, 2013 @06:44AM (#6833095)
You never work with scripting languages? (i.e., why is there no Python, Ruby or Javascript in your lists? or maybe I do'nt know Haxe, does that replace them?)
Re:Scala – 1 Star – Would Not Program Again by MetaCosm on Monday December 02, 2013 @03:17PM (#6836219)
Most of the stuff I work on is highly concurrent. GILs are the devil. Almost all the joy and ease you from GIL languages is lost as you try to go concurrent and have to use (in python for example) multiprocess and gevent ... then you start getting caught on the rough edges and poor ideas in those tools... and everything falls apart.
Re:Scala – 1 Star – Would Not Program Again by rdtsc on Monday December 02, 2013 @10:53PM (#6838362)
GIL is all evil. If your are dealing with CPU bound concurrency yes, GIL is there to take the fun away. But if your problem is most about IO concurrency (downloading from multiple sockets for ex) GIL is no problem. I get very nice speedup from Python's threads with a silly web crawler I wrote.
Re:Scala – 1 Star – Would Not Program Again by dragonwriter on Monday December 02, 2013 @03:33PM (#6836302)
GIL isn't a language feature, it's an implementation feature — in Ruby, at least, this is a significant difference because there a major implementations (Jruby, most notably) without it even though it is a feature of the MRI implementation.
Re:Scala – 1 Star – Would Not Program Again by MetaCosm on Monday December 02, 2013 @06:58PM (#6837528)
True, but JRuby comes with it own huge bag of rough edges (read: no C extensions for you without a bit PITA). IronPython is in a similar boat.

That said, I do prefer JRuby to Scala.

Re:Scala – 1 Star – Would Not Program Again by syllogism on Tuesday December 03, 2013 @09:00AM (#6840238)
Another option is to use Cython. You can declare a function "nogil", but then you can't call any native Python functions within it. It's good enough for some purposes, but not all.
Re:Scala – 1 Star – Would Not Program Again by Zolomon on Monday December 02, 2013 @08:22AM (#6833420)
Both Haskell and F# have good REPLs and are adequate for writing "scripts", maybe he prefers statically typed languages?
Re:Scala – 1 Star – Would Not Program Again by MetaCosm on Monday December 02, 2013 @06:58PM (#6837522)
And Go compile speed combined with "go run foo.go" makes it feel like a scripting language without a REPL.

But in reality, when I need quick scripting, I mostly use ZSH.

Re:Scala – 1 Star – Would Not Program Again by asdasf on Monday December 02, 2013 @10:13AM (#6834092)
I'm not them, but I have no scripting language in my list either. There is simply no need for one. For small sysadmin scripting, sh is nicer than a scripting language. For anything bigger than ~50 lines, I use haskell.
Re:Scala – 1 Star – Would Not Program Again by tinco on Monday December 02, 2013 @10:35AM (#6834234)
Fair enough, but sh is a scripting language also :)
Re:Scala – 1 Star – Would Not Program Again by Egregore on Monday December 02, 2013 @12:17PM (#6834929)
I think with macros in Haxe you can create similar readability problems which you don't like in scala.
Re:Scala – 1 Star – Would Not Program Again by codygman on Thursday December 05, 2013 @04:29PM (#6857394)
I'm curious as to whether you have shipped or have thought about shipping code in Haskell and why or why not. Rust I'm assuming is too new for that to be an option.