other-languages

here be heresies and things we have to use for work
sveri 2016-05-09T11:45:28.000390Z

@seancorfield: Hey, you said that you would rather choose the F# .Net stack if you did not have so many Java libs. Would you elaborate on the reasons for that a bit, please?

martintrojer 2016-05-09T13:52:39.000391Z

obviously there is a solution for that; https://www.ikvm.net/

seancorfield 2016-05-09T15:55:14.000392Z

@sveri: Well, I meant, if F# ran on the JVM and I could use it with my existing codebase.

seancorfield 2016-05-09T15:56:34.000393Z

I like F# — I think it’s a nice, clean language with good roots, I like type providers. I haven’t built anything big with it but my experiences learning it and playing with it have been good.

borkdude 2016-05-09T15:58:25.000394Z

I don't feel there is a big difference in features between F# and Scala. Why didn't you go for Scala?

borkdude 2016-05-09T15:59:04.000395Z

Oh yes, you already mentioned upgrading versions was a pain.

borkdude 2016-05-09T15:59:27.000396Z

I have only been using it for three months, didn't feel /that/ pain yet

borkdude 2016-05-09T16:02:07.000397Z

Kotlin may be a better fit then, it seems like a modernized stripped down version of Scala with some handy extra features around null-safe programming

seancorfield 2016-05-09T16:18:02.000398Z

I think F# is much nicer language than Scala...

borkdude 2016-05-09T16:18:59.000399Z

Ostensibly yes, but if you look past the horrible syntax, it offers more or less the same feature set

borkdude 2016-05-09T16:21:46.000401Z

Scala also has higher kinded types. I don't really care about them yet, because I don't know how to use them 😛.

seancorfield 2016-05-09T16:31:08.000402Z

But syntax is a big issue, subjective tho’ it is. Syntax is why a lot of people "don’t like" Clojure/Lisp, for example.

borkdude 2016-05-09T16:31:32.000403Z

True. I find F# or Haskell reads much better than Lisp.

borkdude 2016-05-09T16:32:06.000404Z

However, I don't like camel-casing. I prefer hyphens like in Lisp.

borkdude 2016-05-09T16:33:57.000405Z

Scala is really eye-bleeding. Also I have wondered about some library names Scala people choose. Like: Scalariform. Could one come up with an uglier name?

seancorfield 2016-05-09T16:40:17.000406Z

For me the worst thing about Scala is the two-headed beast nature of it: it’s unabashedly an OOP language, sold as a "Better Java", and at the same time it tries hard to be a rigidly type-preserving FP language. It’s neither fish nor fowl.

arrdem 2016-05-09T16:47:05.000407Z

Has anyone messed with Lux? (https://github.com/LuxLang/lux)

borkdude 2016-05-09T16:49:35.000410Z

Scala is (mostly) immutable OO with function objects added.

sveri 2016-05-09T17:44:45.000411Z

@seancorfield: Thanks

sveri 2016-05-09T17:45:12.000412Z

What I liked most about scala were the case classes. It's these tiny little things that bring me joy or pain. Just like maps / vecs in clojure :simple_smile:

borkdude 2016-05-09T17:46:46.000413Z

Case classes are really nice

seancorfield 2016-05-09T17:46:59.000414Z

Yes, this. Which is really what annoys me most about Scala. https://clojurians.slack.com/archives/other-languages/p1462812575000410 And, yes, case classes are nice.

borkdude 2016-05-09T17:48:19.000416Z

@seancorfield: what annoys you about it?

seancorfield 2016-05-09T17:49:08.000417Z

It’s OOP first and foremost with FP "bolted on". And most Scala code out there is either "Better Java" (OOP with some immutability) or "Haskell in Scala clothing" (e.g., Scala Z).

seancorfield 2016-05-09T17:50:53.000418Z

Back when we were doing Scala at work, I went to quite a few Scala conferences (several of LiftOff, ScalaDays etc) and some of the stuff folks were doing with implicits and the most esoteric aspects of the type system were… mind-boggling and not in a good way.

seancorfield 2016-05-09T17:52:03.000419Z

I ran into someone from a bank who’d been sent to the conference to evaluate Scala and its community as an option for them to move on from Java… and she said after a day and a half of that, she couldn’t possibly recommend it to her team.

borkdude 2016-05-09T17:52:15.000420Z

LOL

seancorfield 2016-05-09T17:52:56.000421Z

Scala is a "kitchen sink" language. It has "everything", and it tries hard to be all things to all people.

seancorfield 2016-05-09T17:53:43.000422Z

That was C++’s problem too (and I say that as a former long-time member of X3J16).

borkdude 2016-05-09T17:53:56.000423Z

@seancorfield: when was this?

seancorfield 2016-05-09T17:55:37.000424Z

I was doing Scala in 2009/2010...

seancorfield 2016-05-09T17:56:15.000425Z

We still had Scala in production in 2011 but we’d started the switch to Clojure and by mid-2011 we’d abandoned Scala altogether.

seancorfield 2016-05-09T17:56:53.000426Z

I’ve gone back to it a couple of times for Coursera courses and "to play". And it still frustrates me in the same ways it did when I used it for production work :simple_smile:

borkdude 2016-05-09T17:59:46.000427Z

I've also done the coursera course

borkdude 2016-05-09T21:09:15.000431Z

"To become learned, each day add something. To become enlightened, each day drop something."

💯 3