Learnitweb

Category: articles

  • What is technical debt?

    Technical debt is a concept in software engineering that describes the cost of choosing a quick, easy, or suboptimal solution now instead of a better, cleaner, and more maintainable solution that would take longer to implement. Over time, this “debt” must be “repaid” with extra effort to fix bugs, refactor code, or improve performance and…

  • SOAP vs REST web services

    1. Introduction REST and SOAP are 2 popular approaches to create web services. Both enable you to define how to build application programming interfaces (APIs), which allow data to be communicated between web applications. Representational state transfer (REST) is a set of architectural principles. Simple object access protocol (SOAP) is a protocol maintained by the…

  • SOLID Design Principles

    SOLID acronym stands for following design principles: Single Responsibility Principle, Open Closed Principle, Liskov Substitution Principle, Interface Segregation Principle, Dependency Inversion Principle

  • Immutable class and how to create immutable class in Java?

    In this article, we’ll discuss immutable class in Java. Understanding of immutable class is very important as immutable objects play a very important role in Java. To demonstrate how important immutable classes are in Java we can take the example of String class in Java which is designed as immutable. Immutable objects are useful while…

  • Auto format code in Visual Studio Code on save using Prettier

    Our code should be properly formatted as this makes code more readable. However, every developer has her style of writing code. Due to this reason, files in the project could have different formatting. It is advisable to keep the formatting of code in the files uniform. Visual Studio Code is one of the most popular…