Functional programming sounds daunting for those, who are not familiar with it. But in fact, it is a very easy and elegant concept that allows writing much less and more compact code that contains only the essential functionality - without any plumbing.
Leonardo Da Vinci
Leonardo Da Vinci conitnue to impress with its abilities. His biography by Walter Isaacson brought him closer to us and resolved many “mysteries.”
Exception handling. Use RunitmeException only.
Exception handling in Java may be a source of much confusion and unnecessary code writing. But it should not be this way. Contain checked exceptions as soon as possible and use unchecked exceptions only. It is easy.
I see what you see
Pretty soon our notion of privacy will disappear, replaced by the deeper layer isolated deep inside our brains. The good news, we will become more civil even in our thoughts.
OOD is easy. Just follow OOP.
Number of books written about Object-Oriented Design (OOD) is huge and growing. Same may be said about Object-Oriented Principles (OOP). But there is an innate relationship between the two. If you know it, both look much simpler.
Hiding vs overriding
Difference in the accessibility to the child public fields and methods using the reference to the parent can be a source of a confusion which we are going to resolve in this post.
String object is immutable. What does it mean?
In Java, String objects are immutable. Yet, it seems we are able to change them all the time. This contradiction is the source of much confusion. This article clarifies the matter and helps to avoid the confusion.
Method equals() is the only way to compare String objects
Method equals() compares objects by reference and by value. In the case of literals, comparison by reference is enough. Which means that method equals() as fast while comparing literals as the reference comparison.
Isolation
Despite the growing population density, our isolation from each other remains the same. One has to be surprised that we find something in common at all. Or is it just an illusion and the walls that separate us are insurmountable?
Untouchable private initiative
Private initiative as the solution to any economic or social problem is quite popular among Americans. Quite a few of my friends argue that the government, motivated by the lobbyists, guilty of the market corruption. It issues various regulations and even laws that help the big corporations. But there is another side of the issue […]