Elektrine lite

← Feed

@dws@infosec.exchange

Post #2430689

2026-04-28 19:45 UTC

@davidism@mas.to Allowing for null distinguishes between not knowing a thing and knowing that it's nothing. What to display in the UI is a policy decision the app gets to make.

Replies (2)

  • @diazona@techhub.social 2026-04-28 21:06

    @dws@infosec.exchange @davidism@mas.to Yeah this cleanly sums up my take on it as well. I've found that it's often useful to distinguish between some piece of data being unknown, and being known to be empty/unset/invalid/absent/not applicable/etc. And it can definitely happen that you set up your data models and work on your app for six months before coming across a situation where that distinction is useful. Or, you might not have any way to make the distinction at first, but after a year of development you change your input pipeline in some way that now allows you to distinguish between empty and unknown. So I would definitely plan for it from the beginning, assuming you don't incur any great hardship by doing so.

    Open ##2430690

  • @dws@infosec.exchange @davidism@mas.to This

    Open ##2430692