Secrets of how to understand code written by someone else

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

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

  • @GrecianGoat
    @GrecianGoat 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: th-cam.com/video/3A41JaqKj8Q/w-d-xo.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!! 😌😌

  • @BMNAkash
    @BMNAkash 4 ปีที่แล้ว +10

    Thanks for the valuable information!

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

      Glad it was helpful!

  • @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.

  • @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! 😊

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

    Thank you for sharing this video, it was very helpful

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

      You're welcome. Thanks for watching.

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

    i love this channel the education is much appreciated thanks

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

      You're welcome. Thanks for coming by.

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

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

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

    Visual studio debugger tools are really useful

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

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

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

      Glad it was helpful!

  • @andrewloftis5741
    @andrewloftis5741 4 ปีที่แล้ว +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 9 หลายเดือนก่อน

    Wow, awesome

  • @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.

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

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

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

    What about Debugging Sir.
    Please include 🙏

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

    very good, thank you for the video :)

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

      Thanks for watching.

  • @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.

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

    Excellent!

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

      Glad you found it helpful.

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

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

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

    Great video!

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

      Glad you enjoyed it

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

    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.

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

    Video starts at 2:20

  • @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.

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

    For more on learning a new codebase quickly, see this: th-cam.com/video/3A41JaqKj8Q/w-d-xo.html

    • @Beachcasts
      @Beachcasts  5 ปีที่แล้ว

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

  • @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.

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

    What is the apache software foundation?

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

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

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

    thanks @beachcast

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

      Thank you for watching.

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

    Thankyou goodbye

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

    Good one cheers xD

  • @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.

  • @solutionofproblem9354
    @solutionofproblem9354 4 ปีที่แล้ว

    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 4 ปีที่แล้ว +1

    I'm student of computer science as bscs

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

      Hope you found it helpful.

  • @learnt2love
    @learnt2love 11 วันที่ผ่านมา

    Third party code ?!

  • @MrPeace-dm7uk
    @MrPeace-dm7uk 3 ปีที่แล้ว

    start after 2min

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

      Glad you found it helpful.

  • @fi5277
    @fi5277 4 ปีที่แล้ว

    need help ...😳😳

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

      Hope you're doing better.

  • @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.