• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Scala for the Impatient: Does the book teach the fundamentals of functional programming?

 
Ranch Hand
Posts: 147
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Sir,


Does your book teach the fundamentals of functional programming ?  


Thanks.
 
author
Posts: 284
35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes and no.

I am a great fan of functional programming from the ground up for expanding one's mind, like in the "Learn You a Haskell for Great Good!" site. But I am not so convinced that it's a productive learning approach for most practicing programmers. In fact, when the first batch of Scala books came out, I was a bit put off by the "we have sinned, and we must repent" approach that exhorted readers to give up their misguided object-oriented ways and embrace the one true way of functional programming instead.

After all, Scala is an object-oriented AND functional language.

So, when I wrote "Scala for the Impatient", I imagined the typical reader to be a programmer who knows and likes Java, and wants to know what Scala has to offer beyond that. I introduce functional concepts in stages, always motivated by practical examples (i.e. shorter, cleaner code), but without dogma.

I do recommend Martin Odersky's Coursera course "Functional Programming Principles in Scala", but I think you'll find it more accessible after having learned Scala fundamentals.

Cheers,

Cay
 
See where your hand is? Not there. It's next to this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic