Erik McCue
mccue.dev · Personal blog · on HN since 2022
Erik McCue writes about Java, Clojure, and PostgreSQL, plus programming practice such as logging and error handling.
What HN saysHN links his 'Just use Postgres' post as a default advice, and his Clojure web primer. Commenters also cite his posts on modern Java.
27HN people shared it
3linked it in comments
31stories submitted
846story points
4 months agolast shared
2022people per year2026
Most-shared posts
- 1How to Structure a Clojure App 1013 people · 3 points · first shared 2022 · discussion on HN
- 2Just use Postgres2 people · 236 points · first shared 2024 · 228 comments on HN
- 3Life Altering PostgreSQL Patterns2 people · 33 points · first shared 2025 · 11 comments on HN
- 4After CrowdStrike, Programmers Deserve Consequences2 people · 19 points · first shared 2024 · 30 comments on HN
- 5Better Java logging, inspired by Clojure and Rust2 people · 14 points · first shared 2022 · discussion on HN
- 6You can run Java like Python now2 people · 11 points · first shared 2024 · discussion on HN
- 7The different ways to handle errors in C2 people · 8 points · first shared 2022 · discussion on HN
- 8Public static void main(String[] args) is dead1 people · 210 points · first shared 2025 · 203 comments on HN
- 9Go's Concurrency Examples in Java 191 people · 151 points · first shared 2022 · 114 comments on HN
- 10A Dramatic Reading: I Will Fucking Piledrive You If You Mention AI Again1 people · 65 points · first shared 2024 · 35 comments on HN
- 11Rust Just Failed an Important Test1 people · 62 points · first shared 2024 · 52 comments on HN
- 12Clojure as a First Language1 people · 4 points · first shared 2025 · discussion on HN
- 13Python Only Has One Real Competitor1 people · 4 points · first shared 2026 · discussion on HN
- 14Extension methods make code harder to read1 people · 3 points · first shared 2024 · discussion on HN
- 15Issues you will face binding to C from Java1 people · 3 points · first shared 2025 · discussion on HN
What HN people wrote when they linked it
kingkongjaffa · 2025-09-20
If you haven’t got a really good reason just https://boringtechnology.club/ and https://mccue.dev/pages/8-16-24-just-use-postgres
za3faran · 2023-09-11
sealed interface Shape
{}
record Square(int x) implements Shape
{}
record Rectangle(int l, int w) implements Shape
{}
record Circle(int r) implements Shape
{}
double getArea(Shape s)
{
// Exhaustively checks for all alternatives.
return switch (s)
{
case Square(var x) -> x * x;
case Rectangle(var l, var w) -> l * w;
case Circle(var r) -> Math.PI * r * r;
}
}
This is a good article: https://mccue.dev/pages/11-1-21-smuggling-checked-exceptions
TacticalCoder · 2022-12-19
A similar post, also mentioning protocols and integrant, was posted here a few days ago and may also interest some:
https://mccue.dev/pages/12-7-22-clojure-web-primer