25

SeniorDev: "If we were only allowed to use C# 6 features, we could reduce our code base by 30%"
- other devs nodding their heads in agreement -
Me: "So, are you going to change our entire code base to be C# 6 compliant?"
SeniorDev: "Uh, oh hell no."
Me: "So those C# 6 features are going to reduce our code base by 0%?"

SeniorDev turns around without saying a word.

Getting a bit awkwardly quiet now. Better watch my back.

Comments
  • 0
    Our solutions use C# 5 apparently bexuase when I put some C# 6 code in there (no errors) but upon pushing to a dev server I got errors. Semi-related story
  • 2
    @g-m-f the nameof() construct and [CallerMemberName] attribute are very cool.

    No more magic strings for things like translated [Display (Name)] attributes.

    The new null coalesce operator (.?) helps a lot when dealing with null object chains too.
  • 0
    @g-m-f we are in the process of rolling out VS2015 Pro licenses at the office. Been using Community at home for a while.
  • 0
    let him preprocess that sass
Add Comment