Programming Leftovers
-
Principle of Least Astonishment
Systems should behave in a way that is least surprising to the user. This idea is the overarching theme of many of my thoughts on product development. It shows up again and again in different places.
-
Hotspot performance engineering fails
Developers often believe that software performance follows a Pareto distribution: 80% of the running time is spent in 20% of the code. Using this model, you can write most of your code without any care for performance and focus on the narrow pieces of code that are performance sensitive. Engineers like Casey Muratori have rightly criticized this model. You can read Muratori excellent piece on his blog.
-
Five Common Mistakes To Avoid When Learning Golang
Golang (or Go) is an open-source programming language that was developed by Google engineers. It was designed to build efficient, reliable, and robust applications, and it is a statically compiled language used for building modern and scalable applications. Go is known for it’s concurrency support, which makes it easy to write programs that can perform multiple tasks simultaneously. It has a garbage-collected runtime and a rich standard library, making it easy to develop applications without relying on external dependencies.
It has gained popularity among developers over the years for a variety of reasons. One of the main reasons is its simplicity. Go has a clean, easy-to-learn syntax, which makes it easy for new developers to pick up and start using. Additionally, it places a strong emphasis on readability, which makes it easier for teams to collaborate and maintain code. Go is also known for its performance. It is a compiled language, which means that it is compiled into machine code that can be directly executed by the computer’s processor. This makes Go programs fast and efficient, especially when compared to interpreted languages like Python or Ruby. However, when learning Golang, there are common mistakes made by beginners or experienced developers in understanding basic concepts.
In this article, we will go over these five common mistakes and how to ensure we avoid them.
-
Murena is eating the world
-
Precel: Like Excel but for Uncertain Values
-
Unifying Qt::TimeSpec within QTimeZone
Qt 6.5 sees a quiet revolution in QDateTime's API, built on one in QTimeZone.
-
InfluxData releases InfluxDB 3.0 product suite for time series analytics
InfluxData is betting on Rust (the programming language) to power the newest version of its InfluxDB time series database product portfolio.
-
What Are Structures in Golang
In Golang, a structure is a composite data type that consists of zero or more named fields, each of which has a specific type. Read more in this guide.
-
Funny Programming Pictures Part XXX
Yep. XXX. Oooooh, boy! You know what that means!
-
Introduction to Doubly Linked Lists in Java
Doubly linked list is a data structure that has reference to both the previous and next nodes in the list.
-
How to Remove Substrings Using ${} in Bash Scripts
String manipulation is a vital skill for any programmer or developer, and the ability to work with strings effectively can significantly enhance your efficiency and productivity. In Bash, one of the most common string operations is removing substrings from a given string.