Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jimofl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Java – Integrity by Design Through Ensuring Illegal States Are Unrepresentable
(javajanitorjim.substack.com)
2 points
by
jimofl
9mo ago
|
1 comments
2.
▲
by
jimofl
9mo ago
I wanted a simple pattern for preventing a class from being instantiated in an invalid state, or from mutating into one. Why? Because it vastly reduces the amount and complexity of reasoning required for use at client call-sites. Think of i
3.
▲
by
jimofl
9mo ago
BTW, the solution I provided in my library already does exactly what you are describing in terms of not needing to instrument each enum class. The high value of your response, to me, is discovering I can replace my custom "Memoizer&quo
4.
▲
by
jimofl
10mo ago
This is a fantastic response! Tysvm for posting, and in detail.
5.
▲
Java Janitor Jim – Augmenting Java's Ancient Enum with Proper Collections
(javajanitorjim.substack.com)
3 points
by
jimofl
10mo ago
|
4 comments
6.
▲
by
jimofl
10mo ago
I wanted ease of use and comfort methods when using Java’s legacy Enum. Like resolving a value by its case-insensitive name or ordinal. Or easily, flexibly, and quickly, pretty-printing (a subset of) the Enum’s values, again by name and
7.
▲
Resolving the Scourge of Java's Checked Exceptions on Its Streams and Lambdas
(javajanitorjim.substack.com)
3 points
by
jimofl
11mo ago
|
0 comments
8.
▲
Augmenting What3words for E911
(gist.github.com)
6 points
by
jimofl
4y ago
|
0 comments
9.
▲
Simple, Naïve, and Wrong: More than you wanted to know about Scala Case Classes
(gist.github.com)
1 points
by
jimofl
5y ago
|
0 comments
10.
▲
Looks like we're a go with Scala 3.0.0 final release
(github.com)
4 points
by
jimofl
5y ago
|
0 comments
11.
▲
Geohash Open-Source Library in TSQL for SQL Server
(github.com)
2 points
by
jimofl
6y ago
|
1 comments
12.
▲
by
jimofl
6y ago
After searching for a SQL Server TSQL implementation of Geohash types and conversion functions, I finally just went and wrote a whole open-source library myself. I designed it for maximum accuracy, performance, and strong conversion consist
13.
▲
by
jimofl
7y ago
Wouldn't it be kind of like "DNS for locations" where any string phrase could be associated with the OLC/Plus Code (many human descriptive names to one location identifier)? Better, what if you could then universally tra
14.
▲
.toBinaryString implementations in Scala std lib inconsistent
(stackoverflow.com)
1 points
by
jimofl
8y ago
|
0 comments