S.O.L.I.D. Principles

S.O.L.I.D. Principles
Photo by František G. / Unsplash

Today will shortly introduce some topics, like:

  • SOLID principles,
  • smart contract development,
  • chatGPT with images as a prompt

Clean coding is one of those things that scale a developer's career and allows them to be classified as a mid or senior developer.

Let’s see if one of the rules which implemented correctly will benefit your code.

The SOLID principles represent a set of design principles in object-oriented programming that, when followed properly, can lead to more understandable, flexible, and maintainable code. They are:

1. Single Responsibility Principle (SRP)

2. Open/Closed Principle (OCP)

3. Liskov Substitution Principle (LSP)

4. Interface Segregation Principle (ISP)

5. Dependency Inversion Principle (DIP)

Let’s see how these can be applied in React. Link for my latest video:

Web3 basics

Web3 is now having a bad time, but it does not mean that it is worthless to dedicate time to learning this technology.

In my tutorial, I explain how to create your first smart contract with solidity and truffle.

GPT and images

Last week there was a lot of content on Twitter about pasting images/photos to chatGPT as a prompt. You can see below how it can work with some kind of diagrams:

https://x.com/mckaywrigley/status/1707101465922453701?s=46&t=w4GJlx4LScFKLlD6wg7AuA

React and JS interview questions

I am experimenting with new kinds of content, mainly reels with interview questions, you can see examples below👇

https://www.instagram.com/reel/CxdUCM9NQPD/?utm_source=ig_web_button_share_sheet

https://www.instagram.com/reel/Cx-hT3CNq9z/?utm_source=ig_web_copy_link

Book of the week

“Becoming a supple leopard. The ultimate guide to resolving pain, preventing injury, and optimizing athletic performance.” By Kelly Starrett

Programmers like every sitting person have to take care of their back and health overall. Even if you do not have time, what is an excuse, you can follow simple mobility practice from this book and be amazed with the results.

🚀 Thank you and till the  next week