Coding guidelines

A little badge for marking shit.

Single-responsibility principle

Let stuff do just one thing really well.

<span class="Badge mb-4"></span>

Instead, wrap it in a <div> and apply the spacing to that.

<div class="mb-4">
  <span class="Badge"></span>
</div>

This way, you can find and replace shit without any hassle.

Don't repeat yourself

Let stuff do just one thing really well.

<span class="Badge mb-4"></span>

Instead, wrap it in a <div> and apply the spacing to that.

<div class="mb-4">
  <span class="Badge"></span>
</div>

This way, you can find and replace shit without any hassle.

Separation of concerns

Let stuff do just one thing really well.

<span class="Badge mb-4"></span>

Instead, wrap it in a <div> and apply the spacing to that.

<div class="mb-4">
  <span class="Badge"></span>
</div>

This way, you can find and replace shit without any hassle.

Immutable

Let stuff do just one thing really well.

<span class="Badge mb-4"></span>

Instead, wrap it in a <div> and apply the spacing to that.

<div class="mb-4">
  <span class="Badge"></span>
</div>

This way, you can find and replace shit without any hassle.