Categories
Uncategorized

Problem Solving

Problem Solving

Psychologists have affirmed that solving certain puzzles requires seeing things differently.

PROBLEM

In the classic Candle Problem by Karl Dunker, we are given some thumbtacks, a candle, and a box of matches. The goal state is to attach the candle to a wall in such a way that we can light the candle without breaking the house down.

HOW TO APPROACH THIS?
Trial and Error

Most people try to solve problems using trial and error. Of course, it does help you explore the problem space. Here, many people who attempted the test explored their creativity, but less efficient methods to achieve the goal. For example, some tried to tack the candle to the wall without using the thumbtack box, and others attempted to melt some of the candle’s wax and use it as an adhesive to stick the candle to the wall. Neither method Works.

Reframing the problems

The solution comes when we realize that the matchbox can be used to make a kind of shelf to hold the candles. That is, it is not a box but possibly something else. The inability to see the matchbox as a possible solution is called functional fixedness. When  Dunker presented his research subject with an empty box and content separately, they were twice likely to solve the problem.

In the Software field, don’t learn to code! Don’t learn to code!. So many developers are focused on the syntax, they are focused on the language. They are focused on learning to code or to program but not on solving Problems.

“IT IS IMPORTANT TO VIEW KNOWLEDGE AS SORT OF A SEMANTIC TREE — MAKE SURE YOU  UNDERSTAND THE FUNDAMENTAL  PRINCIPLES, THAT IS THE TRUNK AND BIG BRANCHES BEFORE YOU GET INTO THE LEAVES/DETAILS OR THERE IS NOTHING FOR THEM TO HANG ONTO.” EON MUSK

What you need to do as a software developer is to learn to solve problems, not just to code. The important skill needed is the actual ability to solve problems to break them down and then to translate to code.

TAKEAWAY

Perhaps the most important takeaway is perspective, when we look we often don’t see/see things in a certain way. Understanding our view and our own patterns are most important. It makes us know our limitations and reframe ourselves which takes us out of the darkness. 

Categories
Uncategorized

You don’t know your JAVASCRIPT

You don't know your JAVASCRIPT

Terrific Minds - What the TECH V.20

Any application that can be written in JavaScript, will eventually be written in JavaScript”
– Atwood’s Law

JavaScript is the powerhouse behind a rapidly evolving Internet. It is the past, the present and will remain the future of the web as we know it. As of today, more than 95% of the Internet is powered by JavaScript. According to Stack Overflow, a popular website used by developers to share their expertise, two out of every three developers use Javascript. So what makes this programming language ever popular?

LEARN ONE DO MANY

Can you imagine an ideal place, where you can learn one language and use it to develop mobile apps, make websites, and even desktop applications? Pretty cool, right? But that is precisely the possibility that javascript brings to the table.

React/Angular/Vue – These are the three most commonly used front-end frameworks and libraries used for the purpose of web development. Each has its own merits and excels in its own way.

Node – Node is not a language as many thinks, but rather a runtime environment. The original idea is to set up a web service or TCP server with high performance. We use javascript to write backend services here.

Electron – A framework to build desktop applications using javascript. Bet you didn’t see that coming, right?

React Native – The most promising aspect of React Native is that you can use the same code for deployment on iOS as well as Android. Lots of improvements are going on with this framework and I am eagerly waiting to see it take over the market among developers.

BACKBONE

Readily Available Packages – The most promising aspect of React Native is that you can use the same code for deployment on iOS as well as Android. Lots of improvements are going on with this framework and i am eagerly waiting to see it take over the market among developers.

VAST LIKE AN OCEAN

I always like to say that javascript is vast like the oceans, without any obvious organization or pattern. You can see this as a boon or a bane. But I often see developers complain about this while writing complex solutions. But JavaScript has been addressing this by bringing class concepts from ES6 onwards and bringing TypeScript into the picture.TypeScript provides classes, interfaces, and modules that allow us to properly structure our code as encapsulated reusable structures that make it easier to maintain and scale. Hopefully, in the future, it becomes even more of a Javascript front layer than it already is.

TO AI

Many don’t consider javascript to be primed for areas such as big data and machine learning applications. But even this is changing as many popular AI libraries are available in js like TensorFlow.js, etc. This is all to say that as far as I am concerned, Javascript still has a long way to go considering its vastness in all fields. It is easy to code in javascript, but to know the in and out’s of it is rare. And it is my wish that you may know the versatility of this language.