Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about functional-style programming in Programmer's Guide to Java SE 8 OCA

 
Cleo Junior
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Khalid and Rolf!

Firstly, congratulations on the book. I'm sure It will be of great help for everyone, including me.

My question is: Which is the main points of functional-style programming covered on this book? I'm curious about that.

Best regards,
 
Khalid A. Mughal
author
Ranch Hand
Posts: 116
7
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Functional programming is fun. I had to resist the temptation to include more stuff on this topic in this book.
The basic theme in the OCAJP book is the following:
• Understand behavior parameterization in functional-style programming
Essentially packaging behavior and passing it as a value, without the need to create objects.
Plenty of examples in the book to motivate this idea.
In addition, to provide a comprehensive and cohesive coverage, the following related topics are also covered:
• Provide an overview of the general-purpose functional interfaces in the java.util.function package
• Implement lambda expressions in the context of a functional interface
• Understand the implications of a lambda expression in the context where it is defined
• Understand type checking and deferred execution of a lambda expression
• Define selection criteria as predicates for filtering ArrayLists
As I have mentioned elsewhere, wielding lambdas is going to be an assential skill for any Java programmer. :-)
 
Cleo Junior
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much, Khalid. This subject is amazing and I'm very excited to know about it. Definitely I need this book. Of course I wanna be a programmer certified too. ;-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic