At a distance, the solution for improving your programming skills is to keep programming every day and keep learning, and it's true. When you actively pursue something, it’s inevitable to become better through the pursuit alone. However, especially in software development, optimization is important as it is better to learn at the speed of
O(n) rather than
O(n*2). This blog is all about building your own philosophies. So without further ado, here are mine.
Code is an art form, and as developers of art, we must perfect our craft. Take, For example, code challenges like on Leet…
In this section, I will be Introducing you to the SOLID Principle. S.O.L.I.D is a mnemonic acronym that stands for:
S- Single Responsibility Principle.
O- Open-Closed Principle.
L- Liskov - Substitution Principle.
I- Interface segregation principle.
D- Dependency Inversion Principle.
S.O.L.I.D, which I will now refer to as SOLID, is a fundamental design principle that is very popular for OOP programming. Every Developer should understand all these principles as it is a key concept for any software engineer.
All design patterns and principles contribute greatly to writing not only good code but also clean code. However…
I want to start off simple. I’m going to…
It didn’t seem evident at the time, but it really was quite simple to set up authentication, or at least the basics of it. As most people are aware, as your application grows, it becomes increasingly more challenging to balance authentication.
I would usually recommend a third-party authentication or even a backend API like Firebase or Auth0, but for now, if you’re just building a small application, this will do.
First things first, I will assume that you’re pretty familiar with generators if you’ve made it far enough to be looking up authentication. Run the
npx create-react-app package runner for…
It is a curious question, one that invokes plenty of critical thought though it was such a simple decision. Imagine this if you will; young man, late-night, falling further down the rabbit hole we call the internet. So much time wasted doing nothing but, It only took seconds for my browser to load a website that would completely change the direction of my life.
Before we begin, I need to add a bit of a back story for context. Don’t get me wrong I love computers, I built my own after all and, I have been known to go red-eyed…
Static Generate means that we Pre-generate a page during build time. This way, all HTML data that make up the content is already loaded into the page during the build time. By build, I mean that the app is pre-rendered during the app’s deployment.
After your app has been deployed, pages are prepared ahead of time. Allowing them to be cached by the server/ CDN(content delivery network) serving the app. Now when a client requests the server, the pages can be severed to the client if any incoming requests are being resolved.
Only inside the pages folder, we can use…
Idempotent — denoting an element of a set that is unchanged in value when multiplied or otherwise operated on by itself
A hash function digests syntax, allocates memory with an associated address known as the key, and holds value.
What is the Call Stack?
Let’s review an example of how we…
Big-O programing wow, sounds scary right. Well, I’ve got good news for you Big-O is actually very simple to understand. To put it simply Big-O is just a way of talking about the efficiency of Algorithms. Lemme give you an example of Big-O Notation.
let number = 10
The Big-O of this would be just be
O(1)? let me explain in further detail.
O = the number of operations in a given function. Since our code above will only run once it is equal to 1 operation. Pretty simple right. Okay well, let's take it one step further.
I love tackling new and exciting challenges and working with software because it’s consistently changing, which is exciting.