Object Equals

Krzysztof Deptuła on software architecture, clean code and domain driven design

  • About
  • Privacy Policy
  • A checkbox must be read only once!

    Boolean flags are bad. I would agree that a sheer ration between booleans and other data types can be quite a valid measurement of code quality. To support these statement I’d like you to read just two quotes: Flag arguments are ugly. Passing a boolean into a function is a truly terrible practice. It immediately […]

    April 24, 2020
  • Never expose boolean

    Imagine a startup creating a management system for a company that operates in a single country. Sooner or later, there comes a feature to distinguish contractors between home country and foreign ones. You may imagine a developer introducing a small private class with a boolean property IsForeign, so the class that represents a contractor looks […]

    April 18, 2020
  • Are you sure you write object-oriented code?

    Most of us take for granted that object-oriented paradigm is not only mature, but the “good” way of developing applications. Despite the fame of functional programming which, as time goes by, becomes a real power, most of software is created in the object-oriented way. Or at least we believe so. But following the principles is […]

    April 11, 2020
  • Hello world!

    We all, as developers, make assumptions, learn, discuss things and make mistakes. Once we gain some experience, we share our knowledge and experience with others. Since it’s incredibly hard to describe ideas, come up with examples and provide tutorials for the same things over and over again, I made a blog to have a single […]

    April 11, 2020
←Previous Page
1 2

Object Equals

Proudly powered by WordPress