Skip to content

Danny Younes

My thoughts on Investing & Software Engineering

  • Home
  • Investing
  • Software Engineering
  • Project: Budget App

clean code

Solid Principles in PHP – Dependency Inversion

May 26, 2022 dannyyounesDesign Patterns, Software Engineering

Dependency Inversion states that high level modules should not depend upon low level modules. Instead, they should depend on abstractions and not concretions.

Read more

Solid Principles in PHP – Interface Segregation

May 25, 2022 dannyyounesDesign Patterns, Software Engineering

The letter I in SOLID stands for the interface segregation principle. The principle states that a client should not be forced to implement an interface that it doesn’t use.

Read more

Solid Principles in PHP – Liskov Substitution

May 22, 2022 dannyyounesDesign Patterns, Software Engineering

The Liskov Substitution principle states that derived classes must be substitutable for their base classes. Meaning, every time you prepare a subclass, that subclass should be substituable in every place where the original class was accepted.

Read more

Solid Principles in PHP – Open-Closed

May 18, 2022 dannyyounesDesign Patterns, Software Engineering

The O in SOLID represents the open-closed principle which states that entities should be open for extension but closed for modifications.

Read more

Rules for Coding Part One

April 23, 2022 dannyyounesSoftware Engineering

The following rules are from the book Clean Code by Robert C Martin which I will cover over a few parts. Functions should be small. Each function should only be up to 4 – 5 lines of code If, else […]

Read more

Sections

  • Design Patterns
  • Investing
  • Laravel
  • Project: Budget App
  • Software Engineering

Danny Younes

  • Home
  • Investing
  • Software Engineering
  • Project: Budget App
Powered by WordPress | Theme: Astrid by aThemes.