Secrets of how to understand code written by someone else

Поділитися
Вставка
  • Опубліковано 25 сер 2024

КОМЕНТАРІ • 64

  • @BMNAkash
    @BMNAkash 4 роки тому +10

    Thanks for the valuable information!

  • @cmac37420
    @cmac37420 2 роки тому +18

    I just started my first job as a software developer. It's really confusing looking through a massive, unfamiliar code base in a production enviroment; especially when I'm used to "academic" style code. I'm definitely going to use these tips to understand the code a bit better!
    Is there a good way to understand the file structure? I get lost looking at all the folders and subfolders and figuring out where the "login" logic is...

    • @Beachcasts
      @Beachcasts  2 роки тому +2

      File structure is not super important. If you're in PHP the namespaces are the most important aspect. Here is another video that may help you learn a new codebase faster: ua-cam.com/video/3A41JaqKj8Q/v-deo.html

    • @battosaijenkins946
      @battosaijenkins946 2 роки тому +1

      @@Beachcasts Bah, i have a super useful tool for debugging you ready? It's called echo for php, console.log("...") for javascript and std::cout for C++. As a full stack web developer and a C++ OpenGL graphics programmer that's all I need, NEXT!! 😌😌

  • @FABESTAH
    @FABESTAH Рік тому +1

    That was an extremely interesting video for me, I actually got a whole page in my notebook filled out of this video :D
    Thanks a lot and keep up these fantastic videos! 😊

  • @Beachcasts
    @Beachcasts  5 років тому +2

    For more on learning a new codebase quickly, see this: ua-cam.com/video/3A41JaqKj8Q/v-deo.html

    • @Beachcasts
      @Beachcasts  5 років тому

      Or for PHP related content, check out this one: ua-cam.com/play/PL6_nF0awZMoOZhi2muRuXZbXlIK5TA7QR.html

  • @nicholascummings9084
    @nicholascummings9084 3 роки тому +6

    Thank you for sharing this video, it was very helpful

    • @Beachcasts
      @Beachcasts  3 роки тому

      You're welcome. Thanks for watching.

  • @joaovitor-vw5pq
    @joaovitor-vw5pq 2 роки тому +1

    congratulations. the best content ive seen until now. im brasilian and my intent is to create a method to understand codes from someone else. the best tip is to resume some snipet in a way understandble.

    • @Beachcasts
      @Beachcasts  2 роки тому

      I'm happy this helped you.

  • @lastregone4026
    @lastregone4026 3 роки тому +5

    i love this channel the education is much appreciated thanks

    • @Beachcasts
      @Beachcasts  3 роки тому

      You're welcome. Thanks for coming by.

  • @KeepoHdee
    @KeepoHdee 25 днів тому

    Visual studio debugger tools are really useful

  • @mikediaz9033
    @mikediaz9033 Рік тому

    Awesome.
    You're the second, but, most important with your message.
    I am checking out.

  • @stef6963
    @stef6963 3 роки тому +1

    thanks for the knowledge! Very useful for anybody who wants to learn programming

  • @andrewloftis5741
    @andrewloftis5741 3 роки тому +5

    Can you upload a video regarding how to read and understand python code?

    • @Beachcasts
      @Beachcasts  3 роки тому

      This is a great idea. Thank you. I think many of the principals are similar, but a Python version might make sense.

  • @satishyadav-uo9rn
    @satishyadav-uo9rn 7 місяців тому

    Wow, awesome

  • @anirbanc88
    @anirbanc88 Рік тому +1

    read line by line
    follow execution
    following routes
    existing states
    step debugging
    refactoring
    code standard
    using framework
    OOP patterns
    automate tests

  • @teasauce3608
    @teasauce3608 2 роки тому

    Thanks for this video, although it didn't do much - it did help me a little bit. It's interesting how everyone codes differently.

    • @Beachcasts
      @Beachcasts  2 роки тому

      Glad you found it helpful in some way. Thanks for watching.

  • @PythonicPath1
    @PythonicPath1 3 роки тому +1

    very good, thank you for the video :)

  • @karankanojiya7672
    @karankanojiya7672 3 роки тому

    Excellent!

    • @Beachcasts
      @Beachcasts  3 роки тому

      Glad you found it helpful.

  • @johnnydeguzman3562
    @johnnydeguzman3562 Місяць тому

    Understand large cobol code base and business process I am having a hard time.

  • @stuknowlton477
    @stuknowlton477 3 роки тому

    Great video!

  • @pfodtakem9536
    @pfodtakem9536 Рік тому +1

    Video starts at 2:20

  • @mikediaz9033
    @mikediaz9033 Рік тому

    What about Debugging Sir.
    Please include 🙏

  • @clintonwambugu
    @clintonwambugu 3 роки тому

    thanks @beachcast

  • @johnosam4681
    @johnosam4681 2 роки тому +1

    The first few tips until the step. Debugging are useful. The rest seems are not exactly for understand ing an existing code from another developer.

    • @Beachcasts
      @Beachcasts  2 роки тому

      Glad you found it helpful. Yes, the later recommendations are more helping future folks.

  • @casimirtexas2288
    @casimirtexas2288 2 роки тому

    Thanks for the knowledge but I have been learning coding with c++ but I would like to know after writing a code design and run it runs in command prompt so please how can I make it run in graphical user interface

    • @Beachcasts
      @Beachcasts  2 роки тому

      Sorry, no experience with c++. Maybe someone else will see the comment and be able to help.

  • @alwinvillero4404
    @alwinvillero4404 3 роки тому +3

    POV: You're copying something you made months ago and now you have no idea what you wrote.

    • @Beachcasts
      @Beachcasts  3 роки тому

      That's a tough one. I often find myself with no idea of what I wrote in the past.

  • @tamimmalik420
    @tamimmalik420 3 роки тому +1

    Sir, i want to add link from meta tags on my pags buy now button. Automaticly. Piz reply me the code s🥺

    • @Beachcasts
      @Beachcasts  3 роки тому

      Sorry, not sure what you're asking.

  • @SanteeRocks
    @SanteeRocks 3 роки тому

    Good one cheers xD

  • @mikediaz9033
    @mikediaz9033 Рік тому

    Thankyou goodbye

  • @ayebosec
    @ayebosec 2 роки тому

    What is the apache software foundation?

    • @Beachcasts
      @Beachcasts  2 роки тому

      That is the foundation that supports development of many open source projects, such as Apache web server, and others. www.apache.org/

  • @lynic-0091
    @lynic-0091 2 роки тому +1

    Oh my god phpstorm can refactor that easily? This ide keeps surprising me 😂

    • @Beachcasts
      @Beachcasts  2 роки тому

      There's always something new to learn with IDEs.

  • @VworksArt
    @VworksArt Рік тому

    Am I just stupid? At this point I just feel like I'm stupid.
    I try so hard to follow execution, make sense of traversing code paths and understanding what things are doing but where there is a lot of it's like I'm lost in a maze and I get overwhelmed..
    I've been programming for 6+ years and I still get hung up on this and it's really disheartening,
    Almost to the point of making me want to quit the industry feeling as I'm not cut out for it.

  • @solutionofproblem9354
    @solutionofproblem9354 3 роки тому

    Can you help me to understand coding as beginner

    • @Beachcasts
      @Beachcasts  3 роки тому

      Many say the best way to learn is by doing. Since you are watching videos, you have hopefully continued learning.

  • @solutionofproblem9354
    @solutionofproblem9354 3 роки тому +1

    I'm student of computer science as bscs

    • @Beachcasts
      @Beachcasts  3 роки тому

      Hope you found it helpful.

  • @MrPeace-dm7uk
    @MrPeace-dm7uk 3 роки тому

    start after 2min

    • @Beachcasts
      @Beachcasts  3 роки тому

      Glad you found it helpful.

  • @fi5277
    @fi5277 3 роки тому

    need help ...😳😳

  • @mikediaz9033
    @mikediaz9033 Рік тому

    Your presentation to fast , how can I understand any source code and debug if necessary

  • @owensoft
    @owensoft 5 років тому

    This video is definately a thumbs down for me. :( The key aspects to reading code is coming to a quick conclusion of the bounds in which the code is running. Is it a web app, console, GUI, or game? windows or linux? Is it written using OOP, procedural, functional or MVC? Is it database driven, framework, ORM or using a file store? Is it full of third party hooks or REST APIs? Once you figure out these you then tackle it at the language level. If you have little experience with language being used the you will have to keep the documentation of the language close at hand.

    • @Beachcasts
      @Beachcasts  5 років тому +1

      Thanks for watching. Good to see the video got you thinking. Agree, having a language reference handy is a great tip.