News for hackers. Stuff that matters.
Re:The design side of programming language design by jlesk on Friday September 15, 2017 @06:36PM (#15261396)
Most of the principles are always in tension to some degree, and come down to a design decision. In this case, the shorter, clearer term won out. The two terms are practically synonymous, so if you know what a "boolean" is, you probably know what a "flag" is.

In actual use, you rarely interact with the names anyway -- you use `true` and `false` as values like most other languages.

Re:The design side of programming language design by newen on Friday September 15, 2017 @10:41PM (#15262532)
Flag is a pretty obscure term that you learn from using the linux command line. Booleans are in math and engineering. Flag is not clear at all and using it instead of boolean, especially when you don't even use the term boolean directly all that much, seems kind of silly.