luu.io
  • Blog
  • Photos
    • Photos in 2016
  • About
  • Donate
  • Blog
  • Photos
    • Photos in 2016
  • About
  • Donate

Code rant: "Info" and "Wrapper"

10/11/2016

Comments

 
I cry a little inside whenever I see a class name ends with "Info" or "Wrapper".

Don't we all know that a class contains fields, properties, and methods that provide information about an object? How much meaning does "Info" add to "PersonInfo", or "CustomerInfo"?

What is a "HttpContextWrapper"? What information does it contain that "HttpContext" does not? The only thing "Wrapper" tells me is that it potentially has more information than HttpContext, not much else.
Comments
comments powered by Disqus

    Archives

    October 2016
    September 2016
    August 2016
    April 2016

    Categories

    All
    Azure
    C#
    Code Rant
    Developer
    Health
    .NET
    .NET Quirks
    Non-code
    Open Source
    Security
    Work

    RSS Feed

Copyright 2016, Steven Luu

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Share freely and provide attribution.
The opinions expressed here are mine, not my employer's.

✕