LLD all and all

low level design deals with coding the low level aspects and functionaliyt using oops methedology.

So following things are part of LLD design -

  • OOPs

  • LLD principles

  • Design patterns

  • UML digrams

OOPs

  • object oriented programming is different from the procedural programming and it creates objects and deals with it as it far better to scale and adapt for larger and bigger use cases.

  • Main crux is we have classes which are like definitions of something and objects which are like examples of those something.

  • Class

    • definition of something

    • can have attributes — variables associated with them

    • can have methods — functions associated with them

  • objects

    • examples of classes

    • based on values of attributes each object can be different from each other

    • they are like an instance of a class

  • OOPs principles

    • there are 4 principles

      • abstraction

        • this hides the major implementation details from the end user and lets users know info that is required by him

        • we use abstract class to implement this

      • encapsulation

      • inheritance

      • polymorphism

Last updated