How To Think Like A Programmer - Learn To Solve Problems!

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 83

  • @animeshbhatt3383
    @animeshbhatt3383 3 ปีที่แล้ว +191

    Problem solving should have been structurally deep rooted in our education system.

    • @t6hp
      @t6hp 2 ปีที่แล้ว +15

      @@pakapeta7772, We don't learn problem solving in school math at all. I've only really begun to like math (after failing it constantly) at my late 20s. Only then I realized why I sucked, I was always tasked with computing, not problem solving. Completely different.

    • @Jacob_EstateAgent
      @Jacob_EstateAgent 2 ปีที่แล้ว +2

      @@pakapeta7772 algorhithmic thinking and solving a math problem is miles apart .

    • @dakoderii4221
      @dakoderii4221 2 ปีที่แล้ว +5

      Hard to control people if they are taught that. That's why schools teach to be emotional and that you're a victim who can never accomplish anything.

    • @Dave_of_Mordor
      @Dave_of_Mordor 2 ปีที่แล้ว

      @@dakoderii4221 my young cousin has a different experience. What school did you go to?

    • @swarnadeepjosh6591
      @swarnadeepjosh6591 ปีที่แล้ว

      @@Dave_of_Mordor he may be exaggerating a bit to make his point , but he do have a point

  • @CasualGamerJay
    @CasualGamerJay 2 ปีที่แล้ว +69

    I've come to realize that the problem-solving aspect of programming is by far the issue I struggle with the most. It's disappointing but I at least know what I need to work on.

    • @JosephGallagher
      @JosephGallagher ปีที่แล้ว +5

      Me too!! I was able to dig through the language courses quick and easy, but 3 months in I'm spending so much time trying to put together how to get what I need be done

    • @AlexanderOjeniweh
      @AlexanderOjeniweh 7 หลายเดือนก่อน

      Me too,

    • @bravo90_
      @bravo90_ 4 หลายเดือนก่อน

      Try competitive programming

  • @stevefrandsen7897
    @stevefrandsen7897 9 หลายเดือนก่อน +6

    Early in my IT career I was told by a more senior person that we have to fight the urge to code. I found that true and usually wanted to dive and code the fix right away. I also believe that "A problem well-defined is half-solved" attributed to Charles Kettering. Most of my career was maintenance of reports but fixing a report issue stated as "Some days a few numbers on the report are wrong" is a lot harder to work with than "On Mondays and the Last workday of the month, the Daily and Month-To-Date Sales figures are doubled in Western region. Other Regions Daily and MTD and Western region Year-To-Date Sales are correct on every day of the month."

  • @RəşadMəlikov
    @RəşadMəlikov ปีที่แล้ว +10

    i agree with Jobs. Once i gone to course for programming, i saw difference in my thinking ability, it was straight forward and structured. Later i forget it as leaving the course. An addition to the latest part, just program and your brain will figure out how to make it easy. As i was struggling in loops, figured out to print what it does inside, working on small sequences, writing and test each statement instead all at once and even how many hours your brain can work. Mine works 12 hours, then it burns. Programming is nice exercise for brain

  • @vinceramces
    @vinceramces 3 ปีที่แล้ว +32

    Interview: Graph Theory
    Reality: Center this feature using

    • @webcodingoprogrammingtips2090
      @webcodingoprogrammingtips2090 3 ปีที่แล้ว +4

      Sad, but true

    • @MiSt3300
      @MiSt3300 2 ปีที่แล้ว

      center something using div? That sentence doesnt make sense.

    • @conradmbugua9098
      @conradmbugua9098 2 ปีที่แล้ว +1

      @@MiSt3300 use div tag to center a certain element eg a button

    • @MiSt3300
      @MiSt3300 2 ปีที่แล้ว

      @@conradmbugua9098 you do that using CSS classes or IDs and setting properties like flex on them. Placing something in a div won't do anything

    • @conradmbugua9098
      @conradmbugua9098 2 ปีที่แล้ว

      @@MiSt3300 you can create a class on the div to set properties like flex as you stated.

  • @caballerosalas
    @caballerosalas 3 ปีที่แล้ว +70

    The faster way to know that a video about programming was created for someone who doesn't know about programming: it starts mentioning Steve Jobs

    • @desi-musk
      @desi-musk 3 ปีที่แล้ว

      lol yeah

  • @cocoapuffpuffs7374
    @cocoapuffpuffs7374 ปีที่แล้ว +5

    Dude this crap is hard. I’m in a data structure and algorithm class and while I entirely understand the concepts and what is supposed to happen, I’m still a novice coder who had basically 1 intro class. It’s hard to systematically put you’re thoughts into a structure that is clear, concise, and flawless, and also in a coding language.

  • @webcodingoprogrammingtips2090
    @webcodingoprogrammingtips2090 3 ปีที่แล้ว +26

    Today code is not a problem. Thinking of a unique idea that can become popular - that is the problem,

  • @w0mblemania
    @w0mblemania 3 ปีที่แล้ว +20

    "Everyone should learn to program."
    That's the way too many programmers think. It's an inflexible, rules-driven approach to life.
    But in the real world, people have different interests, abilities, aptitudes.
    For many people, it's FAR more useful for them to learn how to build a house, paint, grow plants, draw, play music or drive a truck.
    You CAN'T get good at everything, and you shouldn't try. Pick your battles in life, invest in yourself at those things you are GOOD at, and which you have and INTEREST in.

    • @treyGivens1
      @treyGivens1 2 ปีที่แล้ว +5

      I was also a little taken aback by the statement "Everyone should learn to program." People should just do what they want to do.

    • @Why_did_YouTube_add_handles
      @Why_did_YouTube_add_handles 2 ปีที่แล้ว +4

      You missed the point, he said programming because it is something that develops problem-solving. So in reality he is just suggesting that we be taught a skill that invokes learning to think critically and problem solve.

    • @w0mblemania
      @w0mblemania 2 ปีที่แล้ว +3

      @@Why_did_TH-cam_add_handles No. I didn't miss the point at all. The point was very clear, unmissable.
      Programming only develops certain types of problem-solving, not general problem-solving skills. One size does not fit all.

    • @jondrive8801
      @jondrive8801 4 หลายเดือนก่อน

      You missed the point. He said everybody should learn programming because it teaches you to think. I'm sure he would say everybody should learn to play music & martial arts.

    • @w0mblemania
      @w0mblemania 4 หลายเดือนก่อน

      @@jondrive8801 No. You missed my point, or chose to disregard it.
      I'm saying, quite clearly, that the point is not a good idea.
      There is an opportunity cost for all things.
      The time it takes you to learn programming, or guitar, or martial arts, is time you can't spend doing something else.
      The reality is that you need an *aptitude* and an interest in the topic to succeed.

  • @sigara91
    @sigara91 3 ปีที่แล้ว +25

    Thank you. Great video. Great info for both beginners and not so beginner software engineers. More videos like this about meta skills please.

  • @charterest5100
    @charterest5100 3 ปีที่แล้ว +4

    It is all about connecting the dots...

  • @tenminutetokyo2643
    @tenminutetokyo2643 3 ปีที่แล้ว +4

    He also said “What does it say about the quality of your engineering if you have to have all this testing”.

  • @Beastly477
    @Beastly477 10 หลายเดือนก่อน

    Troubleshooting hardware professionally and being forced to think way outside of the box for several years now, my problem solving skills are finally at a level where I feel comfortable trying my hand at writing code. I also maintain a website as part of my job... So far it's definitely harder than I thought lol. Got HTML down pat, but CSS kicks my butt and JavaScript makes my head hurt, and I can't stop thinking about it. It's like troubleshooting hardware on a smaller level in a way. Just keep trying things until you find something that works. It's sort of revitalizing my passion for my career. To those just starting, don't stop. Don't give up. It's tough, but highly worth it if not for the character growth alone.

  • @kinitosan4968
    @kinitosan4968 2 หลายเดือนก่อน

    I'm a beginner in programming but if I was to solve the 3rd highest number I think I should:
    Sort them in an array (highest to lowest order)
    then create a variable to point to the index 2, so that it chooses the third highest number in the array.
    I am open for discussion to optimize my way of thinking :))

  • @joeyalfaro2323
    @joeyalfaro2323 3 ปีที่แล้ว +2

    I'm problem solving expert. In case programming problems are endless you have see the process in your head. Computer is stupid box that bumps into walls. Has to have exact orders. First computer I understand sent 5 volts in loop if it got back 5 volts all was fine would not throw code. Mind has to in its zone relaxed refreshed. Time shouldn't matter just you and problem. Either problem wins or you win.

    • @miketheant7968
      @miketheant7968 2 ปีที่แล้ว

      Wtf are you saying there bro ? China china hang hang hang ping pong ? I dont understand shit your saying :)))

  • @First_Principals
    @First_Principals 2 ปีที่แล้ว +8

    1. Is the problem complex or simple. (Does the problem have many parts and are there feedback loops?)
    When does a solution need to be implemented? (theore time you have the more information you can gather and analyse before a solution is implemented )
    3 look for similarities with other problems(if the problem is similar to other problems or in the same class/type of problem you may be able to use a solution for the other problems)
    4 if you don't know of a similar problem break problem into smaller parts.
    5. find solution for each part.
    6. check if solution solves the problem
    7. Factories. Make the solution more efficient.

    • @StuartLoria
      @StuartLoria 8 หลายเดือนก่อน

      Where is number 2?

  • @Gokuroro
    @Gokuroro 3 ปีที่แล้ว +9

    As a programmer, I have to say we missed the positive case for step 1, which basically makes everyone try at least two solutions for every problem they try to solve, even those that are solved with the first of them. Not that it is incorrect, but you know...

    • @lulaabdulrahman3530
      @lulaabdulrahman3530 5 หลายเดือนก่อน

      What type of questions would you ask when your solving these questions?

  • @kareenaolivera
    @kareenaolivera 3 ปีที่แล้ว +9

    Hey! I took python not because it's my passion; not because I want to get a good job but to able to challenge myself and my mind. Thank you for this video! It made it easier 🙌

    • @QuakerRaze
      @QuakerRaze 3 ปีที่แล้ว +3

      I don't think you should be focusing on a specific programming language but rather on the skills as a software developer. Most languages will have the same concepts e.g. loops, conditionals and functions, and these are easily transferable between languages. The only thing you need to know when learning a new language are the syntax and any specific features the language does e.g. closures in JavaScript.

    • @kareenaolivera
      @kareenaolivera 3 ปีที่แล้ว

      @@QuakerRaze hey!!!! You don't realize how helpful this is!! Thank you so much! I always thought I should only learn one language!!! Thank you so much!!🦋🦋

    • @kareenaolivera
      @kareenaolivera 3 ปีที่แล้ว

      @@QuakerRaze do you have any group for coding specifically so that I can join? Because I want to have more friends in this field!!

    • @QuakerRaze
      @QuakerRaze 3 ปีที่แล้ว +1

      ​@@kareenaolivera Python is a good general programming language to start with - you'll learn the concepts and syntax pretty easily and it can be used to do both frontend and backend development. I like to think programming languages are like tools - there are different specialised tools to solve different problems. I guess it depends on what you want to create or do with it.
      I don't have any groups specifically for coding but I guess you could take a look at StackOverflow, GitHub and some of the subreddits.

    • @kareenaolivera
      @kareenaolivera 3 ปีที่แล้ว

      @@QuakerRaze Thank you! Will definitely look into it! Take Care!

  • @ItzShinePlayz
    @ItzShinePlayz ปีที่แล้ว

    when learning a new programming language,
    I memorized the syntax into logics...
    And it works for me, the steps actually not what I'm gud at.
    But, when someone told to me help them with something, I'm able to get a rough idea on what they asked for.
    So, I write it up into logics

  • @BD90..
    @BD90.. 3 ปีที่แล้ว +2

    The problem can sometimes be you don't know about a tool that you need to solve a problem when you are thrown in the deep end and hardly know the tools and have only been given basics.

    • @arod3295
      @arod3295 2 ปีที่แล้ว +2

      The whole field kind of feels that way….the tools being functions and there are “libraries” stacked full of them

    • @arod3295
      @arod3295 2 ปีที่แล้ว +1

      The answer seems to also be to accept the absolute necessity to read…after you shut out the noise, ask the right questions…then read

  • @mubafaw
    @mubafaw 2 ปีที่แล้ว +1

    Simple and pragmatic approach! Quality video.

  • @ArthurJ7154
    @ArthurJ7154 4 หลายเดือนก่อน

    My problem is that I would try to solve a programming problem in one go. Breaking it down is useful, and helpful whem the problem is overwhelming

  • @sul-dev
    @sul-dev 10 หลายเดือนก่อน +1

    Wow this video is amazing

  • @arundhutidas674
    @arundhutidas674 6 หลายเดือนก่อน

    Thanks for these valuable insights 🎉

  • @kendriip
    @kendriip 2 ปีที่แล้ว +1

    this video was very useful, i even solved the challenge in JavaScript while watching

    • @treyGivens1
      @treyGivens1 2 ปีที่แล้ว +1

      did you use a for loop or some sort of loop?

    • @terryrogers7800
      @terryrogers7800 2 ปีที่แล้ว

      You can sort the array in ascending order and key into the 3rd element

  • @thebuggser2752
    @thebuggser2752 3 ปีที่แล้ว

    Great presentation and outline of a basic approach to problem solving.

  • @muskduh
    @muskduh ปีที่แล้ว

    Thanks for the video.

  • @keyBladeSkai
    @keyBladeSkai ปีที่แล้ว

    This was very helpful

  • @bscodev
    @bscodev 3 ปีที่แล้ว +1

    Thanks!

  • @含序
    @含序 2 ปีที่แล้ว

    Thank you for your wonderful video
    I want to know how you made this video. Can you make such animation with keynote?

  • @mulyadiwijaya3901
    @mulyadiwijaya3901 3 ปีที่แล้ว

    if it's sequential,
    shouldn't it divide is at number 2?
    how is it possible to make planing if the divide is in the next step?
    Or is divide in the plan section?

  • @UnkownUnkown01
    @UnkownUnkown01 ปีที่แล้ว

    0:01 Steve Jobs looking like Walter white

  • @MahadKhan873
    @MahadKhan873 2 ปีที่แล้ว +1

    Print ( "thanks ')

  • @jacklimestone2559
    @jacklimestone2559 3 ปีที่แล้ว +1

    You can't just start with the fundamentals of recursion like that!

    • @DCHart07
      @DCHart07 2 ปีที่แล้ว

      haha problem solving go brrrrr

  • @tanishganbas7470
    @tanishganbas7470 ปีที่แล้ว

    Can someone send me the summary of this video please.

  • @aaronbaron6468
    @aaronbaron6468 3 ปีที่แล้ว +1

    Portal 1 and 2

  • @cethyhnc9305
    @cethyhnc9305 3 ปีที่แล้ว +1

    this is excellent.

  • @sitharthanmirudhul5411
    @sitharthanmirudhul5411 3 ปีที่แล้ว

    Bravo!

  • @nkristianschmidt
    @nkristianschmidt 6 หลายเดือนก่อน

    the asker does not know what he is asking, plans are wishful, subproblems are interdependent

  • @venmendez6653
    @venmendez6653 3 ปีที่แล้ว +1

    .

  • @MahyarJavadi
    @MahyarJavadi ปีที่แล้ว +1

    Uh, This is a blatant rip off of the FreeCodeCamp "How to think like a programmer" blog page with no mention of them whatsoever....
    I subscribed then instantly unsubbed after that....

    • @ajlakanen
      @ajlakanen 7 หลายเดือนก่อน

      It says a lot when there's a "profitable trading model" ad in the video description...