Skip to main content

Posts

Showing posts with the label programming

Similarities & Differences - Learn new Programming Language

     Our mind works in mysterious ways. We learn things by finding similarities and differences. We correlate things by finding if we have something similar learnt in the past. If we are able to find some similarity then great otherwise we start searching for differences. How something is different than what we already know ? Order may not be the same but in both cases our mind is trying to compare and learn. How can we leverage this quality for learning a new programming language ?  For instance you remember red and yellow colour by differentiating between them by their visual effect on our eye but you can group them together by their similarity that they both represent colours. In nutshell you create more generalisation or abstraction by using similarities but specialisation is through differentiation.      Programming languages are abundant but you know the fact that creating something completely new is very rare when you have some learnings in your...

Concept is more important than Programming language constructs

     Programming languages are evolving faster in the Information Age. The rapid growth in the language features and new Programming languages being introduced in the market is overwhelming. It is difficult to keep up with this pace. Moreover organisations like Oracle which adopted 6 months release cycle using Agile process has given us very little time to learn new things and establish our stronghold. When I went through few of these Programming languages I found the usual pattern that conceptually they are very similar only the Programming construct is different. Hence I believe the concept is more important than Programming language construct.      Let's take an example of Groovy and Java 8. Both of these languages have the concept of lambda but the programming construct is different. In Groovy Programming language they call it Closure and in Java 8 they called it Lambda. The concept is same to pass code as an argument. The concept of code as an argument...