9
philcr
4y

Why would anyone use -1 for true and 0 for false in a database.

Booleans people!!! FFS

Making migration of old project a real PITA

Comments
  • 1
    @DevotedSniper I honestly don't know why, I would use 1 true and 0 false.

    I don't fully understand why as the database is ms SQL
  • 1
    Last time I used -1 for a true, I was coding on a Commodore 64.
  • 1
    @ris8allozen0 ah the good old days
  • 0
    Eeeewwwww some people
Add Comment