I learnt about enums v booleans

Very interesting discussion about why booleans should be avoided as parameters. I must admit until now I have used them as parameters but will seriously consider using enums in future to make them more readable, based on this article. It also suggests that you should use radio buttons instead of checkboxes in UIs. I’m not so sure about this one but I can see their point and will add it to the arsenal of things to consider on my next UI.