Yet Another Evil Suffix For Object Names: Client

Some time ago we were talking about "-ER" suffixes in object and class names. We agreed that they were evil and must be avoided if we want our code to be truly object-oriented and our objects to be objects instead of collections of procedures. Now I'm ready to introduce a new evil suffix: Client.

Let me give an example first. This is what an object with such a suffix may look like (it's a pseudo-code version of the AmazonS3Client from AWS Java SDK):

class AmazonS3Client { c...
 •  0 comments  •  flag
Share on Twitter
Published on September 11, 2017 17:00
No comments have been added yet.