Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    T

    The Database Programmer

    database-programmer.blogspot.com · Personal blog · on HN since 2008

    A blog on database design for application developers, covering table design, foreign keys, history tables, and business logic.

    Visit blogHN submissions
    DatabasesProgramming
    What HN says

    Commenters recommend it for learning to use a database as a real database rather than a persistent hash table, though it says less about why.

    Stats for nerds
    17HN people shared it
    26linked in comments
    148story points
    Oct 2013last shared
    2009people per year2013

    Top posts on HN

    1. 1
      Minimize Code, Maximize Data
      2 people · 46 points · first shared 2008 · 12 comments on HN
    2. 2
      The Wonderful Awful Browser
      1 person · 26 points · first shared 2008 · 15 comments on HN
    3. 3
      The Database Programmer: Advanced Table Design: Secure Password Resets
      1 person · 15 points · first shared 2008 · 5 comments on HN
    4. 4
      A Working Definition of Business Logic, with Implications for CRUD Code
      1 person · 11 points · first shared 2010 · 3 comments on HN
    5. 5
      History Tables in a Database
      1 person · 9 points · first shared 2008 · Discussion on HN
    6. 6
      Maintaining One Code Base with Possibly Conflicting Custom Features
      2 people · 5 points · first shared 2011 · Discussion on HN
    7. 7
      The Database Programmer: Different Foreign Keys for Different Tables
      1 person · 5 points · first shared 2008 · 1 comments on HN
    8. 8
      Data and Code at the Application Level
      1 person · 4 points · first shared 2008 · Discussion on HN
    9. 9
      Can You Really Create A Business Logic Layer?
      1 person · 3 points · first shared 2011 · Discussion on HN
    10. 10
      Database Performance 1: Huge Inserts
      1 person · 3 points · first shared 2008 · Discussion on HN

    What HN people wrote when they linked it

    • sjwrightOct 2013

      Because you can't cleanly map objects to sets nor sets to objects. Sure, if you want to pretend an RDBMS is an object store you certainly can, but you'll be forced to have an incredibly stupid schema, and will miss out on much of the benefits of a good RDBMS.

      Turning a powerful SQL database engine into an object storage emulator is just sad.

      If your underlying data suits objects better than sets, consider using something that's designed for the job, like one of the many non-SQL database systems.

      Although it may seem trite to say it, Object/Relational Mapping
      is the Vietnam of Computer Science. It represents a quagmire which
      starts well, gets more complicated as time passes, and before long
      entraps its users in a commitment that has no clear demarcation
      point, no clear win conditions, and no clear exit strategy.

      http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Computer+Science.aspx

      Well worth reading.

      Also:

      http://database-programmer.blogspot.com.au/2010/12/historical-perspective-of-orm-and.html

      http://www.codinghorror.com/blog/2006/06/object-relational-mapping-is-the-vietnam-of-computer-science.html

    • papsosouidJun 2013

      Unfortunately, I don't know of anything. http://database-programmer.blogspot.ca/ is good for learning about how to use a database as a database instead of a persistent hash table, but it doesn't really address the why of it so much.

    • anthonyrubinFeb 2009

      http://database-programmer.blogspot.com/2008/09/comprehensive-table-of-contents.html

    Related

    Ted Newardblogs.tedneward.com76 people

    Problems with Object/Relational Mapping (2006)

    Ted Neward
    Personal · last shared 2022
    jOOQ Blogblog.jooq.org126 people

    Say no to Venn diagrams when explaining SQL joins (2016)

    jOOQ Blog
    Company · last shared 2026
    Rachel Krollrachelbythebay.com493 people

    fork() can fail

    Rachel Kroll
    Personal · last shared 2026
    Better Programmingbetterprogramming.pub319 people

    Three programmers got fired, including me, due to a single app crash

    Better Programming
    Publication · last shared 2025
    programming is terribleprogrammingisterrible.com124 people

    Write code that is easy to delete, not easy to extend

    programming is terrible
    Personal · last shared 2026
    beza1e1beza1e1.tuxen.de120 people

    A collection of things that are Turing-complete by accident (2013)

    beza1e1
    Personal · last shared 2026
    Scattered Thoughtsscattered-thoughts.net186 people

    Against SQL

    Scattered Thoughts
    Personal · last shared 2026
    Hillel Waynehillelwayne.com294 people

    1/0 = 0

    Hillel Wayne
    Personal · last shared 2026