Skip to content

Latest commit

 

History

History
477 lines (352 loc) · 42.5 KB

programming-tips.md

File metadata and controls

477 lines (352 loc) · 42.5 KB

drawing

How to avoid inheritance problems using composition and functional programming

The Omit utility Type lets us take types, remove elements, and make entirely new types. Let's look at how it works.

it's easy to think we understand a certain technology when in reality it's not the case. So what questions can we ask to make sure we do?

Git worktree allows us to checkout many branches in a git repository. This lets us switch between different branches without losing our changes.

Detailed examples on how to return the middle node, given the head of a singly linked list.

Using cookies in C with Vely framework

Rebases are a way of making your crude commit history into something you’ll want to share with the rest of your team.

Choosing the best programming language to learn first can be overwhelming. We are reviewing popular languages and giving resources to learn them for FREE.

Linux is one of the best-known and most used operating systems in the world. Here are 6 essential commands which can make you better at using Linux systems.

Have you ever found a bug inducing line change in your code, and wondered who made the change to that line? Fortunately, git has a command for that

Virtual functions are normal C++ methods with virtual keyword. Checkout the working and implementation of these methods in this blog.

Code review is an essential step needed for effective software development.

Some helpful tips that can steer you in the right direction and help you decide if a component should be part of your internal component library.

Are you stuck on earlier versions of .NET but want to get your hands on the hot new record types? Fear not! Check out this simple solution to simplify things!

Instance variables or instance fields: these are variables declared inside a class without a static keyword, but outside a method, constructor, or code block.

This article is about removing single line comments from text.

You will require coding skills if you want to work in the field of artificial intelligence (AI). How do you begin? and Which programming language to use?

Building a job-ready portfolio of coding projects doesn't happen overnight, here's why you should include libraries and packages in yours.

Solving ATM problem with Dynamic Programming

A look at an average pay scale and the future demand for each of the programming languages available today and made a list of the top five languages.

My best practice from making a real-time high loaded performance application on .NET platform

Embedding refers to integrating external content on your webpage like images, videos, etc. Learn the history of embedding and how to embed content on a website

How to create private homebrew taps

The rise in cybercrime and the sophistication of attacks has made security a crucial part of the development process and not just an afterthought.

Java and JavaScript...

Beyond the names that appear "similar," how else do these two programming languages differ from each other?

Learning to code can be a challenging and rewarding journey, but it's not without its pitfalls. However, with a little knowledge and planning, these common

With this guide, I hope you gain an in-depth understanding of the buddy system in OS and the slab system for allocating kernel memory.

Understand how JavaScript array methods work by implementing three of the most common methods: map(), filter() and reduce.

This article illustrates how to separate the vocals of a song from the instruments using my new favorite library, Librosa.

How to detect if the network connection is Online/Offline with Angular - RXJS

Stop using if statements unless absolutely necessary. Using if statement is a clunky way of writing code and should be avoided wherever possible.

Pair programming is a software development technique where two developers work together on the same code on one computer.

Command Design Pattern is one of the behavioural design patterns used to encapsulate a request as an object, thus enabling to parameterize clients with differen

If you are preparing for a coding interview and would like to learn a few simple approaches for setting a matrix value to 0, then keep reading.

We take a look at what .phony actually does.

How to set up Flavors in Flutter and why you need them. A tutorial on Android & iOS app development.

Android Studio has some functions you probably do not know. So, I am sharing the top 10 Android Studio Tips and Tricks.

What would happen if we apply some wisdom from handling exceptions to handling negative emotions?

Java is a solid choice of a programming language to learn in case you have no prior tech background.

In this article, I have handpicked 16 commands to set up your React apps in seconds.

I've been using Django for a little less than a year already if I'm not mistaken and I'd like to share the top resources I use when I'm running on a roadblock or if I'm trying to implement something that I haven't implemented yet.

We can use LinkedList to merge both sorted lists, though there are considerations to doing it single or double-linked that may complicate the operation.

A trie (pronounced as “try”) or prefix tree is a tree data structure used to efficiently store and retrieve keys in a dataset of strings.

Let’s take a look at some of the best coding hacks to remember in the new year.

In this article, the breadth-first search algorithm is explained with examples and implementations, including how it can be modified to find the shortest paths.

JavaScript is changing fast with a lot of new and exciting features to help us - developers write code better and better. Let's check these latest features.

This article provides a roadmap and list of great online resources to help you attain the necessary skills to become a great web developer.

Array reduce is a powerful functional programming technique that can be used to simplify complex data manipulation tasks. One of the main advantages of using array reduce over traditional for loops and filter operations is that it allows for more concise and expressive code.

Scraping Google News Results can get you access to articles from thousands of sources, including CNN, BBC, Reuters, etc.

Looking to understand the critical factors to learn programming faster are listed here.

Kubernetes default namespaces and their importance

This blog post started with a personal search for such a post. I have a coding interview in an hour, and I was searching for a good medium post, which can point me out some basic concepts of Competitive Coding so that I can brush up just in time.

After some time working as a data scientist in my startup, I came to a point where I needed to ask for external help with your project.

If it brings no value to users, chances are, no one will use it.

User stories are brief, informal descriptions of a feature told from user POV.

Are you curious to decode unknown facts about React version 16.8? Yes! Read the complete article.

We will make an effort to comprehend the significance of competitive programming (CP) and whether or not it will be useful for your technical interview.

Do you know what percentage of people do not use Ctrl+F when searching text on pages?

No matter how experienced you are, Git will always find a way to surprise you. It is loaded with neat tricks that have the power to make your daily coding routi

What is Git and how do you use it? Learn about Git in this intro to programming article.

How Programming and Technology Are Changing the World

A linked list of length n is given such that each node contains an additional random pointer, which could point to any node in the list, or null.

How much time do you spend in debugging? Well, I know that the question is bit vague and the answer would vary. After spending close to 15 years in Computer Programming, I still can't say confidently how much time I really spend in debugging things. There could be multiple factors that influence it and make it uncertain to answer:

Becoming a Git power user is on the bucket list of every developer. With our 5 Git tips you will level up your workflow and get one step closer to Git mastery!

Solving k-th largest element in the array using heap and quickselect

As a software development company, it’s easy to focus on technical excellence while forgetting that a lot of what creates that excellence isn’t technical in nature at all. Culture, practices, and all those ‘soft’ things in and around the technical heavily influence the way software gets built, and the quality of output.

In this article, we will learn about what memoization is, what value memoization provides to Javascript developers, and how to use it to improve JS functions.

We are trying to learn the basic concepts about heaps like inserting and extracting data from heaps and also the time complexity of heaps.

This article address how errors are handled with the Rust programming language.

To become one of these in-demand professionals, you need to know how to learn to program.

How to Find the Product of All Elements in an Array Except Self? You must write an algorithm that runs in O(n) time and without using the division operation.

Algorithms and heuristics are not the same. In this post, you'll learn how to distinguish them.

Don't let C++ scare you!

Given the head of a singly linked list, reverse the list, and return the reversed list.

Sometimes it’s necessary to set up a development environment for writing TypeScript code. This article will show you how it’s done.

Remove Nth Node From End of List is a problem where given a linked list, the goal is to remove the nth node from the end of the list and return the updated list

In this complete guide, let's look at how && works, and go through some examples to explain when it returns values, and what values it will return.

Reading the manual is a habit that every software engineer needs in order to perform well. Save hours of trial and error.

Buttons are the most basic element we love to neglect, but buttons don't have to be boring. Here are 7 spicy button designs using Tailwind CSS.

Compile Angular Component To HTML String With All The Bindings

A review of some of the HTML attributes you might want to use.

A guide on how to protect yourself and your projects while on Github.

Python lessons for beginner and advanced level at the same time

Strings are nothing but a combination of characters, and working on strings is a common part of a programmer’s life.

Webpages can and do look pretty different from one another, but they all tend to share similar standard components.

Every programming problem involves some kind of algorithm. An algorithm, in this sense, is a process or set of steps to accomplish a certain tasks; or simply a step-by-step way to solve a problem. There are about 700 programming languages. (Seriously: Here's a list.) So, what to learn and why to learn it - that's what most people are stuck on. From my perspective, you can (and should) choose learn any language. Learning the basics of one on-demand programming language will do you no harm. But: you must select ONE language that becomes your magic spell, and you should always be ready to create something out of it. Learning varieties of languages and not being able to do anything really well is like a curse.

Well, I'm certainly not a world-class expert, but I have put my 10,000 hours of deliberate practice into programming.

This article will introduce the concepts and topics common to all programming languages, that beginners and experts must know!

Heap data structure is a balanced binary tree data structure where the child node is placed in comparison to the root node and then arranged accordingly.

These are some of the most useful Git commands that helped me during my programming journey.

Whenever you’re developing software, a certain amount of refactoring and rewriting is inevitable. This is sometimes due to a new idea that will simplify the design or a change to the project requirements. But unfortunately, it often also happens because of a misunderstanding about how the software will connect and interact with its external environment. While it’s impossible to completely avoid such miscommunication, you can minimize it by using a principle I call writing software from the outside in.

We dive deep into the first principle of SOLID programming, the Single responsible principle. It states "A class should have one and only one reason to change"

Java Stream's Collectors methods fit most use-cases. They allow returning either a Collection or a scalar. For the former, you use one of the toXXX() method, for the latter, one of the reducing() one.

This article acts as a step-by-step guide that you can follow to start on your projects and learn along the way.

Java is a skill that is in high demand and that’s why I and so many others have jumped on board the bandwagon and became a java developer. This field has so much to offer a young coder. Things like a high salary and job advancement are nice to have in a world where it seems like nothing is certain.

If you work in a team opening a Pull Request (or Merge Request) looks appropriate. It’s a common practice nowadays. However, have you ever thought about opening a Pull/Merge Request when working by yourself?

I asked developers in my team what VS Code extensions they use to boost their productivity, and here’s what they said.

Recycle the programming projects you complete: iterate on them and create your own mini-projects along the way. Here’s how.

An engineer with a deep understanding of algorithms and data structures will be able to make informed design choices, and write programs that are more performant and easier to change.

The notion of state machines is extremely useful in programming. It streamlines the process of developing more complicated use case apps.

Are you willing to start a career in programming? Or, probably, you’re a dedicated hobbyist who wants to try coding just for fun? Then this article is for you!

It's amazing how much you learn about people and about yourself once you have a kid. You can see below some of the lessons I’ve learned from my 3 year old daughter and which I believe are also applicable in building software products. 

Here are 12 VS code shortcuts to help code faster.

Learning Dynamic Programming and Memoization in Under 5 Minutes

You may not believe that learning a programming language is easier than you imagine. However, it is! And we want to help you to start the way in IT via C#.

Spring/Boot REST API and Stereotype Annotations Reference for Learning and for Daily Development.

There's a lot to learn when you're a new React Developer. These 5 Intro Tips will help you avoid simple mistakes many new developers make when starting out.

There are some great tools and extensions that might help your coding experience enjoyable in the VS Code. That is great and all but there might be a chance you are missing out on some great shortcuts that VS code offers. That is why this article is here to help you with some of the most useful shortcuts for faster coding.

This article is a heads up that you can do a lot with just vanilla HTML and a bit of CSS if you want it to look pretty. Here's how...

A step-by-step guide for getting to https://localhost:3000 Create a certificate to make ourselves a Certificate Authority (CA) that can sign SSL certificates.

I used to consider myself pretty knowledgable about the cyber-world, but then I started learning about cyber-security and reading reports by companies like Shape Security, IBM and Snyk.

For quite a while, software development has been among the most well-paid and demanded jobs in the labor markets across the world. Now, when 2019 is running to the end and we are standing on the threshold of the new year, this tendency seems to stay with us.

How I built a simple code editor like VScode using Tauri and Reactjs

Getting better at problem-solving requires more than just reps. It’s also how you go about it. We discuss How to Get Better at Solving Programming Problems.

There are a lot of articles about PWA that tell in detail what it is and how to set it up. Yet you may not always understand them from the first time.

This post focuses on creating materials in 3D with the Delphi FireMonkey framework. Shaders give your programs the ability to take full advantage of the GPU.

Ruby is one of the popular programming languages which was developed by Yukihiro Matsumoto in the mid-1990s. Ruby is a general-purpose language and is easy to learn. So, today we will be talking about the top 14 most asked questions about Ruby.