Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Dependency Inversion Principle 'D' of SOLID #34

Open
3 of 10 tasks
TheZero0-ctrl opened this issue Apr 17, 2023 · 1 comment
Open
3 of 10 tasks

The Dependency Inversion Principle 'D' of SOLID #34

TheZero0-ctrl opened this issue Apr 17, 2023 · 1 comment
Assignees
Labels
beginner good-first-talk Talk is suitable to be picked up by first time speakers presentation-request rorhktm-lightning

Comments

@TheZero0-ctrl
Copy link

Abstract

The Dependency Inversion Principle is an important concept in software development that can help to write more maintainable and scalable code. It is the 'D' of SOLID principle. The principle consists of two parts: "High-level modules should not depend on low-level modules" and "Both high-level and low-level modules should depend on abstraction".

In this presentation, we will discuss the importance of decoupling our code to reduce the risk of changes in one module affecting other parts of the codebase. We will also examine the use of Dependency Injection as a means of achieving the first part of the principle, and the use of abstract classes or modules to achieve the second part.

We will also discuss how to make decisions on when to apply abstraction and when to use dependency injection based on the likelihood of future changes to the code.

Speak or Suggest

  • Speak (Give a presentation session)
  • Suggestion (Suggesting a topic eager to see/learn)

Intended Audience

  • All
  • Beginner
  • Intermediate
  • Advanced

Talk Duration

  • 5-10 minutes Lightning Talk
  • 20 minutes Talk
  • 30 minutes Talk with Demo
  • Others (specify)

Bio / About the author

I am Ankit pariyar, web developer with love for Ruby on Rails. I am currently working as Associate Software Engineer at Truemark Technology

@zoras
Copy link
Member

zoras commented Aug 7, 2023

This talk is scheduled for 22 Aug https://www.meetup.com/nepal-ruby-users-group/events/295299464/
\cc @TheZero0-ctrl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner good-first-talk Talk is suitable to be picked up by first time speakers presentation-request rorhktm-lightning
Projects
None yet
Development

No branches or pull requests

3 participants