Stop Trying To Memorize Code - Do This Instead

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 1,1K

  • @humbertocontreras
    @humbertocontreras Před 3 lety +961

    One of the biggest advices I got in my early days as a developer was "Learn how to read and use any documentation". And after 25 years all I have to say is it was worth it.

    • @aammssaamm
      @aammssaamm Před 3 lety +40

      They no longer can read, they expect a video on each and every question.

    • @aammssaamm
      @aammssaamm Před 3 lety +25

      @@hajji384 What really slows your down is your laziness to take an extra step to your future. With this attitude you need to look for a simpler career like making burgers.

    • @mrflumau8706
      @mrflumau8706 Před 3 lety +1

      how do you learn that?

    • @aammssaamm
      @aammssaamm Před 3 lety +5

      @@mrflumau8706 Open it up and read it. 😂

    • @P8860
      @P8860 Před 3 lety +36

      Some documentation are terribly written and hard to understand. Around 80% of it. That's why we have forum like stack overflow because if docs were clear there wouldn't be any confusion on how to do xyz.

  • @rahul-thakare
    @rahul-thakare Před 3 lety +1023

    Bottomline is,
    Don't memorize the code, memorize where to find it.. 😂

    • @PhilLesh69
      @PhilLesh69 Před 3 lety +102

      Not where to find it. *What* to find.
      Understanding when to use a for loop and when to use a while loop is more important than memorizing the exact syntax of either.

    • @spicytoast6890
      @spicytoast6890 Před 3 lety +2

      Yeah na

    • @PhilLesh69
      @PhilLesh69 Před 3 lety +11

      @@nikolaymatveychuk6145 Wrong.
      You use a *for* loop when you know (or the incoming variable will hold) the number of iterations to repeat the loop, and you use a *while* loop when you want to iterate through a loop _until_ a condition is met.
      Or to be more concise, a for loop uses a predefined condition, while the while loop uses an open-ended condition based on commands inside the loop. For loops iterate for a preset number of times. While loops iterate till a condition is met (conditions can be functions, formulas, etc).
      Sure, on the surface, they will both "do the same thing" but not always and not the way you always might expect it. You can't always swap out a for with a while, or vice versa, and always get the same results.

    • @nikolaymatveychuk6145
      @nikolaymatveychuk6145 Před 3 lety +3

      @@PhilLesh69 "You can't always swap out a for with a while, or vice versa, and always get the same results." - yes you can :) I just showed it.
      "For loops iterate for a preset number of times" - no, they don't. In most languages a condition that you put to the middle section of a loop definition is checked before each iteration. So, it is also an open-ended condition (in C++, java, php, javascript, etc... sure, it is wrong for pascal, basic and some other languages with a different for-loop syntax)
      "you use a while loop when you want to iterate through a loop until a condition is met" - not exactly. I use it to iterate something while a condition is true. You speak about pre-conditions and post-conditions and you are right that a programmer need to know when to use each of them, but it does nothing with for and while loops. And again nothing can stop me from using break statement on some condition at the end of a loop's body.
      "You use a for loop when you know (or the incoming variable will hold) the number of iterations to repeat the loop" - no, often I don't know it. That's why the for-loop definition in C++ has syntax "for (initialization; condition; final-expression) { statement; statement; ... }" and not "FOR counter := startValue TO endValue" like it is in pascal or "FOR counter = startValue TO endValue STEP incrementStep" like it is in qbasic.
      ---
      So, what you really need to know is how loops work, when to use it, and how to make pre-conditioned and post-conditioned loops. :)
      As Uncle Bob says, there are only 3 basic things that you need to write any program: instructions, conditions (branches) and loops.
      So, if you know how to execute an instruction, how to choose a branch of code based on some condition and how to repeat any block of code many times - you are bound only by limits of your imagination xD

    • @ntigirishari
      @ntigirishari Před 3 lety +2

      Hahaha

  • @DThompsonDev
    @DThompsonDev Před 3 lety +477

    As someone who has been a professional for several years and now working at Google , I completely agree. You will learn best by doing and implementing. I've learned the same thing several times but each time you pick it up way faster. You will go through the motions and know how to do most of your daily duties and the rest you can look up.

    • @Videosuser
      @Videosuser Před 3 lety +20

      but what about the job interview?

    • @ppevideos8627
      @ppevideos8627 Před 3 lety +21

      @@Videosuser Good question! Why do job interviews expect you to know it all ?

    • @TemitopeJoshua10
      @TemitopeJoshua10 Před 3 lety +1

      Boss, how can I get a job in react native?

    • @oddity4650
      @oddity4650 Před 3 lety

      @@Videosuser I guess thd job interview is like (can you make a functioning website or app etc) then you say yes... it does not specify what type of app and how it will look or function etc as long as it works

    • @TwstedTV
      @TwstedTV Před 3 lety +9

      Its still memorizing. because your brain knows what to do and memorizes the steps needed to accomplish the tasks needed to complete the code.
      When you repeat something and over over, believe it or not, your brain memorizes what you are doing. again you still have to memorize. its called long term memorization.

  • @cas818028
    @cas818028 Před 3 lety +1783

    “Never memorize what you can look up in books” -Einstein

    • @Ou8y2k2
      @Ou8y2k2 Před 3 lety +164

      "I love quotes attributed to dead folks" -Jesus

    • @samirbatoq907
      @samirbatoq907 Před 3 lety +90

      Sometimes, its better to shut your fock*ng mouth - Charlie Chaplin

    • @sicario55
      @sicario55 Před 3 lety +14

      @@jameskegley4006 in contention for 2021 best comment response

    • @stephenianneli3531
      @stephenianneli3531 Před 3 lety +4

      I always say the same thing, slightly differently " i don't need to learn by heart things, I am not a computer". But if I did not memorize things i couldn't creat new ways more efficient or innovate. You should memorize but in general.

    • @vagato1893
      @vagato1893 Před 3 lety +23

      "i'm gay" - me

  • @iliashterev38
    @iliashterev38 Před 3 lety +91

    I can add my own words here - When you understand something like those tech concepts two things happen.
    1. You feel good for some time
    2. It starts living inside your brain so you do not have to memorize it.
    It is absolutely possible to forget it. But if you do and then you refresh your memory about the concept, the above process repeats itself.

  • @boutrostawaifi8969
    @boutrostawaifi8969 Před 3 lety +327

    Human memory exists*
    university: lets fill it with the ASCII table

    • @nvermr
      @nvermr Před 3 lety +15

      p y t h o n

    • @fred2009ification
      @fred2009ification Před 3 lety +1

      Hahahaha

    • @flamablegas6308
      @flamablegas6308 Před 3 lety +6

      I only know L is 72 and that's all I know and I'm glad I don't know everything else

    • @PhilLesh69
      @PhilLesh69 Před 3 lety

      For loops can populate an array with a range of ascii values.

    • @rowk19
      @rowk19 Před 2 lety +1

      Yup

  • @angelisdania
    @angelisdania Před 3 lety +77

    This was my approach in university. I attended lectures empty-handed, and focused on firmly grasping the concepts while everyone else jotted notes down furiously. I did quite well as a result, and set myself up better for career challenges down the road.

    • @Broly91571
      @Broly91571 Před rokem +3

      some people learn better that way. I am a visual learner as well. I can take notes all day but my information reception comes from watching it being done or seeing it drawn out kind of way. in high school and college I never took any notes and managed A's and B's occasionaly a C.

  • @rudya.hernandez7238
    @rudya.hernandez7238 Před 3 lety +80

    Focus on knowing what's possible and where to reference the how

  • @evanbero9705
    @evanbero9705 Před 3 lety +20

    Well said my friend. When I first started coding I tried to memorize and felt overwhelmed until I “learned how to learn”.

  • @sunilanthony17
    @sunilanthony17 Před 3 lety +31

    Great advice. When I first started programming, I was trying to memorize things and got discouraged.

  • @juliennegarcia4157
    @juliennegarcia4157 Před 2 lety +19

    Me as a former nurse of 10 years I left the field due to the pandemic and now I’m in a coding bootcamp. I’m struggling because I’m trying to remember what a Var is or a string, or a Boolean 😂 my mind is gonna explode. I’m trying to learn this in a whole new way and this vid helps a ton. As a nurse you memorize a procedure, as a developer you develop a procedure. Thanks bro!

    • @nearyou30
      @nearyou30 Před 4 měsíci

      Fascinating story! Well done 😊

  • @jonjoio9184
    @jonjoio9184 Před 2 lety +28

    As a beginner, I needed to hear this. I'm doing a course that has given some intermediate challenges of reversing strings etc but without using .reverse() as a means to practice. I tried so hard to remember what to do and felt like I was cheating looking at the documentation. Thanks for the helpful tip.

    • @nikola3670
      @nikola3670 Před 2 lety +2

      Same thing happened to me yesterday :D

  • @arnabparyali
    @arnabparyali Před 3 lety +758

    That's what our universities need to understand 😂 ,

    • @henil0604
      @henil0604 Před 3 lety +1

      Yea

    • @vandermannmusic
      @vandermannmusic Před 3 lety +20

      We mostly learn concepts at my university.

    • @midenddeveloper9361
      @midenddeveloper9361 Před 3 lety +7

      You need to tho, Im pretty sure the video is implying to real life work of a developer. When i was trying to apply for a job, i wasnt even allow to use google lol. So until you land a job, you need to memorize, just the basic, like for loops for coding interview and maybe how to do CRUD.

    • @DeanPickersgill
      @DeanPickersgill Před 3 lety

      Totally agree.

    • @Mobin92
      @Mobin92 Před 3 lety +18

      @@midenddeveloper9361 To be fair if you need to explicitly memorize the very basics (like loops) you are not a very good developper. On the other hand if a company cares about you writing 100% syntactically correct code on paper, they are not a very good company.

  • @antons7210
    @antons7210 Před 3 lety +22

    There are some things you should memorize. But the most important part is understanding the fundamentals and how the code works. And unless you have a photographic memory, it's not even possible to memorize everything anyway.

    • @ivanorokkhito9727
      @ivanorokkhito9727 Před 2 lety

      I think if we understand something clearly and can use the concept with confidence it is already learnt . Is there really something like photographic memory ?

  • @TheNeonRaven
    @TheNeonRaven Před 3 lety +11

    I wholeheartedly agree that learning concepts and how the language as a whole works is the priority, however, once you have the basics down packed, learning the common parts of the standard library and any frameworks or libraries that you commonly use helps immensely. You don’t need to memorize exactly how they work or every parameter, but at least be familiar with them and aware of their existence.

    • @merveugursac947
      @merveugursac947 Před rokem

      I would be more than appreciated if you can just hint me up on how may I learn "how the language as a whole works ". I think I struggle learning basics, the concepts not that I memorize anything but I think I cant write or buid anything without looking it up on the internet.

  • @tech-savant
    @tech-savant Před 3 lety +14

    Video idea: film the process of you actually preparing for a video, coding the app for the first time, googling all the things you get stuck on, etc. Because when you do it in a regular video, it seems like you know everything without any mistake :D

  • @AdeKingProductions
    @AdeKingProductions Před 3 lety +7

    You just gained a subscriber. Starting my first programming job at the end of the summer. Your videos have helped me focus on the task ahead without trepidation.

    • @Mordant.Melodys
      @Mordant.Melodys Před 2 lety

      Congrats Ade. I hope your job is going well man. Great work landing that position!

    • @AdeKingProductions
      @AdeKingProductions Před 2 lety

      @@Mordant.Melodys thanks. The world of tech is more vast than I thought. Enjoying the hard grind needed to make it in this world.

  • @jamesonpetitfrere5129
    @jamesonpetitfrere5129 Před 3 lety +18

    This is exactly what I needed. I thought I was doing something wrong.

  • @AlllegroPresto
    @AlllegroPresto Před 2 lety +13

    As a brand new coding student, this video is incredibly helpful and reassuring 👌👌

    • @yesyes9698
      @yesyes9698 Před rokem +1

      One year later. How did it go? Did you pull through?

    • @gulgul5983
      @gulgul5983 Před rokem

      @@yesyes9698good question

  • @kennethkath6527
    @kennethkath6527 Před 3 lety +41

    I remember trying to memorize 7 pages of code and getting messed up in lab exams. Never tried memorizing instead I tried to understand what functions to call and what variables are being used. Hope it helps

    • @kashifsaleem148
      @kashifsaleem148 Před 2 lety +4

      How do we get to know which are variables we are going to use and when?

  • @koendiepstraten5827
    @koendiepstraten5827 Před rokem +3

    Thank you so much for this video! I am new to learning how to code and got anxiety thinking about all the functions. This really helps!

  • @BobbyBundlez
    @BobbyBundlez Před 3 lety +11

    wish i watched this my first year into coding lmfao. luckily im passed that phase and am learning concepts etc. I DO THINK a bit of syntax memorization at this beginning is clutch tho

  • @arun_sullia
    @arun_sullia Před 3 lety +68

    The important skill required for a programmer is "how to convey that's running in your mind into the Google search"

  • @GodwinZMaga
    @GodwinZMaga Před 3 lety +3

    Thank you so much for this. I've been making this mistake for as long as I've been programming. You just changed that, good job.

  • @passionatebeast24
    @passionatebeast24 Před 3 lety +29

    I think after seeing something repeatedly you naturally remembers them perfectly, just don't force it . Strong concepts are most important.

    • @henil0604
      @henil0604 Před 3 lety +1

      Yea Human Brain is not made to Memorize Everything, it is made for learning things. Totally Agree with You!

    • @berylliosis5250
      @berylliosis5250 Před 3 lety +4

      The law of Google: anything used often enough to truly be worth remembering will be Googled often enough to remember it

  • @binaryspace6444
    @binaryspace6444 Před 3 lety +3

    I think for programming, you are exactly right about memorizing the basic 5 elements to programming, (I would also include syntax), and then language specific important things. Then.. I usually just pull up old programs or google things that I don’t remember exactly like what you said.

  • @BleuBayu
    @BleuBayu Před 3 lety +6

    nice explanation sir! when he said, "When we learn math, we don't neccessary memorize the numbers (2+2 is 4) but we simply know the concept and use calculator." Ah at this moment, I get what he meant. We don't need to memorize all of the code but instead learn how is the concept.

  • @aladan9667
    @aladan9667 Před rokem

    Thank you so much, I was complicating and getting frustrated because I was trying to memorize, instead I will be focus on learning.

  • @Human_Evolution-
    @Human_Evolution- Před 3 lety +6

    Perfect. This has been one of my struggles after 3 months of webdev.

  • @montebont
    @montebont Před 2 lety

    I learned to program (in assembly language) around 1977 - the days of batch programs running in 100K of memory and 99% of all input/output based on magnetic tapes and punched cards.
    The "core" principles I learned at that time are still valid. Whatever the higher level additions like "events" may have added, any program boils down to:
    1) sequence : instructions are executed in sequence,
    2) selection: a test to break out of (1): if test goto else exec next instruction
    3) iteration: repeat a given sequence until (2) a selection is false.
    I can also recommend studying the abstract description of programming languages like Pascal in BNF or SQL. It helps you understand
    structure / semantics (meaning) as a solid base for understanding syntax - the difference between programming languages.

  • @GavHern
    @GavHern Před 3 lety +7

    5:16 THIS!!! I remember my young self trying to explain to my parents/ teacher why I don't need to remember my times tables. Sure it might make me faster at those specific problems since i have the answers remembered instead of having to figure it out but it doesn't make me better at multiplication or math at all.

  • @atticchris
    @atticchris Před 3 lety +1

    I partly agree but not completely and I would add 2 scenarios I discussed lately …
    - With a teacher: We brainstormed about teaching kids concepts vs. having them learning by memorization and repetition. Conclusion: After years in the field we underestimate the necesity to memorize mainly the basics to have them present in any moment. Everyone learns differently. Some by reading, some by listening, some by watching, some by doing.
    Sure you have to focus on the concepts, but in programming you also need your toolbox as in a productive environment you don‘t have time to look up the basics over and over again.
    This brings me to the second discussion where memorizing code is very important. Working on bigger projects you have to find a way to oversee the code and remember the specific statements, even if the aren‘t written by yourself. Without this ability you loose the bigger picture.
    These are just 2 areas to keep in mind where the ability to memorize is heavily important, whichever way of learning you choose.

  • @kamalbilal8896
    @kamalbilal8896 Před 3 lety +21

    Yeah i just had a interview and the interviewer told me not to use internet for any kind of help because it's just a copy paste process.
    He wants me to do everything myself using only my brain 😂😂😂
    And i made my habit to write code using "Emmet(auto completion)" and in interview i almost forgot the syntax because he told me to write code on the paper 😂😂
    And the fun part is "I am a web developer frontend and he asked me to write code in c++ on paper without any kind of help from internet😂"
    I told him to watch my CV again, i know only html, css, JavaScript, bootstrap but he still asked me those stupid questions"
    This was my first interview and i was like what the hell is going on here😂

    • @julinashrestha3708
      @julinashrestha3708 Před 2 lety +2

      Hey just wondering if you manage to find a job yet? I am learning exactly the same you stated above(html, CSS, Java and bootstrap) and was curious if I could start looking for job with this.

  • @geneanthony3421
    @geneanthony3421 Před 3 lety +1

    Totally agree. Better to understand concepts and theories. Learn how to write clean maintainable code. Learn concepts like design patterns, test driven development, how to convert legacy code, etc.

  • @michellegiacalone1079
    @michellegiacalone1079 Před 3 lety +48

    This is where I express my love for O'Reilly's "JavaScript Pocket Reference".

    • @samuelbebas6381
      @samuelbebas6381 Před 3 lety +1

      Is 'JavaScript pocket reference' book your "holy grail" to javascript? Are there any other book about JS you could recommend? Thanks

    • @aammssaamm
      @aammssaamm Před 3 lety +3

      @@samuelbebas6381 Read all of them you can find. Today you have google, learn how to use it.

    • @JD-vj4go
      @JD-vj4go Před 3 lety

      @@samuelbebas6381 the pocket reference books are quick reference guides for things you already know.

    • @DeanPickersgill
      @DeanPickersgill Před 3 lety

      🤣🤣🤣

    • @kennethkingdon-korab2174
      @kennethkingdon-korab2174 Před 3 lety +4

      Me: someone who can't remember shit
      Interviewer: what's a function?
      Me: ...pulls out Javascript reference book
      Interviewer: Get Out... we use Google here...

  • @CS_GOD64
    @CS_GOD64 Před 2 lety +2

    I just wanted to say that I found this video at the right time and thank you for making this.
    I just started a month ago and I was memorizing these things, thanks for saving me from my own torture

  • @Giregar
    @Giregar Před 3 lety +5

    One of my teachers taught me the following mindset: "You don't have to memorize everything, but know where to find it and how to apply it."
    This mindset has been instrumental in aligning my way of working accordingly. I no longer waste time memorizing things, but always remember how I can derive the solution, be it through google, my own project snippet.to, or little post-it notes on my wall.
    It is a disgrace that interviewers often not asked about the concepts. Best you learn MDN by heart for them.
    My last employer was different there. The interviewer asked me about my approach and whether I could program this or that algorithm now at the first go. I said, "But only if I could use Google to check what that one mathematical formula looked like. Because in a real situation, that's what most developers would do." He was impressed.
    Don't waste your time memorizing everything, but remember how to get the knowledge you need at that moment. The advice of a lazy person. 😁

  • @net-tv7857
    @net-tv7857 Před 3 lety +1

    it happened to me a lot when i started coding i was thinking that if i want to be perfect i need just to memorize all these things , but over time i discovered that all what i need is mastering algorithms then i will need just to apply the method of learning on demand . thank you kayle for these valued info .

  • @GraceandWisdom
    @GraceandWisdom Před 3 lety +39

    Modern Programmers: "Stop trying to memorize coding!"
    Every Fortran/punch card programmer that I have met: "Man, I don't remember any of that stuff I used to do."

  • @Broly91571
    @Broly91571 Před rokem

    this info helped alot. as a self taught I was focused on learning every tag and bracket in JS and I thought I was billy badass cause I could write scripts then I started trying to do css and html classes and I was like...oh shit its a whole different language. I felt overwhelmed and thought to myself how could anyone memorize all this and thought that this stuff was just to past me and I am to old to learn all this now. but watching the video and coming back after a few months I can say focusing on concepts over memorizing every single little thing not only improves your speed and adaptability to different programs or languages but it helps reduce that burnout from information overload. I currently have 6 months of coding under my belt and working on stacking my portfolio in github and hopefully by 2024 Im looking to be marketable. Also working on a cool app that I want my first project to be and wow whoever is trying to pick me up.

  • @saschamajewsky7990
    @saschamajewsky7990 Před 3 lety +10

    Well explained, I would argue about the 100% reliability of code documentations though. 😄

  • @alfabdall
    @alfabdall Před 3 lety +1

    This video has helped me immensely. I have been coding for years, always try to memorize and now I realize it is fruitless. I end up forgetting the things I try to memorize anyways but it's always the concept you have to focus on. I think I did this because I just hate relearning things.

    • @victuz
      @victuz Před 2 lety

      Yeah most people don't like relearning anything.

  • @Mrtrigrhappy
    @Mrtrigrhappy Před 3 lety +7

    The main reason people try to memorize things is so they can remember them correctly and there's nothing wrong with that dude, you should be trying to at least remember the things you're learning/doing, just don't rely on memorization to use as your sole tool.

    • @xxdarkzon3xx
      @xxdarkzon3xx Před 3 lety +1

      In my personal experience programing, trying to memorize code from others and own is a really bad idea. It is like trying to remember every word you write in a tesis word by word instead of have the whole idea and sumarize it.

  • @powerupminion
    @powerupminion Před 2 lety +2

    Instead of memorizing, I build my own of what i call "short hand librarys". It's basicly a library of functions and conseps for doing tasks I do a lot of.
    Then I just reuse the functions in all my projects where they are applicable. This method also forces you to learn about a consept and essentially writting down notes. Bonus is that this is one of the things you can show off in a portfolio.
    It also takes away all the repetitive code for simple stuff like accessing and proccessing files, logs.
    I have functions for timing effectivness and speed of new functions to make them as efficient as possible.
    Stuff like common blocks of code often used, say formatting text, logging errors and frameworks for different styles of loops.
    Functions for key- and mouse- and UI-control and the list goes on.
    Think about it... If not for copy and pasting usable functions, then just to import a simple library and most of the repetitive code is just gone with the wind.

    • @bijanrajaie710
      @bijanrajaie710 Před 2 lety +1

      What program did you use to create your library ?

    • @powerupminion
      @powerupminion Před 2 lety +1

      @@bijanrajaie710 I primarily do Python as it's versatile and spans a wide area of use. It is however not as fast af a compiled program. For heavy and advanced stuff I use C#, and C for simple yet intensive workloads. I have fallen in love with the .json data format for saving settings so that is what most of my data handling and saving functions cover along with .csv and .tsv (of cource along with encryption of the files if I want the data hard to get to).
      My largest librarys are in Python and span over 10k lines for every single use case. Categorys like UI, userinput, data manipulation, file handling, heavy math, ect.
      That way i can simply copy a lib-file to my project, import it and have all my lovely work at the ready.

  • @jessegarcia1479
    @jessegarcia1479 Před 3 lety +11

    Man it's like you read my mind just got done with a javascript training session and I felt very defeated because I can't memorize half the shit i'm learning.

    • @henil0604
      @henil0604 Před 3 lety +1

      That's Why Don't Memorize, Just Understand what is the concept is trying to say. You Will be Fine!

    • @aammssaamm
      @aammssaamm Před 3 lety

      Get proper education: Math, problem solving. You’ve started at the wrong place.

  • @juancampo2196
    @juancampo2196 Před 3 lety +2

    Man I just started the odin project a few weeks ago and I have been trying to memorize some of the code by taking notes.
    I was able to memorize most of what I have been writing but I am glad that I found this video, I will put this into practice.

  • @saikrishnan7691
    @saikrishnan7691 Před 3 lety +143

    Programmers be like: Am I good at programming or googling?😂

    • @ABMedia83
      @ABMedia83 Před 3 lety +20

      Googling stuff is sign you're a good programmer. No (REAL) Programmer memorizes everything

    • @angeldavis2156
      @angeldavis2156 Před 2 lety +4

      Yes...lol

    • @htf5555
      @htf5555 Před 2 lety +1

      Professional googler

    • @Lolspamstring
      @Lolspamstring Před 2 lety +5

      *shrug* call it anything you'd like. The ultimate objective is to solve a given problem. That is one of the negative traits of the education system. School teaches you how to take tests, not solve unknown questions. (unknown as in the teacher doesn't have the answer sheet.) Not using Google is like choosing to use a hammer instead of a nailgun. Even if we are only viewing this from an optimization standpoint, why would I waste time recreating a solution to something that has already been solved? Once all of the trivial tasks are finished; now you can spend time pondering the actual problems.
      (My subjective 3 cents.)

  • @maharun
    @maharun Před 2 lety

    Thanks a lot. I searched "will I forget programming"
    and this video popped up... It was reassuring... Again thanks a lot....

  • @muhammadainuddin4650
    @muhammadainuddin4650 Před 3 lety +284

    people who disliked this video memorize everything.

  • @kevinb1594
    @kevinb1594 Před 3 lety +22

    "look it up it will be right 100% of the time" *w3schools has left the chat*

    • @CaretTheGnome
      @CaretTheGnome Před 3 lety +1

      To be fair, he mentioned looking it up on the language's site such as MDN... The rest is as good as wikipedia :D

    • @oddity4650
      @oddity4650 Před 3 lety

      W3s does have interesting things, unfortunately I think certain things other websites are needed

  • @ivanorokkhito9727
    @ivanorokkhito9727 Před 2 lety

    You are right, I found this tutorial by searching for "How to memorize code" . I am a beginner and right now I am trying to learn Jquery . I have learnt Html, CSS, Bootstrep. When I was styling with Bootstrep I noticed that I am forgetting CSS and now while I am trying to learn jquery I am afraid of forgetting JavaScript. It raised a question , "Why we learn CSS so precisely if we are styling with CSS and why should we learn JavaScript with so much effort if we are going to add some interectivity with JavaScript ? I have learnt CSS twice although it took few hours to get used with CSS when I learnt it for the second time . But I think we must know the basics , there is really no shortcut.

  • @dev-rachid
    @dev-rachid Před 3 lety +3

    Memorization and Comprehension are important,
    Both are required, not only one of them...

  • @noahgoff1748
    @noahgoff1748 Před rokem

    I love the collection example. That was a great bit of truth to the issue.

  • @thebavarian6181
    @thebavarian6181 Před 3 lety +8

    Me: "Hey there was this guy telling me about not memorizing how to code. What was his name Duckduckgo?"
    Duckduckgo: "Ask google"

  • @SimpleExcelVBA
    @SimpleExcelVBA Před 3 lety +1

    Totally agree. You just need to know that some functions already exist in specified language or are already done and that's all.

  • @CreativeTutorialsWeb
    @CreativeTutorialsWeb Před 3 lety +3

    Thanks Kyle for Sharing what you said helped me a lot

  • @angeloedz
    @angeloedz Před 2 lety +1

    I agree with you 💯, but the companies I've applied to expect memorization at the interviews.
    I don't think they will like "I can Google it" as a response.

  • @ShivamSingh-eh4jr
    @ShivamSingh-eh4jr Před 3 lety +5

    The best way to remember the concepts is to practice n practice

  • @scottguitar8168
    @scottguitar8168 Před 3 lety

    You are correct about learning and understand concepts rather than everything. This applies to anything, not just programming. The important part is having the ability to problem solve which involves coming up with multiple ways to solve a problem, choosing one and generally knowing the tools available to you to accomplish the task. A google search does no good if you don't have a clue as to what you are searching for, which sometimes has to be asked in a multiple of ways before google delivers what you are actually looking for.

  • @sagargahatraj5196
    @sagargahatraj5196 Před 3 lety +9

    This is lit a life saver for beginners🔥♥

  • @alastormoody7966
    @alastormoody7966 Před 2 lety

    bro keep up the good work, i learned sql with that 60 min video and with no background got a job, i was workong in those toxic working social environments were you learn nothing, i was tired, keep up the good workbro, currently im learning python.

  • @Marcosmapf
    @Marcosmapf Před 3 lety +10

    this tip is gold boys and girls, take notes

    • @hajji384
      @hajji384 Před 3 lety +1

      I don't think so ,note taking is slow you down

    • @Marcosmapf
      @Marcosmapf Před 3 lety

      @@hajji384 take prints then 😛

    • @hajji384
      @hajji384 Před 3 lety

      @@Marcosmapf 🤣🤣 legend

    • @recipehacker9752
      @recipehacker9752 Před 3 lety

      @@Marcosmapf nah, just memorize his suggestions 😂

  • @BoiCalledRockz
    @BoiCalledRockz Před 3 lety +2

    Wow! This is where I have been going wrong, so true it’s futile to try and remember all codes but rather should focus on the concept and understanding! Thank you so much dude great vid🔥🔥🔥

  • @philosophyze
    @philosophyze Před 3 lety +11

    Partially agree.
    Read "The Programmer's Brain" to better understand how the human mind processes code.

    • @_Code.Pilot_
      @_Code.Pilot_ Před 3 lety +3

      Do you have a link to this? All I'm finding is a book that isn't published until this September.

    • @untilde
      @untilde Před 3 lety +2

      @@_Code.Pilot_ Same. I'm curious now

    • @fooledbyrandom991
      @fooledbyrandom991 Před 3 lety +1

      Here you go:
      www.manning.com/books/the-programmers-brain?query=The%20progra
      The good thing with manning is with their MEAP program you can buy an ebook and read it whilst it is being written - you get updated when new chapters are available and can give feedback to the author.

    • @_Code.Pilot_
      @_Code.Pilot_ Před 3 lety

      @@fooledbyrandom991 Yea, I found this too during my search. I'm curious what part of this result you find helpful, since you apparently can't even buy the book yet.

    • @fooledbyrandom991
      @fooledbyrandom991 Před 3 lety +1

      No No I don’t make money from these I just happened to have read it and passed it on.
      To answer the question the author posits that memorising some key syntax is useful for 2 reasons:
      1) It helps with code fluency - you are better able to read and interpret someone’s else’s code (or your own from a past project) if you can know what is being done without constant referencing.
      2) Given its impossible to ‘multitask’ each break you take from coding to google a term etc can lead to you coming out of “flow” and it takes you a while to settle back in - assuming also you don’t get distracted by reading all around the syntax you need.
      I’m not sure I agree but it’s a fair point.

  • @liondevelops
    @liondevelops Před rokem

    Thought he was talking rubbish at first then when he made the analogy with mathematics it made perfect sense lol. Great video, thank you for the guidance.

  • @slayeroff7798
    @slayeroff7798 Před 3 lety +7

    Meanwhile Indian Teachers : " He doesnt know our syllabus . MEMORSIEEEE THIS CODEEEE and I will give you INTERNAL THEN ONLYY"

  • @JourneyGrowthHub
    @JourneyGrowthHub Před rokem

    First of all thanks for your time. I was thinking about how to memorize these codes in R and Phyton. Today you cleared my biggest issue and now I focus on learning, the concepts of code and how to use them. There are tens of thousands of codes and it's impossible to memorize them. We just learn how to use different factors in code and commands. We can save codes and use them according to our data. For example, I know what to do when importing data from excel, what is iris data set is, how to skip the character variable when doing PCA, etc. Now I do not need to memorize the whole script, I just need to learn the things in the script and how to use them.

  • @petarmarjanovic4607
    @petarmarjanovic4607 Před 3 lety +7

    So I am supposed to look everything up and I will do that for the next who knows how many years, even when I get really good? Thats relieving and kinda disappointing at the same time lol

    • @GEGGARCHY
      @GEGGARCHY Před 3 lety

      Not everything, just don't memorize everything, as you start looking things up your brsin starts to understand it and you don't have to memorize anything, except when you're in a code interview, fuck that shit memorize it all

    • @petarmarjanovic4607
      @petarmarjanovic4607 Před 3 lety

      @@GEGGARCHY good to know

  • @GigMyRig
    @GigMyRig Před 3 lety +2

    Thank you, Kyle, for your insightful approach to learning JavaScript. Happy Coding!

  • @AllthingsFoodieTX
    @AllthingsFoodieTX Před 3 lety +6

    So basically memorize the main concepts😉

  • @cardboard3161
    @cardboard3161 Před 3 lety

    Yes--learning is a skill, not just a path to a skill! Expertise is more valuable than experience. I'm a professional instructor and a contractor, and I see this in every class I teach. Companies overvalue experience and undervalue expertise--and there IS a difference between experience and expertise. You get EXPERIENCE from DOING things. You get EPERTISE from UNDERSTANDING things.
    If you learn the concepts very well, you don't need to have worked with X, Y, or Z before. You can use any of them, and you can use them well. If you know how things work under the hood, it doesn't matter if you've never solved that problem before, and I've seen that proven over and over again.
    I've seen people go from Taco Bell to giving talks on stage at worldwide conferences in a year--for one of the most complex infrastructure management tools available. "What?? Isn't that supposed to take 5 years??" Learning is likely the most undervalued skill in most enterprises. We figured that out, and we built the best training money can buy. We've had 30 year veterans say "I've never understood it so well before."
    So yes, expertise is just as valuable as experience! :] Don't settle forever for with "I don't really understand, but, hey, as long as it works." You might be stunned to find out much more you can understand until you try--I was, at least. :] And don't forget... your learning journey never ends. If you can't change your mind, if you can't ask questions or admit you were wrong about something... you can't grow.

  • @trappedcat3615
    @trappedcat3615 Před 3 lety +3

    I also practice memory garbage collection. I like to forget stuff that I don't need to commit to memory.

    • @BobbyBundlez
      @BobbyBundlez Před 3 lety

      is there a specific method to doing this? beyond just using new stuff everyday lol. seems a bit stressful to INTENTIONALLY do memory garbage collection

    • @trappedcat3615
      @trappedcat3615 Před 3 lety

      @@BobbyBundlez some things are easy but others require training the brain to categorize those things alongside terrible smells or distasteful subjects

    • @trappedcat3615
      @trappedcat3615 Před 3 lety

      The easiest method is to only let things repeat in memory if they belong their

    • @BobbyBundlez
      @BobbyBundlez Před 3 lety

      @@trappedcat3615 so use new shit all the time

  • @eurika5433
    @eurika5433 Před 2 lety

    Very informative. Instead of memorizing have a learning mindset, because theirs too much to memorize and the field is always evolving

  • @SmokeForPants
    @SmokeForPants Před 3 lety +8

    I read this as "Stop Trying To Memoize Code".

    • @mehulgarg7948
      @mehulgarg7948 Před 3 lety +2

      buddy u r trying to do too much dsa lol.

    • @brijeshsamal7035
      @brijeshsamal7035 Před 3 lety

      @@mehulgarg7948 Probably not, a weirdo like myself correlated memoize with memes lol.

    • @jpeg.600x2
      @jpeg.600x2 Před 3 lety

      lmao💀💀💀

  • @imqqmi
    @imqqmi Před 3 lety

    Basic setup for developing webapps:
    1. Get example or existing code, use version control like git.
    2. Setup runtime env so you can run and test it
    3. Setup ide to edit the code (now the round trip of writing and testing is complete)
    4. Setup debugger
    5. Create unit tests that covers at least 90% of the business/control logic
    6. Organize sprints, backlogs, user stories, sprint logs
    7. Implement changes, write unit tests for all new code
    8. Use code inspection of all the code to fix impacted code
    8. Perform unit tests, manual technical and functional tests
    9. Fix findings until all tests pass
    10. Deploy to test server, run unit tests again
    11. Deliver change to deploy team. Deploy to acceptance server, let client/product owner/end users perform their tests
    12. Deploy team releases to production server unless there were findings
    13. Goto 6
    Concepts to learn
    Problem solving
    Problem analysis
    Fault finding, zero assumption
    Cost/time estimation
    Code paradigms/patterns like mvc, singleton, mvvm, repository, library, classes, inheritance, namespaces, etc
    Programming syntax
    Error message interpretation
    Security, write unhackable code, sql injection hardening, penetration testing
    Privacy protection, GDPR
    Code styles, document, comment, symbol naming like PascalCase, camelCase, indentation
    Regular expressions, search and replace
    Sql, preparee statements, transactions, indexes, foreign keys etc
    Logging, monitoring
    Business analytics, data flow, business logic, data models,decission trees
    Softskills, how to deal with non technical people, management, sales people. Write understandable documentation and instructions, strategy and vision, writing reports, working with people, in teams, clear communication
    Scaffolding, code templates, shortcodes, code completion
    Exception and error handling
    Rest/json/xml/yaml/crud/APIs
    Request stack/http protocol
    Api testing software like postman
    Load/stress testing software like K6
    Profiling responsetimes, memory usage, program flow etc

  • @israellara89
    @israellara89 Před 3 lety +5

    I understand how variables, arrays, loops, objects, and functions work but I don't know how to put it all into action to create anything 😞

    • @henil0604
      @henil0604 Před 3 lety +1

      LoL Don't Worry you will learn it day by day!

    • @berylliosis5250
      @berylliosis5250 Před 3 lety

      What do you think you're missing - large-scale design and understanding of how to make complete apps, or small-scale design and understanding of how to put them together to do a specific small thing?

    • @boluabiola7981
      @boluabiola7981 Před 3 lety +1

      Start with building a simple calculator, you’ll be able to apply what you already know, and you’ll also learn a few new things

    • @henil0604
      @henil0604 Před 3 lety +1

      @@boluabiola7981 yea i also learned to make things by that also while building calculator i also get to know how eval Function works!

  • @USS_Daedalus
    @USS_Daedalus Před 3 lety

    I actually a newbie Programer and my 11 Years old Kids wants to learn it to. So i want to teach them next year and i realize very fast that Teach Kids about Concept is far more Superior then pure Coding with them on the screen.

  • @whenthethebeansstrikeback6728

    "The great thing about programming is that everything is documented incredibly well"
    We all know that's a lie

    • @UnitAlir
      @UnitAlir Před 3 lety +8

      @Hello Viewer Marked as duplicate

    • @cerealrakist7360
      @cerealrakist7360 Před 3 lety +2

      😂😂😂😂😂💯✔️💯💯💯✔️

    • @fitmotheyap
      @fitmotheyap Před 3 lety

      Yeah lol
      Biggeeest lie

    • @mango-float
      @mango-float Před 3 lety +1

      Posts that have replies saying it's wrong and you're bad for being wrong while not saying what you can do to improve on it other than just 'getting good' at it

    • @cybermoja
      @cybermoja Před 3 lety +2

      stackoverflow is the only documentation we need

  • @mademoisellerose727
    @mademoisellerose727 Před 3 lety

    thank you teacher. for me, you are the greatest teacher and mentor. Remember.. even you do not know me as your invisible student, there is a person who highly respects you and thanks you a lot. you inspire me incredibly.

  • @zinthezweihander2053
    @zinthezweihander2053 Před 3 lety +9

    5:03 The Party says, " 2+2 =5". You are guilty of Thoughtcrime. XDXD -George Orwell's 1984

  • @Paraz25
    @Paraz25 Před 3 lety

    Thank you, i realised too that things i often use i dont have to look up, but i tried to memorize a ton of commands and only after i knoe them all in my head i would move to the next ones

  • @Aviral-oh1vq
    @Aviral-oh1vq Před 3 lety +4

    kyle:Stop learning and start understanding concepts
    indian teachers and exams:Dont listen to him learn the sllybus to score well

    • @slayeroff7798
      @slayeroff7798 Před 3 lety +1

      So true

    • @henil0604
      @henil0604 Před 3 lety +2

      yea Indian education system is Shit as hell

    • @wuhanvirus6974
      @wuhanvirus6974 Před 3 lety

      @@henil0604 Are you sure ? Indian are those who always beyond the world

    • @henil0604
      @henil0604 Před 3 lety

      @@wuhanvirus6974 Some are really good at education like sundar pichai, ratan Tata. But The Education System is still shit as hell. Almost Every Indian student hate the education system in India.

    • @Aviral-oh1vq
      @Aviral-oh1vq Před 3 lety

      @@henil0604 right u r dude but all the names u mentioned were never part of this shit system
      sundar pichai went abroad for studies and ratan tata and all other entrepreneurs always believed in practical education and experience
      the thing that this shit system will never be going to explain

  • @IngMiguelPatino
    @IngMiguelPatino Před 2 lety

    Found this video recommended by CZcams, and completely agree. I am relieved to know I am already doing exactly this 😄

  • @norahariellle7856
    @norahariellle7856 Před 3 lety +54

    *INVESTING MAKE UP THE TOP-NOTCH HEMISPHERE OF WEALTH, THAT IS MORE REASON ONE SHOULD SAVE AND INVEST TO SECURE MORE PROFIT AND ENSURE SUCCESS.*

  • @ethioapps836
    @ethioapps836 Před 3 lety

    dude u rly helped me. recently i was learning javascript and found it hard to memorize every thing....but ur right i just need the concept. thank u .u helped me wake up on my journey. big respect bro

  • @ppevideos8627
    @ppevideos8627 Před 3 lety +3

    What about job interviews? They expect you to know it all !

    • @Mobin92
      @Mobin92 Před 3 lety

      They are idiots then. They don't filter for good, experienced developers that way, but for students with too much time.

  • @claude.muller
    @claude.muller Před 2 lety

    At school I hated learning by heart. You‘re right, understanding the concept of programming only matters. Good analogy to math, because it is a significant part of programming. Greetings.

  • @tradingcareer2409
    @tradingcareer2409 Před 3 lety +11

    Mr Adam Douglas is the best, recommending him to all beginners who wants to recover losses like I did.

    • @charlieolive2004
      @charlieolive2004 Před 3 lety

      How can one reach an expert in trading,cos I have lost alot of money trading with a wrong trader.

    • @sharridelima1661
      @sharridelima1661 Před 3 lety

      @David Benjamin I'm beginner too, I've been earning through investing with expert Adam it has been a huge success, in two weeks i made $15,000 with $1,000

    • @user-xd5dr2te4l
      @user-xd5dr2te4l Před 3 lety

      Wow !!! I thought I was the only beneficiary of Mr Adam Douglas trading services.His techniques and strategies are the best.

    • @chadreddings3105
      @chadreddings3105 Před 3 lety

      Expert Adam made me rich, greetings from India , I've $27,460 worth Bitcoin profit

    • @vanessawhite9120
      @vanessawhite9120 Před 3 lety

      This is the first time I'm meeting someone real , I just got my profit today, I saw this comment about ten days ago, thanks so much.

  • @Esquizojungla
    @Esquizojungla Před 4 měsíci

    Very good advice! I'm starting now to teach "myself" web dev and I started memorizing until on page 121 I realised it won't work lol. Thanks!

  • @nexovec
    @nexovec Před 3 lety +3

    Is there anyone who's older than 8 years old who actually thought that memorizing code would do something?

  • @JFKTLA
    @JFKTLA Před 2 lety

    Great lesson I’ve started learning solidity as my first language I became confident in 3 months, now I’m trying to learn JavaScript but the way you end Certain functions is way different

  • @user-lp8ky5kk4o
    @user-lp8ky5kk4o Před 3 lety +4

    If you're trying to learn code not watching Web Dev Simplified, then you are doomed to fail

  • @MrVampify
    @MrVampify Před 3 lety +1

    When I was learning I jumped between a few different languages somewhat regularly. The downside being I used to lookup the syntax for things a lot, but I had a very strong understanding of the concepts. Making it really easy for me to program in basically any object oriented language very quickly.
    I would also add that this applies to libraries and packages, don't try to memorize how they work. Use an IDE that exposes their documentation by holding ctrl and hovering the method.

    • @taragnor
      @taragnor Před 3 lety +1

      Well when using any kind of library or package, you should know the basic concepts behind how they work. Like what kind of basic document model you're setting up. And that's generally more valuable than memorizing individual methods. Like when you're learning basic DOM based JS, you need to know about the concept of event handlers and adding/deleting elements form the DOM, even if you don't know the name of the functions to do everything, you just need to know the concept of how it's laid out and what you want to do.

  • @FuriousGunnerKat
    @FuriousGunnerKat Před 3 lety +1

    That was extremely excellent advice thank you....I'm in the process of preparing for a 3 hour test for programming and this knowledge helped a ton

  • @unknownd3v
    @unknownd3v Před 3 lety +1

    The example of math operations helped me a lot to understand. Thanks Kyle, I was wrong trying to memorize every function.

  • @harshu2651
    @harshu2651 Před 2 lety

    It helped ,now I will not worry about not having remember everything I see in progmming . now I will do in depth learning.

  • @genechristiansomoza4931

    I like the anology you shared. Programming is like a calculator. You can multiply any number because you know the concept of multiplication and not because you memorized the answers in every possible multiplications. Likewise in programming, you can code because you know the concept of programming like setting variables, using functions, and initializing objects.

    • @normanhenderson7300
      @normanhenderson7300 Před 3 lety

      I am presently trying to study the conditions under which to initialize a variable or not. I guess this would apply to objects as well right? Instead of rote memorization, I intend to truly understand the relationship between, objects, variables, and a constructor. Actually there is a mathematical relationship among those entities. That is why a fundamental to intermediate understand in mathematics can be an advantage,

  • @j0hannes5
    @j0hannes5 Před 2 lety

    Ofc you don't need to memorize things that you can look up - unless you're a school girl.
    However:
    Anticipating future situations where you need to remember that thing you just learned will save you time in any field.
    Might even call for a flashcard.
    eg. when I encounter/need ... what/where do I (lookup) ...
    or why/when would I use ... over...
    Programmers don't have an apron with tools, they have a search box which is limited by memory rather than pockets.

  • @benabernethy1405
    @benabernethy1405 Před 3 lety

    Started learning JavaScript/React/React Native at the beginning of the year. Your channel has been such a huge help. Needed to see this vid!

  • @luizfarias8870
    @luizfarias8870 Před 2 lety

    Thanks, I needed to hear it. I was making CSS's flashcards and I was going crazy.