Live data from Hacker News

Scala founder: Language due for 'fundamental rethink'

infoworld.com

71–80 of 118 posts

Re: Scala founder: Language due for 'fundamental rethink'

#71
post #35

Earlier quoted context omitted.

Unlikely, Clojure is very much its own thing, won't draw those that are drawn to Scala (rich type system, (G)ADTs, performance, etc.). That branch of potential adoption is minisicule anyway (even compared to Scala which relative to Java is itself tiny). So, the elephant in the room is indeed Java 8. Will Scala at long last be killed? Perhaps, but highly unlikely, Scala lives and dies on its ecosystem (Akka, Play, Spa…

Clojure is becoming increasingly popular in banks in the UK. (as I heard from trusted person)

What's up with the UK? Scala is also becoming increasingly popular in banks in the UK (as I heard from trusted persons).

CLOS, Smalltalk, and Objective C (before it was cool) were for a long time very popular on Wallstreet.

Re: Scala founder: Language due for 'fundamental rethink'

#72

Earlier quoted context omitted.

Or "another language that's becoming popular, Node.js"

Lol - "language", it's not even a platform.

Libraries, frameworks, and languages are actually quite similar; it was long ago that when people said "Ruby" they actually meant "RoR".

Re: Scala founder: Language due for 'fundamental rethink'

#73
post #45
post #10

> Essentially, the fusion of [functional and object-oriented programming] can have a power that neither of the two paradigms individually can have. I tend to disagree. OOP can borrow some FP stuff (as we see with map/each/select/reject in Ruby for instance, or lambda's in Java); or to take it broader: imperative can borrow some from declarative. But "fusing" the two will cause FP's ease-of-reasoning ("just functions…

I think there's a huge opportunity for FP+OO... but that OO will have to be rethought from first principles (which are lacking in OO). More specifically, I think OO-style code interactions are great but that they need to be separated from ambient mutability, subtyping, subclassing, inheritance, etc. Late binding/open corecursion is really cool however. I would like to see a language which starts with ML modules as a…

What is "open corecursion"?

Re: Scala founder: Language due for 'fundamental rethink'

#74
post #39

Earlier quoted context omitted.

You also have to decide whether to use scala as a functional language or as a better java. Each approach has its merits and drawbacks.

Do you think Scala could succeed with a "Scala--" fork: "Java, the good parts". Just a few things like type inference and implicits and case classes would be enough to make Java devs drool without getting scared by FP or performance scares.

You could totally use Scala as a language without the laziness, which can be quite a pain when doing perf-sensitive work. Traits are also a huge deal.

I don't think the community wants to go in that direction though. Who Scala attracted was a lot of FP programmers (Haskell/ML) who wanted to do work on the JVM; not Java programmers looking for a better alternative to Java on the JVM.

So is life.

Re: Scala founder: Language due for 'fundamental rethink'

#75

Earlier quoted context omitted.

Syntax is absolutely not the issue.

Scala's syntax is a glorious fuckup! YMMV

Scala's syntax is actually quite nice. But I guess it depends on what you are comparing it to.

Re: Scala founder: Language due for 'fundamental rethink'

#76

Earlier quoted context omitted.

Scala's syntax is a glorious fuckup! YMMV

You didn't read GP's post?

"In terms of complexity, I don't know whether Yammer featured that, but you definitely do hear that a lot [from] many people. Yes, absolutely -- that's precisely what we want to address in the future versions." --Odersky

I read it, I'm just asserting it! Any issue with that?

Re: Scala founder: Language due for 'fundamental rethink'

#77
post #45

Earlier quoted context omitted.

I think there's a huge opportunity for FP+OO... but that OO will have to be rethought from first principles (which are lacking in OO). More specifically, I think OO-style code interactions are great but that they need to be separated from ambient mutability, subtyping, subclassing, inheritance, etc. Late binding/open corecursion is really cool however. I would like to see a language which starts with ML modules as a…

I think there's a huge opportunity for FP+OO... but that OO will have to be rethought from first principles (which are lacking in OO). More specifically, I think OO-style code interactions are great but that they need to be separated from ambient mutability, subtyping, subclassing, inheritance, etc. This has already happened. Ideally, good object-oriented code should always prefer immutability over mutability, should…

> So the issue isn't that these standards don't exist; it's that they aren't widely understood among users of object-oriented languages.

But we're talking about language design. I think enforcing constraints is much (maybe all, from a certain point of view and definition of "constraint") of what a programming language ought to do. Haskell code is principled because the language is principled, not because of conventions passed from an ivory tower.

Also do you know of any languages built around those principles you mention? It sounds like studying such a language might make OO click for me a little more.

Re: Scala founder: Language due for 'fundamental rethink'

#78
post #64
post #59

Earlier quoted context omitted.

I feel that Golang in many ways is on that path, the way it does not allow no-subclassing really got me thinking. > I don't think it would, at the end of the day, look much at all like OO the way that OO appears today Won't it be more like a Actor-oriented thing then?

"I feel that Golang in many ways is on that path, the way it does not allow no-subclassing really got me thinking." I'm pretty decent in Haskell and fluent in Go at this point, and it really depends on what you mean by that. Is Go a certain brand of very refined OO? Yes. I've even found certain ideas from PF are surprisingly adaptable [1], the "surprise" being that it's not the usual "Look, Ma, I can map/filter/reduc…

> it really depends on what you mean by that. Is Go a certain brand of very refined OO? Yes.

Indeed that's what I meant.

Re: Scala founder: Language due for 'fundamental rethink'

#79
post #40

Earlier quoted context omitted.

> So you don't use type classes in Haskell? Sorry, how does this remark relates to my comment?

I assume it was intended to be 1) an assertion that type classes are OO, and 2) an implication that using them is mixing OO in your FP (which you said you don't like to do), and so 3) an allegation of inconsistency which should be clarified or examined. There are a few places where this chain is weak.

> an assertion that type classes are OO

They never occurred to me as OO. Could someone explain this?

Re: Scala founder: Language due for 'fundamental rethink'

#80
post #35

Earlier quoted context omitted.

Clojure is becoming increasingly popular in banks in the UK. (as I heard from trusted person)

What's up with the UK? Scala is also becoming increasingly popular in banks in the UK (as I heard from trusted persons). CLOS, Smalltalk, and Objective C (before it was cool) were for a long time very popular on Wallstreet.

Supposedly, Haskell and F# are also big in UK banks. Wow.
Post reply on HN