Discover and read the best of Twitter Threads about #Wildcards

Most recents (2)

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
Since this article doesn't seem to have any interactive element to it, I'm going to hold a series of polls to determine the winner: #DemBracket #DemPrimary2020 #2020Polls #MarchMadness #BracketOfRandomThings #Bracketology #FITN @TheDemocrats
First matchup in the #Lefties portion of the bracket! Of these 2, which would you rather support in the 2020 Democratic primaries for president?
1. @SenSanders i.e. @BernieSanders #Sanders2020
2. @ninaturner #Turner2020
#TwitterPoll #FeelTheBern #OurRevolution
(Oops, I forgot to include the seeds; Bernie is 1st seed and Nina is 8th seed. The '1' and '2' by their names aren't seeds, but rather correspond to the poll options. I'll fix this in the rest of them, seeing as someone's already voted in this one.)
Read 33 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!