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
Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework
this week in the
Java in General
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
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
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.
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
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...