Why 'using namespace std' Is A Bad Practice | C++ Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มิ.ย. 2022
  • Why and when 'using namespace std' is a bad practice in C++. Source code: github.com/portfoliocourses/c.... Check out www.portfoliocourses.com to build a portfolio that will impress employers!

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

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

    Awesome video, I've always wanted to know why people shouldn't use the std namespace (I don't program in C++, though). Is it possible that we will have videos about data structures in the future? With the implementation being made in C? Aside all that, keep it going man, you are the best reference for C content out there in YT!!

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

      There are a few data structure videos now:
      Sets: th-cam.com/video/RVqdK6WAjUI/w-d-xo.html
      Stacks: th-cam.com/video/Flk5yrlx5Qo/w-d-xo.html
      And there is a Udemy course on Linked Lists: www.udemy.com/course/linked-lists-with-c/?couponCode=MA22DEAL
      I'll definitely put out more data structure videos in the future, but I'm not sure 'when' as there is many things I want to cover. 🙂 In addition to C, C++, Java and Python are all popular languages for data structures (and data structures courses) so I'd like to eventually cover data structures across several languages. I'm definitely in it for the long haul with this channel as I've been really enjoying the community and helping people out!

  • @abdou-3h
    @abdou-3h 2 ปีที่แล้ว +4

    Learned something new before i go to sleep xD
    Thank you

  • @adsarebbbest2594
    @adsarebbbest2594 11 หลายเดือนก่อน

    Very Interesting!

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

    Sir your videos are great. Thank you

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

      You're welcome, I'm glad you're enjoying the videos! :-)

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

    !!WOW!! My programming teacher did not explain this to me. So I dropped out because I did not feel like I really understood what was going on. This simple explanation in the beginning would have changed my entire life.

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

      Sorry to hear your programming teacher didn't explain this! I'm glad you found the video valuable. :-)

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

      Same here

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

    hey can you say in one line which one is better?

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

    Respect 🙏

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

    ❤❤❤