HN user

scala8

3 karma
Posts0
Comments5
View on HN
No posts found.

What do people mean when they say "powerful type system"? Does that mean it could potential be a downward spiral where everyone creates their own DSL?

I use Ruby on Rails and Django - and in ruby and python, it's interpreted on the fly.

How will a type system, let alone a "powerful type system", help improve ruby or python's web apps?

For a website?

Why scala? Because LinkedIn and Twitter use it?

I have had great experience with Django in the past 8 years. Nice tooling. Nice template engine. Nice ORM. Mature. Scalable. Robust.

The main detractor you'll hear about it is performance. You're just building a website. Even in situations where I'm recompiling LESS (bootstrap), with all debug tools on, and rendering images in the same pageload, it takes 200ms.

Since python is interpreted, you just refresh the page. No 10 minute compiling just because you had a typo.

One thing about django I don't like though is you never get the "snappy" feeling of just loading a page like lightning fast. Java / scala / golang gives the impression.

   It is a more expressive language that leads to less bugs down the road. Encouraging lots of immutability is huge, as well as a bunch of other benefits.
Deja vu. I use to talk just like you. My colleagues would too.

I miss Java's verbose-ness. It's hell, but for large codebases and tooling - I wish I had a bottle of JDK 8 right now.

I heard a lot of this "prescription"-like talk, it'll buy us a lot X down the road. I blame our "this or nothing" attitude toward scala.

We would unconsciously, I think, immediately cast aside any contrary information. We thought ourselves as using this perfect tool and were condescending to anyone who used other things.

We wrote everything in it. We fired 2 node/python coders.

We're too invested and afraid to admit reality, it's a flawed language. Too complicated. Too many idioms for the lexer to handle.

Frankly, the only scala engineer who ever admitted it (they outright ban scala detractors on the mailing list and freenode) was Brad Phillips. Don't take my word for it, I recommend looking him up.