Indentation in Python
Python is one of the best designed programming languages. It is very easy to learn and it has very few gotchas (features which work in surprising ways). There are so many languages younger than Python,...
View Articlegit, where am I?
git is a great piece of software, it is a marvel of engineering, it is very useful and reliable. However there is one problem with git, which barely anybody mentions – it has a very unintuitive user...
View ArticleC type system strikes back
Today is one of those days when C++ surprises me. Here is a snippet: #include <stdint.h> #include <stdio.h> int main() { const int64_t a = 3; if (a < -0x80000000) printf("%lld is...
View ArticleRvalue references in C++
This is a great article by Scott Meyers: Universal References in C++11 It explains what rvalues are in a very clean and concise way. This is the best explanation that I’ve found so far. All the other...
View ArticleThe future of programming
In the near future, AI and robots will replace humans in most jobs. Until recently I thought programming would be one of the last jobs where humans would be replaced, but I don’t think so anymore....
View ArticleWhat Android phone makers don’t want you to know
Explosive news: a new Android phone from a popular manufacturer is out. How long is it good for? It is “good” for maybe two years. You are lucky if your Android device receives an upgrade to the latest...
View ArticleDoes type safety matter?
One of the distinctive features of programming languages is type safety, esp. static vs. dynamic typing. Let’s take C++ and Python as examples. In C++ a variable type is determined at compile time and...
View ArticleNanotechnology may be near
If you’ve heard the term “nanotechnology” you may have heard it used incorrectly as a marketing buzzword. The term leads back to K. Eric Drexler, who wrote in 1986 in his book “Engines of Creation” how...
View ArticleUnderstanding git
These days git is a very popular VCS (Version Control System), but many people find it difficult to use. I admit, it also took me many months to get comfortable with git. There are many git tutorials...
View ArticleBatteries
We’re witnessing our civilization undergo another significant revolution. We’re departing from extracting energy from fossil fuels in favor of harvesting energy from renewable sources. Majority of...
View Article
More Pages to Explore .....