What if programming languages were stocks? And you had to make a portfolio to fetch good returns in 2022?
You probably have seen various surveys and analyses listing the most popular programming languages. Those cover the universe of programming languages, like the S&P 500 does for the stock market. What would be the best portfolio for you to be successful and outperform the rest?
Of course, it depends on the risk profile, or whether your focus is specific to a specific sector, e.g., web, mobile, enterprise, machine learning, and edge/embedded.
But let's say you want to pick 10 stocks for a diversified portfolio and a medium-risk appetite. Stocks are of 3 types:
- Large Cap: Big corporations with stable businesses, like Fortune 500 companies. The upside is stable but not manifold, and the downside is limited.
- Mid Cap: Mid-size companies with a high chance of becoming large-cap in the future. These offer much higher returns, but can also go down significantly.
- Small Cap: Upcoming companies. Currently very small, but showing high potential. These might turn out multi-baggers but are very risky too.
If you invest only in large caps, your returns will be subdued. If you invest only in small caps, you might hit a jackpot, but can also go bust and lose your shirt. A diversified portfolio allocates money to each asset class. That keeps returns stable, and also has a fair chance at higher returns.
In this article, I present an opinionated portfolio of 10 general-purpose programming languages, with 50% large-caps, 30% mid-caps, and 20% small-caps. These languages will suffice most of the work done by most teams and organizations.
Top comments (0)