InternetException

patterns

patterns · 2 posts (all categories)

Futuristic API design

· 1339 words · ~6 min read · in patterns

#API design

Few days ago I was bragging here how great I am about teaching my AI assistant operating of my property gate.

Today I noticed that it no longer works. I asked it again to:

Open the gate

while wondering why am I actually doing it since I can just press the button on my phone… but well people are sometimes radicoulous like that.

Anyway I wrote message as above and I got answer like below:

Read the whole thing →

Solid

· 69 words · ~1 min read · in interview, patterns

#SOLID #pattern

The single-responsibility principle - piece of software should have only one responsibility The open–closed principle - things should be open for extension but closed for modification The Liskov substitution principle - changing interface implementation should not brake software The interface segregation principle - it is better to have more specialized interfaces than single big one The dependency inversion principle - dependencies should be abstracted via interfaces Further read: https://en.wikipedia.org/wiki/SOLID