Skip to content

Instantly share code, notes, and snippets.

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.
using System;
using System.Linq;
using System.Text;
using Disruptor;
using Elasticity.Domain;
using Elasticity.Events;
namespace Elasticity.Domain
{