Discover and read the best of Twitter Threads about #generic

Most recents (3)

From compact record constructors to pattern matching, from generic wildcards to chaining predicates and comparators, from jpackage to jlink - here are 11 #Java tricks handpicked from dev.java. 🧡

(Musical version of this thread: )

0/11
A #record's *canonical* constructor has one arg per component but in its *compact* form, you don't have to list them. You also don't have to (in fact, can't) assign fields, just do the checks/reassignments you need, rest happens automatically.

More: dev.java/learn/using-re…

1/11
Serialization works great with #records, no black magic needed! The guaranteed presence of constructor parameters and accessors makes serialization work with the object model and makes it easy to create reliable serializable records.

More: dev.java/learn/using-re…

2/11
Read 12 tweets
#ShelterInPlace #NonFiction #BookRecommendations !

Sharing takeaways and recs from recent reading blocks.

Who would I recommend this to?
πŸ‘‘ Everyone
πŸ† Any interest in topic
πŸŽ–οΈ You often read on this topic
πŸ… Nah

Michelin, not Amazon, style ratings = any non-πŸ… is a good book.
πŸ†
Keynes Hayek by @NWapshott
Topic: πŸŒπŸ’°
Layperson's history of JM Keynes' inventing #macroeconomics, and opposition by ppl who fear inflation > unemployment.

β€’ #Stimulus packages are <100y old
β€’ They seem like magic, but aren't
β€’ Fiscal policy goes beyond red vs blue Image
πŸŽ–οΈ
The Snowball by @aliceschroeder
Topic πŸ’°πŸ“ˆ
Great bio, but #Buffett's life is so consistent most ppl won't need 700 pages of it.

β€’ "Take a simple idea, and take it very seriously"
β€’ Learned early he loves making money, never stopped
β€’ Wife surely made him a better human Image
Read 25 tweets
So many of these stories are so sad & paint a bleak portrait of UK culture of infant feeding, with poor support for #breastfeeding (so few successes) & awful stigmatization. The pivotal question is *why* this is - something I saw little attention to in the linked article.
UK women are not fundamentally different from nearby others who have much higher #breastfeeding rates. It is not women "failing" - these are not issues of #individualresponsibility. They are matters of #structures & #culture that facilitate or hinder #breastfeeding.
True support requires not simply telling people what to do, but enabling, supporting, and facilitating. That means committing resources (financial & social) to making change. Supporting families in making an informed decision, and then supporting them throughout.
Read 12 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!