Posts

Showing posts with the label blog

Itch in a Developer's eyes

   I am a big fan of Prettier . As a developer, I think it makes my life easier. I can switch off a part of my brain which worries about formatting while writing code. I have integrated it with my editor. The moment I press ' save ', it formats my code. A beautiful code structure appears in front of my eyes. No worries. The first thing I do, when I set up any JS projects, is set up prettier in my workspace. Just make a '. prettierrc ' file and my editor has a plugin to detect it and my work is done. It automatically starts formatting and beautifying my code.     When I joined my current company, I had convinced my coworkers to move to prettier. They had an ESlint set up which was doing the code formatting during committing with the help of a pre-commit hook . I did not like this for two main reasons. (1) I do not like the ESlint plugin showing me spacing errors in the editor. As a result, my workspace turns red. That's why I had to disable the lint plugin in my wor

The Great Depression of 1930

The Great Depression was a severe economic downturn of the modern world started in 1929 in the United State of America. It lasted till the late 1930s and affected many countries in the world.  "Those who do not remember the past are condemned to repeat it." - George Santayana   Today as we stand on the edge of an economic recession induced by Coronavirus (COVID-19) pandemic, it is worth looking back on the causes and effects of the longest, deepest and most widespread depression of the industrial world. What Caused the Great Depression?  The great depression started with the stock market crash of October 1929. The 1920s, after the end of the first World War, was a period of prosperity for America. The economy expanded rapidly and the nation's total wealth almost doubled. This induced a great optimism in the outlook of investors and the stock prices soared. Wall Street saw one of the greatest bull runs in history, S&P 500 saw a 500% rise from the low at 6.4