Live data from Hacker News

Hands-on Scala Programming

handsonscala.com

51–60 of 108 posts

Re: Hands-on Scala Programming

#51
Haoyi is an amazing guy. Last night at 8pm and 2pm this morning I submitted two PR to the Mill, he merged within one hour. In about 7 years, he helped to create an eco-system around Scala:

- REPL (ammonite)

- build tool (mill)

- JSON serializer(uPickle)

- web framework (cask)

- test framework(uTest)

- http client lib (requests-scala)

- HTML tag lib (scalatags)

- parser(fast parse)

Scala development and tool can be divided into four categories

- Java (OO): wrong idea for many developers. Use Kotlin if you like OO.

- Haskell (pure FP, even HKT): good for fun but not for profit. Use Haskell for pure FP.

- Erlang (Actors): fibers are better. Use Clojure if you like Actors.

- Easy: practical FP, the above tools from Haoyi. Use them if you program in Scala

I'd guess all is done after work. Please support him to make Scala better: https://www.patreon.com/join/lihaoyi

Re: Hands-on Scala Programming

#53

great action to make scala more accessible to developers. this should be a concrete answer to https://www.lihaoyi.com/post/TheDeathofHypeWhatsNextforScala...

I think they are both from the same author.

yes haoyi is taking concrete action to move scala forward

Re: Hands-on Scala Programming

#54
post #2

I didn't post this, but cool to see this up here! The full book is ~400 pages and will be released Summer 2020 (i.e. soon!). If you're interested in being notified when it comes out, there's a mailing list link on the page and I'll let you know when it's out. There will be both E-Books as well as paperbacks & hardcovers (assuming the supply-chains are still open in this COVID-19 global environment...) The first 5 cha…

Looks like Scala instead of OCaml is in my next language to learn.

You should! Been coding in Scala in my day job for the past 5 years, and it’s a great language - my personal favourite. Elegant/beautiful AND practical. The mix of OOP, FP, really robust static type system, and great 1st class concurrency support is a direction most languages are moving in, and Scala already nails it. There’s a significant learning/ramp-up period, but it’s good learning that helps your programming in any language, and once you start getting comfortable with the language you become quite productive.

Re: Hands-on Scala Programming

#55
post #40
post #37

Earlier quoted context omitted.

While Arrow exists I don't think its representative of the community overall.

Neither is cats in Scala. Most Scala programmers are probably just maintaining Play apps or using Apache Spark, with no pure FP in sight. The pure FP contingent is just very active and vocal online.

Unfortunately like you say the pure FP crowd are extremely vocal online and that seeps into the culture of any company that uses Scala. Most of the visible members of the community value and advocate for fp purity and 100% type-safety at any cost, and that has a large effect on who gets attracted to learn Scala in the first place, what they consider to be good or bad code, etc. The resulting culture of firms using Scala ends up being one of pure-fp aspirational, if not pure-fp outright. Anyone who denies the superiority of a pure fp approach is constantly brow-beaten for being such a simpleton.

Every time you dare use something as impure as a mutable object, or a non-const reference (so var instead of val), or even want to look up an item in a collection by index (unsafe operation since it will throw exception if index >= length) you'll have to prepare for a heckling from your team mates. Anyone you might ask help from online will first look down their nose at you for even wanting to do something so despicable, and you'll have to humour them with "well yes oh great FP lords, I know that this is really really bad I know, but I have to for .... reason, please help me anyways!".

Re: Hands-on Scala Programming

#56
post #26

Earlier quoted context omitted.

Will the ebook be released before the physical version? This is EXACTLY the book on Scala I've wanted and am so excited to see this coming!

I can’t really promise the “before”, but the e-book will be released when the current round of review and edits is complete. The physical books released when I can figure out the logistics of printing and distribution

Speaking as an Nof1, if you were to do an early access release like Manning does with their MEAP books, I would go for that.

Re: Hands-on Scala Programming

#58
post #2

I didn't post this, but cool to see this up here! The full book is ~400 pages and will be released Summer 2020 (i.e. soon!). If you're interested in being notified when it comes out, there's a mailing list link on the page and I'll let you know when it's out. There will be both E-Books as well as paperbacks & hardcovers (assuming the supply-chains are still open in this COVID-19 global environment...) The first 5 cha…

Could you compare your book to ``Scala for the impatient´´?,

Re: Hands-on Scala Programming

#59
post #40

Earlier quoted context omitted.

Neither is cats in Scala. Most Scala programmers are probably just maintaining Play apps or using Apache Spark, with no pure FP in sight. The pure FP contingent is just very active and vocal online.

Unfortunately like you say the pure FP crowd are extremely vocal online and that seeps into the culture of any company that uses Scala. Most of the visible members of the community value and advocate for fp purity and 100% type-safety at any cost, and that has a large effect on who gets attracted to learn Scala in the first place, what they consider to be good or bad code, etc. The resulting culture of firms using Sc…

There is definitely some truth in what you’re saying —- especially at startups without a strongly developed internal Scala culture.

I think it’s less of an issue at large companies like Twitter, Asana, Databricks, etc, which overall probably employ most working Scala programmers but not the most vocal.

Post reply on HN