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

  1. 1
    How to Structure a Clojure App 101
    3 people · 3 points · first shared 2022 · discussion on HN
  2. 2
    Just use Postgres
    2 people · 236 points · first shared 2024 · 228 comments on HN
  3. 3
    Life Altering PostgreSQL Patterns
    2 people · 33 points · first shared 2025 · 11 comments on HN
  4. 4
    After CrowdStrike, Programmers Deserve Consequences
    2 people · 19 points · first shared 2024 · 30 comments on HN
  5. 5
    Better Java logging, inspired by Clojure and Rust
    2 people · 14 points · first shared 2022 · discussion on HN
  6. 6
    You can run Java like Python now
    2 people · 11 points · first shared 2024 · discussion on HN
  7. 7
    The different ways to handle errors in C
    2 people · 8 points · first shared 2022 · discussion on HN
  8. 8
    Public static void main(String[] args) is dead
    1 people · 210 points · first shared 2025 · 203 comments on HN
  9. 9
    Go's Concurrency Examples in Java 19
    1 people · 151 points · first shared 2022 · 114 comments on HN
  10. 10
  11. 11
    Rust Just Failed an Important Test
    1 people · 62 points · first shared 2024 · 52 comments on HN
  12. 12
    Clojure as a First Language
    1 people · 4 points · first shared 2025 · discussion on HN
  13. 13
    Python Only Has One Real Competitor
    1 people · 4 points · first shared 2026 · discussion on HN
  14. 14
    Extension methods make code harder to read
    1 people · 3 points · first shared 2024 · discussion on HN
  15. 15
    Issues you will face binding to C from Java
    1 people · 3 points · first shared 2025 · discussion on HN

What HN people wrote when they linked it

kingkongjaffa · 2025-09-20
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

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close