explain this : Learning Deep v. Learning Wide Corey Lynch Corey Lynch · Follow 4 min…
- User
explain this : Learning Deep v. Learning Wide Corey Lynch Corey Lynch
· Follow
4 min read · May 1, 2021 16
In this article, I am going to make an argument for learning one topic deeply as opposed to many topics generally and my reason for this is so that programmers beginning their journey can perhaps be convinced of this to take advantage of the exponentially increased breadth of concepts deep learning will allow them over time. That’s right, learning more concepts in the same language as opposed to the same concepts in a different language.
The building blocks. Sometimes you have more, sometimes you have less, but generally, they are the same. As I just mentioned, this will predominantly be directed towards web developers just beginning their learning journeys, setting forth to find their first jobs. It’s easy to get get the wrong idea from job descriptions, and we often get carried away by the overwhelming weight of knowledge that can be thought to be expected of ourselves.
Mostly JS, Git, and SQL. This is actually pretty damn reasonable. Continue reading and let’s see if we can get that weight off your shoulders. As a web developer just starting out, it is likely that you learn HTML, CSS, and JavaScript. You also quickly realize that these are minimum requirements for the industry. And so you seek to migrate to another technology to diversify your knowledge base. I would say wait. With Javascript, there is so much you can learn without needing to pick up another language.
There are more… many more, 😂 With JavaScript web development, you can begin learning front-end libraries like React which is the most popularly used front-end app library in the industry today, you can learn more about it here. You can use Node with ExpressJS which is one of the most popular web app backend frameworks in the industry. You can even start creating mobile apps to be published on your favorite phone’s app store using ReactNative and ReactRedux. So the concepts you learn by knowing those technologies well can easily be conveyed to technologies in other languages because you’ll know what you need to make an app work with those technologies so when you develop an app with another language, you’ll easily be able to see conceptually what you are missing from that app and thus be able to ask the right questions to find the solution with that different library/framework/language. React is rather unique in its interactions with the DOM by using the Virtual DOM, but still, JavaScript also has other frameworks like AngularJS, and VueJS which both interact with the DOM differently than how React does using its Virtual DOM. Additionally, there is always JavaScripts built-in API for interacting with the browser’s DOM. So, as you just saw, a vast majority of the web development concepts you could possibly know can be covered simply by knowing JavaScript very well.
Erich Gstrein — Self-created diagram Well, what about computer science? Algorithms and Data Structures I mean. Well, they can all be done using the JavaScript language and if JavaScript is your main language I highly recommend you learn all those Algorithms and Data Structures in JavaScript BEFORE you move onto another language. After all, how much more time will it take you to learn another language as well as React and Node allowed you to know JavaScript? And if you learn enough Algorithms and Data Structures as would make you comfortable in a technical interview, with JavaScript, how simple do you think it would be to learn how to write those algorithmic solutions in another language, knowing exactly what you need in your solution before you even begin writing it in any other language?
No specific syntax was used in these explanations. By simply learning all these things well with plain old JavaScript, you’ll learn all the concepts you will need to know is all I mean. That’s the important part. Once you know those concepts, that is, to have the ability to explain to someone how something works simply, you can succeed in making something work even if you don’t know a particular language or technology because you will know what to look for, the questions to ask, and what is going wrong or right.
Standards are common across technologies. Just not as concrete as they are in other tech layers. For example, if I know I will need two variables and a loop to solve an algorithm with the two-pointer approach but have no idea how to write Python, wouldn’t I just need to search for how to write loops, variables, and functions to write the algorithmic solution in Python? This is the ability that learning one technology deeply allows you.
Learning many technologies generally is actually a distraction from learning new concepts because all learning has an associated time cost.
- Assistant
Certainly! The article "Learning Deep vs. Learning Wide" by Corey Lynch discusses the importance of focusing on learning one programming language deeply rather than trying to learn multiple languages or technologies superficially. Here's an explanation of the key points presented in the article:
Depth Over Breadth in Learning
-
Mastery Leads to Conceptual Understanding: By delving deeply into one language, such as JavaScript, you gain a thorough understanding of programming concepts. This deep knowledge forms a strong foundation, making it easier to learn new technologies or languages in the future.
-
Avoiding Overwhelm: Beginners often feel pressured by job descriptions that list numerous required skills. Focusing on one language helps alleviate this pressure, preventing the feeling of being overwhelmed by the vast amount of technologies available.
JavaScript as a Comprehensive Tool
-
Versatility of JavaScript: JavaScript isn't limited to front-end development. It extends to server-side programming with Node.js and Express.js, mobile app development with React Native, and even desktop applications. This makes it a valuable language to learn deeply.
-
Exploration of Frameworks and Libraries: By learning JavaScript thoroughly, you can explore popular frameworks like React, AngularJS, and Vue.js. Each offers different ways of interacting with the Document Object Model (DOM), enriching your understanding of web development.
Transferable Skills Through Deep Learning
-
Understanding Core Concepts: Learning algorithms and data structures in one language equips you with problem-solving skills that are transferable. The logic remains the same across languages; it's primarily the syntax that changes.
-
Easier Transition to Other Languages: Once you're comfortable with programming concepts in one language, picking up another language becomes easier. You can focus on learning new syntax while applying the concepts you already understand.
Efficiency in Problem-Solving
-
Asking the Right Questions: Deep knowledge enables you to identify what you need to solve a problem. You know which questions to ask and what to look for, which is crucial when working with new technologies.
-
Reduced Learning Time: Instead of spreading your efforts thinly across multiple languages, investing time in one language can be more efficient. It reduces the cumulative time cost associated with learning each new technology from scratch.
Practical Example
- Applying Algorithms Across Languages: If you understand the two-pointer technique in JavaScript, you can apply the same logic in Python. You might need to look up specific syntax for loops and variables, but the underlying concept is the same.
Conclusion
The article advocates for learning deeply in one area to build a robust understanding of programming fundamentals. This approach:
- Helps beginners build confidence without feeling overwhelmed.
- Provides a solid foundation that makes learning additional technologies easier in the future.
- Enhances problem-solving skills by focusing on conceptual understanding rather than just syntax.
Final Thoughts
By concentrating on one language like JavaScript, especially given its wide applicability in web development, you:
- Gain Comprehensive Knowledge: Understand both front-end and back-end development, as well as related areas like mobile app development.
- Build Marketable Skills: Become proficient in tools and frameworks that are highly valued in the industry.
- Prepare for Technical Interviews: Develop a strong grasp of algorithms and data structures within a familiar context.
In essence, learning deep allows you to maximize your learning efficiency and sets a strong foundation for future growth in your programming career.
-