News for hackers. Stuff that matters.
Re:Reasonable Scala Compiler by catnaroek on Friday August 18, 2017 @03:39AM (#15044291)
> Scala, Common Lisp, C++, D, Clojure, F#, OCaml, Kotlin, etc.

Out of those, only OCaml really provides “reasonable” support for functional programming. The ability to manipulate compound values (say, lists or trees) directly, without using objects having a queryable physical identity, is of course a prerequisite.

> it is difficult to create the perfect language, and any sufficiently complete language (...)

Maybe the excessive amount of features is the problem in the first place.

Re:Reasonable Scala Compiler by stewbrew on Friday August 18, 2017 @06:08AM (#15044894)
While OCaml might be the most reasonable in theory, AFAIK opam on Windows still doesn't work. Also its standard library is too minimal for my liking.
Re:Reasonable Scala Compiler by loup-vaillant on Friday August 18, 2017 @10:47AM (#15046652)
User catnaroek was only talking about support for Functional programming. And they're right: it's hard to reasonably support typed functional programming without sum types.

And we're talking about a language dammit, not libraries or package managers. Let's have a good language first, then build the tools around it.

Re:Reasonable Scala Compiler by catnaroek on Friday August 18, 2017 @12:23PM (#15047543)
It's even worse: it's hard to reasonably support functional programming, typed or untyped, when list and tree values aren't directly expressible in the language's semantics. If you need a social convention not to query physical object identities, you have already lost.
Re:Reasonable Scala Compiler by catnaroek on Friday August 18, 2017 @12:25PM (#15047561)
The lack of a good standard library can always be fixed: write one. OTOH, language semantics issues can't be fixed without redefining the language, invalidating all code that has already been written in it.
Re:Reasonable Scala Compiler by tome on Friday August 18, 2017 @05:25AM (#15044735)
F# allows you to distinguish values by identity?
Re:Reasonable Scala Compiler by catnaroek on Friday August 18, 2017 @12:11PM (#15047441)
You can always query the identity of the .NET object that underlies a putative compound value.