Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
1
CONVENTIONS
THE DOUBLE EDGE SWORD
YOU SHOULD BE WIELDING
2
WHO AM I?
Stefan Daugaard Poulsen
Aarhus, Denmark
AP in computer science
Jack of many trades at ditmer a/s
Developer
Con...
3
CONVENTION
a rule, method, or practice established by
usage
4 . 1
IT'S ALL OVER THE PLACE
Types
Naming
Frameworks / libraries
Auto hookup
4 . 2
TYPES
    int foo = 42;
    var bar = foo;
4 . 3
NAMING
    public interface IThing
    {}
    public class HomeController : Controller
    {}
4 . 4
FRAMEWORKS
ASP.NET MVC
Entity Framework
MVVM Light, Caliburn, etc.
Angular
Aurelia
AutoFixture
4 . 5
OTHER
RavenDB
And many more
5
CONVENTIONS EVERYWHERE
6
HOW IS IT USED?
File ordering
Reflection
Plugin models
Naming
IoC registrations
NMXML
As documentation
7
HOW CAN I?
Roslyn analyzers and fixes
Ensuring naming
Etc.
IoC registrations
DateTime.Now
Distribution Roslyn Analyzers
8
9
DEMO TIME!
10
TESTS?
Reflection based
Mono Cecil
Roslyn based
Analyzers
ConventionTests
IoC Verification
11
WIN!
12
QUESTIONS?
13
WHERE AM I?
sdp@ditmer.dk
@cyberzeddk
http://cyberzed.dk
http://github.com/cyberzed
14
BY CYBERZED
@cyberzeddk
SLIDES & CODE
http://bit.ly/IWDK_Conventions
Conventions the double_edgded_sword
Upcoming SlideShare
Loading in …5
×

Conventions the double_edgded_sword

53 views

Published on

Local Rock Stars presentation, Nov. 12, 2015, Aarhus

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Conventions the double_edgded_sword

  1. 1. 1 CONVENTIONS THE DOUBLE EDGE SWORD YOU SHOULD BE WIELDING
  2. 2. 2 WHO AM I? Stefan Daugaard Poulsen Aarhus, Denmark AP in computer science Jack of many trades at ditmer a/s Developer Consultant Infrastructure Security
  3. 3. 3 CONVENTION a rule, method, or practice established by usage
  4. 4. 4 . 1 IT'S ALL OVER THE PLACE Types Naming Frameworks / libraries Auto hookup
  5. 5. 4 . 2 TYPES     int foo = 42;     var bar = foo;
  6. 6. 4 . 3 NAMING     public interface IThing     {}     public class HomeController : Controller     {}
  7. 7. 4 . 4 FRAMEWORKS ASP.NET MVC Entity Framework MVVM Light, Caliburn, etc. Angular Aurelia AutoFixture
  8. 8. 4 . 5 OTHER RavenDB And many more
  9. 9. 5 CONVENTIONS EVERYWHERE
  10. 10. 6 HOW IS IT USED? File ordering Reflection Plugin models Naming IoC registrations NMXML As documentation
  11. 11. 7 HOW CAN I? Roslyn analyzers and fixes Ensuring naming Etc. IoC registrations DateTime.Now
  12. 12. Distribution Roslyn Analyzers
  13. 13. 8 9 DEMO TIME!
  14. 14. 10 TESTS? Reflection based Mono Cecil Roslyn based Analyzers ConventionTests IoC Verification
  15. 15. 11 WIN!
  16. 16. 12 QUESTIONS?
  17. 17. 13 WHERE AM I? sdp@ditmer.dk @cyberzeddk http://cyberzed.dk http://github.com/cyberzed
  18. 18. 14 BY CYBERZED @cyberzeddk SLIDES & CODE http://bit.ly/IWDK_Conventions

×