Hayden Jones
haydenpjones.bsky.social
Hayden Jones
@haydenpjones.bsky.social
Geeky about Java, Star Trek and Proportional Representation
Sounds cool. Do I need to know #Python?
October 20, 2025 at 3:47 PM
Is there any thought to have Optional, ThreadLocal, AtomicReference or Map support some kind of pattern matching to go when the collection contains the key?
October 8, 2025 at 10:24 PM
The original one I think was CAFEBABE but I think it's gone up in values as time has passed.
September 30, 2025 at 2:04 PM
Did you make the image? Where did you find it? #Java #Duke
August 26, 2025 at 2:51 PM
You'll have to get a new handle, the omniAuthor ;)
July 21, 2025 at 5:13 PM
#ProportionalRepresentation that perhaps uses RCV would be so much better as it would better guarantee that parties beyond the top two would get accurately reflected in the legislature.
July 14, 2025 at 4:52 PM
#ProportionalRepresentation for the win. 20% of the voters should be approximately 20% of the seats. Use RCV within a PR system.
July 6, 2025 at 7:31 AM
Eli recommended a podcast called “The Conversation”, could you post a link to it, please.
June 14, 2025 at 10:28 PM
While I think uglier... I think Adam Bien is a fan of using the System.Logger then you don't have to worry about imports.
May 3, 2025 at 4:39 PM
Which STV would do better than SMP.
April 27, 2025 at 2:48 AM
I would prefer a system that favours no party. Percentage vote should approximately be percentage of seats.
April 27, 2025 at 2:47 AM
Shame neither of our countries have proportional representation. Single transferable vote would make for a nice basis.
April 27, 2025 at 12:15 AM
I was writing Java before Records came along but if I were to be taught java from the start, I wonder if I'd like to be taught Records before Classes because Records are a simpler use case. (Maybe I'd need the simpler main mechansim first).
April 5, 2025 at 1:57 PM
Don't swallow Exceptions.
Only use Interfaces when you have multiple implementations.
April 5, 2025 at 1:41 PM
REAL programmers will tell you to favour immutable classes. /s
March 29, 2025 at 12:04 AM
What are good use cases?
March 28, 2025 at 3:11 PM
Perhaps create a second constructor that takes in ints and casts the results to the real constructor ?
March 23, 2025 at 7:06 PM
It does but we’ve just had another Java release, so at least something is getting better.
March 19, 2025 at 5:39 AM
Looking forward to trying the new AOT features.
March 18, 2025 at 11:25 PM
A day without #Java is like a day without sunshine.
March 1, 2025 at 3:21 PM