What is a SOLID principle? It was a common question asked in an interview when I applied for a PHP developer. This term is seen a lot in the PHP universe and JAVA too. If we search it on youtube then we will find that most of those videos are hosted by uncle Bob martin. The SOLID principle is a set of principles. As our codebase grows in size it can be messy, unorganized, fragile, etc. There is no proven method to make our project stable because software development is an iterative process. Things today we write can be changed tomorrow, the module we create today can no longer be fit in our codebase. That doesn’t mean we should not care about our codebase. We can apply some principle which can help us to do less refactor, fewer code changes, less dependency or organized dependency, etc.
Monorepo is a repository pattern where we manage multiple packages in a single repository. Normally what we do is create a separate repository for each package and maintain all those packages by tracking their version and release. In Monorepo we put all of our packages in a single repository.
Recently I was learning and exploring more about JAMStack and I found it quite interesting at same time i also feel that it may not work as expected or as it is being endorsed.
A - API's which we use in our application that can be like comment section from Disqus, Search from algolia , Payment from stripe and mail from Mailchimp.
M- Markup, which means HTML, Markdown
0 because JS engine will coerce it which means
there will be some abstract operations inside engine and what it does is , it will call
toPrimitive(hint), here argument
hint means what will be the expected type or what the value should be coerced to.
In JS if we try to stringify empty array then it will return empty array removing the brackets and if an array has value undefined/null then it will still return an empty string and if we try to convert empty string to number then we will get
0 as output.
This methods helps us to prevent adding new properties to the object. Though it will not throw error in normal case but will throw error if it is used in 'use strict'. Changing value of already added property is fine and it won't throw any error.
Each developer is unique, with individual strengths and weaknesses, preferences and dislikes. Here are some characteristics that a pragmatic programmer will follow.
Learning random things on the internet that pops in your Reddit, Twitter is always fun and interesting, but learning things to reach your goal is always fascinating and a satisfactory thing. what’s the best way to go about acquiring intellectual capital with which to fund your portfolio? Here are a few suggestions.
Docker is platform which helps us to ship, build and deploy application. It provides us containerization platform which is different then virtual machine. A VM (Virtual Machine) is whole OS which sits on top of a host OS but a container is just a collection of things which we need.