Coding Standards are a set of guidelines & best practices that developers adhere to when writing source code for a project. Let’s see why all giant software companies have them. Here’s my personal answer to this question.
WHY DO WE NEED CODING STANDARDS?
Ever heard about A $460 Million Software Glitch the costliest computer bug ever. $10 million a minute. It took 17 years of dedicated work to build Knight Capital Group into one of the leading trading houses on Wall Street and it all nearly ended in less than one hour. …
Microservices is a hot topic in software development circles these days and working in a company whose products are deployed overseas taught me very good reasons to use microservices, let me teach you that.
I promise you to be with you at each phase of life same as a pointer to a linked list.
How nice would it be if you sent a Romantic Message every hour to your loved one? But even better…
How awesome would it be to do it automatically by writing a simple program? We are after all… programmers, right??
Everyone has a unique style of proposing his/her beloved. Being a nerd I tried it in my unique way of using coding concepts. I hope you will all like it.
API Contract is the documentation of the API. This document is the place where you declare how your API will behave, it includes the endpoints URLs, the actions of each endpoint, arguments, examples of the responses, and any other detail, the development team thinks is interesting to be documented.
There are several file formats that allow you to create a contract and obtain your documentation (or mock server, automated tests, etc.). The most common today is an OpenAPI Specification (formerly known as Swagger).
The contract is defined by the providers of the service and destined for the consumers of the…
There is a part of software development that not all developers take very seriously. That part is proper logging and everyone who has lost countless hours during debugging knows exactly what I mean. A large part of software developers’ lives is monitoring, troubleshooting, and debugging. Logging makes this a much easier and smoother process. Let’s see how.
I’m a developer in a company whose products are deployed overseas. When a support team comes in asking about a problem definition, my only tools for diagnosis are my log files and a copy of the customer’s database. Using the database and my…
“No amount of testing can prove a software right, a single test can prove a software wrong.” — Amir Ghahra
There are studies, papers, and discussions about how effective TDD is. Even though it is definitely useful to have some numbers, I don’t think they answer the question of why we should use TDD in the first place.
Say that you are a web developer. You have just finished a small feature. Do you consider it enough to test this feature just by interacting manually with the browser? I don’t think it’s enough to rely just on tests done by…
In the era of integrations, sharing data between systems is more important than ever. Today there are no projects or applications that don’t have a REST API for the creation of professional services. Twitter, YouTube, Facebook … hundreds of companies generate business thanks to REST and REST APIs. Without them, any horizontal growth would be practically impossible. This is because REST is the most logical, efficient, and widespread standard in the creation of APIs for Internet services. So, let’s take a deeper look at it.
Spring Boot is an advanced version or project of the Spring framework. Along with the Spring framework, it also consists of third-party libraries and Embedded HTTP servers. The aim of Spring Boot is to completely remove the use of XML-based and annotation-based configuration in the applications.
Hi Folks! Today I will be talking about Lazy Annotation which we use in SpringBoot and what does it do and how do we use it, and also in what cases we should use it. So let’s get started.
Sometimes we don’t need a Bean at App startup, but when we request it, It’s worth to consider lazy initialization for connected beans, especially if they consume valuable resources.
SO, WHAT DOES @LAZY DO?
It prevents the pre-initialization of a bean at the start of the app. If present and set to true, the bean won’t be initialized until referenced by…