Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Lambdas and Streams
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Raising Young Coders: A Parent’s Guide to Teaching Programming at Home
this week in the
General Computing
forum!
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
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Lambdas and Streams
Designing with functions and types instead of objects
Jignesh Patel
Ranch Hand
Posts: 691
I like...
posted 2 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Micheal
I am coming from
Java
background, so I find the following topic very interesting:
"Designing with functions and types instead of objects"
can you elaborate more that what is being covered for this.
Michał Płachta
Author
Posts: 31
5
posted 2 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
Definitely. The core idea here is that we have only immutable types, without any functions on states. We just model ideas as immutable types.
Then we have pure functions that work on these types (usually more than one at once)—these are behaviours.
Looks pretty simple but these two things alone allow us to model applications in a very readable way, which I show in the book.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Clojure versus JavaScript
Node.js Design Patterns: how different from Java?
Scala Coursera: how was it for you?
Threads 002
suggession & reference required related to OCP upgrade beta (805)
More...