Skip to content

Instantly share code, notes, and snippets.

View joaojustodev's full-sized avatar
:atom:
Always Learning

João Vitor joaojustodev

:atom:
Always Learning
View GitHub Profile
@joaojustodev
joaojustodev / D.ts
Last active October 1, 2020 12:36
SOLIDependency inversion
// This code is not complete, but I just want to demonstrate one of the solid principles that is dependency inversion.
class User {
public readonly id: string;
public name: string;
public email: string;
public password: string;
constructor(props: Omit<User, "id">, id?: string) {
@joaojustodev
joaojustodev / settings.json
Created July 30, 2020 03:13 — forked from diego3g/settings.json
VSCode Settings (Updated)
{
"terminal.integrated.fontSize": 14,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"editor.tabSize": 2,
"editor.fontSize": 18,
"editor.lineHeight": 26,
"editor.fontFamily": "Fira Code",