The History of Laravel's dd()

Sdílet
Vložit
  • čas přidán 25. 10. 2023
  • Hi everyone! Welcome back to another video on my CZcams channel. Today, we're going to explore the history of "dd," when it was first introduced, and what it looked like back then. I hope you guys enjoy this video! Note: I am still in Boston, so I apologize for the microphone quality.
    Debug Stack Trace article: nunomaduro.com/how_i_have_add....
    Source File/Line PR: github.com/laravel/framework/....
    ----------------------------------------------------------------------------------------------------
    - Twitter: / enunomaduro
    - Telegram Group: t.me/+RoAqqaaShSUxMTM0
    - Threads: www.threads.net/@enunomaduro
    - Mastodon: mastodon.social/@nunomaduro
    - LinkedIn: / nunomaduro
    - CZcams: / nunomaduro
    - GitHub: github.com/nunomaduro
    - Bluesky: bsky.app/profile/nunomaduro.b...
    - Tiktok: / enunomaduro
  • Věda a technologie

Komentáře • 37

  • @MT87840
    @MT87840 Před 8 měsíci +7

    I'm addicted to this function, that sometimes I write it outside Laravel projects by mistake. :D

    • @AndersonPEM
      @AndersonPEM Před 8 měsíci +2

      I have shipped some DDs to prod in my dev life.
      I feel you 😂

    • @nunomaduro
      @nunomaduro  Před 8 měsíci +1

      lol same here.

    • @nunomaduro
      @nunomaduro  Před 8 měsíci +2

      Try pest arquitecture plugin

  • @skoyah
    @skoyah Před 8 měsíci +2

    Would like to see more content like this in the future! Very interesting to know the origins of some parts of the Laravel codebase and its evolution.

  • @konstantingeist3587
    @konstantingeist3587 Před 8 měsíci +3

    Some devs failed to learn what a debugger is? I remember there was a dev on our team which struggled a lot and always was past estimation. Then I learned she used dumping instead of proper debugging (because she failed to set it up) and never told anyone. Investigating bugs took her like 5 times more time due to having to sprinkle the code with tons of var_dumps instead of just stepping in a debugger. If you want something like this in production, a proper logging utility is a better option, too

  • @oketafred
    @oketafred Před 8 měsíci +1

    Awesome content Nuno, Please keep making more videos 🔥

  • @joaopedrogomesdesena8674
    @joaopedrogomesdesena8674 Před 8 měsíci

    Amazing Nuno, i like this format, make more like this!

  • @phpannotated
    @phpannotated Před 8 měsíci +4

    I really loved this style of video! Inspiring 🤩

  • @phpdotenv
    @phpdotenv Před 8 měsíci +1

    I never stopped to think about it, nice

  • @davaigo2170
    @davaigo2170 Před 7 měsíci

    Very interesting. Thank you for the video.

  • @TheGameIsOverCy
    @TheGameIsOverCy Před 8 měsíci

    Great video ! Thank you very much!

  • @priyankgohil9
    @priyankgohil9 Před 8 měsíci +1

    Short ,sweet and knowledgable, Keep it up @nunomaduro 🔥

  • @zedizdead
    @zedizdead Před 8 měsíci +1

    yes this can be useful but if you're still mainly debugging code by outputting variable values.. man you got lots to learn

  • @jimbolino
    @jimbolino Před 8 měsíci +3

    I don't like the "new" symfony dumper. It defaults to HtmlDumper in too many cases. For example when you are writing an api, and testing it with curl, or when using view-source in a browser. The output is too messy. I've tried to raise an issue, but they said I'm using their product wrong 😂

  • @christophrumpel
    @christophrumpel Před 8 měsíci +1

    Nice one 👍

  • @TheKennyWorld
    @TheKennyWorld Před 8 měsíci

    more videos like this pls

  • @saydfuad6914
    @saydfuad6914 Před 8 měsíci +1

    Simple nice !

  • @danielfelipe7817
    @danielfelipe7817 Před 8 měsíci +2

    Most used function in the world! 😁... Awesome content, Nuno 🔥

  • @phpannotated
    @phpannotated Před 8 měsíci +1

    Hey Nuno! 👋

  • @kvanca2330
    @kvanca2330 Před 8 měsíci +1

    Hello, thank you for cool video. Do you consider making deep dive laravel videos in future?

  • @alnahian2003
    @alnahian2003 Před 8 měsíci

    dd() is my second love; Laravel is the first ❤

  • @rikvandervaart2601
    @rikvandervaart2601 Před 8 měsíci +1

    also my favo.

  • @AndersonPEM
    @AndersonPEM Před 8 měsíci +1

    Are you Portuguese? I'm just curious

    • @nunomaduro
      @nunomaduro  Před 8 měsíci +1

      yeah

    • @AndersonPEM
      @AndersonPEM Před 8 měsíci

      @@nunomaduro NO WAY?! The legendary Nuno Maduro is from Portugal?
      I see your packages since I started coding with PHP.
      I live in Lisbon. I'd love to have a coffee with you some day.
      And thank you for everything. You make coding be even better 😊
      From a fellow developer.

    • @waynem3098
      @waynem3098 Před 8 měsíci +1

      @nunomaduro So you are not from Indonesia? I thought you were from Indonesia because your name is Nuno Maduro. like the name of an ancient person who used the place where he lived as his last name. Maduro/Madura (name of an island in Indonesia)
      JK 😂

  • @fix-a
    @fix-a Před 8 měsíci +1

    I use die dump to see if my tests are reaching my actions by dd("a message") that is when i expect my tests to pass but still they don't..dd() a useful debugging tool🎉

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

    I'm just enlightened