This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo { | |
constructor($http, $log, WhateverElse) { | |
// This is the boilerplate I'm talking about | |
this.$http = $http; | |
this.$log = $log; | |
this.whateverElse = WhateverElse; | |
// anytime I add something, I have to add it here | |
// anytime I remove something, I have to remove it from here | |
// I just don't really see what classes are getting me from | |
// a reusability/maintainability/readability/whatever standpoint. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Text; | |
using Disruptor; | |
using Elasticity.Domain; | |
using Elasticity.Events; | |
namespace Elasticity.Domain | |
{ |