Learn Any Programming Language In 3 Hours!

Поділитися
Вставка
  • Опубліковано 13 чер 2024
  • How do you go about learning a new programming language - Fast?
    In this lesson, I’ll the way I learn new languages so that I can go from no knowledge at all to writing moderately complicated programs in about three hours.
    Of course, that doesn’t mean I can learn everything about that language in just three hours. But it does make it possible for me to get to grips with most of the essentials - data types, variables, string-handling, classes, methods, modules and so on - in a really fast and effective way.
    This lesson assumes that you already have experience with at least one programming language. This is not the way a complete beginner would approach learning to program. But if you know any programming language at all you will understand numerous concepts such as variables, data types, functions and loops. And using that knowledge, you will then be able to learn a new language by doing hands-on coding as I explain in this video.
    In this tutorial I use the D language, DLang (mainly because I haven’t programmed in D before so I can show you exactly how I spent my first three hours with the language. But I would follow the same steps, more or less, with any language. That is how I began with C, C#, Java, Ruby and all the other languages which I use when programming.
    This approach can be simplified to four steps:
    1. Pick a Programming Project
    2. Try to guess how to do simple programming operations.
    3. Only when you run into problems, refer to the documentation.
    4. Use the Debugger!
    USEFUL LINKS
    D Programming: dlang.org/
    D in Visual Studio: rainers.github.io/visuald/vis...
    HUW’S BOOKS
    Huw Collingbourne teaches programming through books and courses on many languages including C, C#, Java, Delphi, JavaScript and Ruby. He is the author of The Little Book Of Adventure Game Programming In C#. Available from:
    * Amazon.com amzn.to/33M6sQ4
    * Amazon.co.uk amzn.to/2YtaBrj
    And also, The Little Java Book Of Adventure Game Programming. Available from:
    * Amazon (US) amzn.to/3gizI93
    * Amazon (UK) amzn.to/3mydF0e

КОМЕНТАРІ • 401

  • @maquindesign9158
    @maquindesign9158 6 днів тому +191

    1 Data.
    Variables, arrays, objects etc.
    2 Loops.
    If, while, then etc.
    3 Functions.
    Fx name (arguments) {fx statements}
    4 Call function.
    name(arg1, arg2)
    5 Constructor
    6 Class
    7 Import.
    Import X from Y
    8 Export.
    Export (fx)
    9 Modules
    10 File system
    Every language have these core parts.

    • @phat80
      @phat80 5 днів тому +6

      Javascript has no file system part 😂

    • @hungry_khid1007
      @hungry_khid1007 5 днів тому

      ​@@phat80good

    • @scs_one
      @scs_one 5 днів тому +6

      Probably you are a beginner, missed the most important parts like error handling and threading model

    • @phat80
      @phat80 5 днів тому

      @@scs_one Threding is not about any language. JS, Dart are both single-threaded. I agree with error handling though.

    • @scs_one
      @scs_one 5 днів тому

      @@phat80 Currently parralel processing is the essential part of any modern language, take a look the way C++ transformed, plus swift and go. I suspect you are more web oriented in terms of the languages.

  • @footfiles
    @footfiles 9 днів тому +140

    I've coded hundreds of programs with only a few hours of experience in C#. None of them work or are finished, but nobody can out code "Hello World" better than me!

    • @maptrking
      @maptrking 6 днів тому +2

      Dude! We are in the same club!

    • @4abrownafrica420
      @4abrownafrica420 6 днів тому +4

      ​@@maptrkingI can make a diode blink with arduino.

    • @InnerEagle
      @InnerEagle 5 днів тому +3

      Hello world my ass, wait when you join strings to feel full achieved!

    • @givenkibanza
      @givenkibanza 5 днів тому +2

      😂😂

    • @frederickteye
      @frederickteye 5 днів тому +1

      😂😂😂😂

  • @Websitedr
    @Websitedr 10 днів тому +195

    Doesn't matter if it's 3 hours, 3 days, 3 weeks, the point is you learn better when you're doing something.

  • @bayroot7385
    @bayroot7385 13 днів тому +181

    Not gonna lie, when I saw the thumbnail I thought Bill Gates's gonna teach me how to learn any programming language.

    • @hiddenbruh
      @hiddenbruh 9 днів тому +6

      Bro I thought the same thing 😂

    • @excelezeh8275
      @excelezeh8275 9 днів тому +3

      This comment was part of why I clicked this video.
      Fairly enough Bill Gates wasn't far of as nerdy, almost the same demeanor.

    • @folksurvival
      @folksurvival 8 днів тому +2

      Why insult the man?

    • @philamavikane9423
      @philamavikane9423 7 днів тому +1

      @@folksurvival How is that an insult?

    • @ganeshmanjalkar3004
      @ganeshmanjalkar3004 6 днів тому

      Indeed. At first instance.

  • @bobweiram6321
    @bobweiram6321 16 днів тому +375

    You mean in 3 hours and 33 minutes. You need 33 minutes to watch this video to learn how.

    • @LearnWithHuw
      @LearnWithHuw  16 днів тому +216

      It's the first 40 years are the toughest! 😅

    • @bobweiram6321
      @bobweiram6321 16 днів тому +12

      @@LearnWithHuw LOL!

    • @bobanmilisavljevic7857
      @bobanmilisavljevic7857 15 днів тому +46

      My version is only 22 minutes and 37 seconds! Are we watching the same thing?! 😅

    • @LearnWithHuw
      @LearnWithHuw  15 днів тому +35

      @@bobanmilisavljevic7857 Maybe I just make it *seem* longer! 😂

    • @skilz8098
      @skilz8098 14 днів тому +5

      @@LearnWithHuw and the first 10 of them, did they involve pure assembly?

  • @vernongrant4710
    @vernongrant4710 16 днів тому +48

    Your C pointers course might have been the best programing course I have ever taken. Thanks for creating these wonderful videos for us.

    • @LearnWithHuw
      @LearnWithHuw  16 днів тому +12

      That's very kind of you. I'm glad it was useful.

    • @philamavikane9423
      @philamavikane9423 7 днів тому +1

      On this channel?

    • @LearnWithHuw
      @LearnWithHuw  7 днів тому +4

      @@philamavikane9423 I teach that course on Udemy (or you can buy my book on Amazon).

  • @skilz8098
    @skilz8098 14 днів тому +119

    I taught myself C/C++ by making a full 3D Game Engine from scratch. I don't mean including an existing one, I mean creating all of the internal components, nuts and bolts and assembling them together into an integrated, cohesive and working solution. Very rewarding.

    • @LearnWithHuw
      @LearnWithHuw  14 днів тому +41

      Taking on a big programming challenge that really pushes you to the limits is (in my view) probably the best way to learn. And what a sense of achievement you must have had at the end!

    • @skilz8098
      @skilz8098 14 днів тому +12

      @@LearnWithHuw The final solution was 4 projects, three internal static libraries, and one main executable consisting of close to 100k lines across about 50 - 100 files.

    • @skilz8098
      @skilz8098 14 днів тому +9

      Well, I could be exaggerating on the lines of code, it might have been at least 10-20k though. There were 2 different parsers. The main text parser for handling the level file for loading and automatically setting up and constructing the scene graph itself was at least 2k lines just for the parser function.

    • @jocm99
      @jocm99 14 днів тому +4

      Okay, now let's see:
      1. Were you programming before teaching yourself C/C++?
      2. Got any CS background, whatever it is?
      If you answer "yes" to any of these two question, then beginners should completely disregard what you just said.

    • @skilz8098
      @skilz8098 13 днів тому +20

      @@jocm99 Nope, 0 background, 100% self-taught, 100% hobby of interest. I don't need to go 1/4 mil in dept to learn something I have an interest in. I just do it!

  • @gbojinov
    @gbojinov 14 днів тому +9

    Love this method of learning and the choice of project is great!

  • @matthewgregory7304
    @matthewgregory7304 12 днів тому +90

    This is cool, BUT isn't it true to say that YOU can learn any language in about 3 hours because you have a ton of experience and know how software is built and how it's constructed, thus all you really need to learn is syntax? Which is why YOU can learn any language in 3 hours? What about the rest of us who only have 6 months, a year or 2 years of experience?

    • @tongpoo8985
      @tongpoo8985 8 днів тому +14

      Yes it's more accurate to say that if you know one language, you can learn any other in 3 hours. Which is pretty much true unless you're going from like python to rust or something. If you know one high-level language and one low-level language, it's certainly true though

    • @jx3806
      @jx3806 7 днів тому

      It's all bullshit, because: What do you mean by learning a language? What do you mean by having learned a language?

    • @noctisocculta4820
      @noctisocculta4820 7 днів тому +3

      It does help reinforce the important parts of programming by making you think abstractly about how you achieve an outcome rather than using one specific tool. Usually why university programming courses have first year students use multiple languages: I had to learn Visual Basic, C#, Java, and Python. To be fair, VB, C#, and Java, are pretty much identical.

  • @JimNichols
    @JimNichols 12 днів тому +14

    So you compressed your learning, building on the extensive background you already possess then compressed all the 'exercises' into one large 'exercise' you relabeled as project.
    I appreciate the video it is well done and well directed at the target audience.

  • @Abattoir3ach
    @Abattoir3ach 8 днів тому +7

    “I have been programming since the 1980s” fellow watchers keep in mind, this information comes from an already skilled individual so if you’re just starting out your time most likely will NOT be the same.

  • @isomochyn1
    @isomochyn1 14 днів тому +17

    This is the first video I have seen/been suggested of yours. While I very much agree with the message and this way of learning a new language I was mostly happy to hear a Welsh accent after not having been back to Wales in 4 years.

    • @LearnWithHuw
      @LearnWithHuw  14 днів тому +8

      I haven't lived in Wales for a very long time. I'm glad the accent is still there!

  • @greycell2442
    @greycell2442 9 днів тому +2

    That generally works, crash coursing. I'm a little more structured. I write the same multi-threaded skeleton with async, a type, conditional, event across languages. The next step is cli w argv, gui framework, repl. I cranked out C# Windows apps fast w custom controls, and realized, this is my process, this template/skeleton. Install, Workspace, code template, debug, compile, perf and analysis. Then roll thru other major concepts. C#, Go, TinyGo, Rust, JS, etc. It's worth the comparisons and it didn't overload me like I thought it would. This was all after leaving Windows and that proprietary baggage behind. My brain opened up.

  • @DuneDee
    @DuneDee 5 днів тому +2

    These sorts of lessons are the most enriching, in my opinion. Not just telling us to do something and telling us what it does, but allowing us to gain some insight into your mental workings by actively narrating your thoughts. Like at 5:26 where you said "I've got a writeln, let's see if I've got a readln" and then explaining that the error line disappears, indicating it's valid. I've always struggled with getting started, and needed a little nudge to get going, even during my college days. If a professor gave me a single line of code and told me to complete a project then I could do it, but if I had a blank screen in front of me I completely froze. This teaching style helps immensely, so I thank you for that.

  • @philamavikane9423
    @philamavikane9423 7 днів тому +2

    Absolutely fantastic. Loved the video, made a lot of sense. Keep doing what you're doing, we need people like you who actually know what they're talking about!👍👍
    ..the fact that you're using that vs code theme *sold🔥

    • @LearnWithHuw
      @LearnWithHuw  7 днів тому

      Thanks. I'm glad you found it useful.

  • @PeterAdiSaputro
    @PeterAdiSaputro Годину тому

    Interesting and inspiring, next time I'll use the same approach to learn any new programming languages that I need or want to learn. Thanks for sharing.

  • @LeoNux-um7tg
    @LeoNux-um7tg 4 дні тому +1

    I also used this method to learn linux and command line, bash scripting and networking. You really learn from implementing it on your projects.

  • @NoFakeCoding
    @NoFakeCoding 11 днів тому +1

    Hi Huw, I accidentally saw your video and must say that I like your way of approaching to programming. I am also programmer and make streams about my project so it is nice to see stuff like this.

    • @LearnWithHuw
      @LearnWithHuw  11 днів тому +2

      Glad to find someone on the same wavelength! 🙂

  • @petrus4
    @petrus4 12 днів тому +1

    The one project I've been using to learn different programming languages, is first to draw a hexagon, and then sometimes a grid of hexagons. I'm somewhat fixated with hexagons. I also generally use a derivative of the dictionary dispatch method, which I first observed in FORTH.

  • @shygrammer
    @shygrammer 5 днів тому +1

    This works well for object oriented programming. Pure functional programming takes a mentality shift that's just very wild

  • @AliciaMarkoe
    @AliciaMarkoe 10 днів тому

    Thank you 🦋

  • @AbdurRahim-pp2il
    @AbdurRahim-pp2il 4 дні тому

    Thank you sir.. This has been useful..

  • @laithal-athary9932
    @laithal-athary9932 5 днів тому

    i code since i was in primary school and never learned in a course mostly i find my way almost like you did and i cam assure that this is the most effective way to learn a language. thank you for the efforts

  • @MartinKramer-ff5mt
    @MartinKramer-ff5mt 10 днів тому

    Finally I met the best programmer in the world.
    Fortunality you are making the world shinny.

  • @Skiamakhos
    @Skiamakhos 2 дні тому

    Definitely works well with imperative object-oriented languages. Getting the hang of functional languages & ones where immutability is the norm might be more involved - stuff like Clojure for example. Elixir too: Elixir's main strength is parallel processing, using all the cores on your machine to get stuff done a lot quicker & reliably.

  • @TigerWalts
    @TigerWalts 14 днів тому +3

    I prefer to read an amount of the documentation before I start coding. The amount varies depending on my familiarity to the language.
    The goal isn't to understand everything but rather to get a holistic view of the language.
    Typically I'll start with a scan the table of contents on the book. I'll pick out the chapters on syntax and general concepts and any others that 'stand out'. These I will read through once and not stop to ponder or re-read. I want a map to the rabbit holes, not of the rabbit holes.
    I don't always do this this though. Sometimes you need to work on a new language and you don't have the luxury of time. If this is the case you're probably working with a large enough codebase (which has sensible naming) and you can learn the language by just reading that code.

    • @olecram8217
      @olecram8217 12 днів тому

      Kkkkk tá vendo muito video de mapeamento idiotial 😂😂😂

  • @greeneyed-px5pd
    @greeneyed-px5pd 5 днів тому +1

    One line is permanently etched in my brain till the day I die, maybe even for the afterlife. It's the *'public static void main(String[] args)'* . Even though I never went ahead with Java back in the day, never made a project in it, and it's been perhaps 25 years since I touched Java, I still remember this line.

  • @CelestialVenerableValinor
    @CelestialVenerableValinor День тому +1

    This is the principle that should be taught in college and other youtube tutorials.

  • @SouthGBA
    @SouthGBA 16 днів тому +1

    You got a new subscriber for this video. BTW, I need more Pascal/Delphi videos (and when I say Delphi, I mean from the old Delphi era: D7-D2006, to also being able to write code in Lazarus/FPC). Keep up the good work! :)

    • @LearnWithHuw
      @LearnWithHuw  16 днів тому +4

      Programming in older versions of Delphi? Why do you want that? Are those old compilers still available? We used to get them away on the PC Plus magazine cover disks back in the days when I was writing their Delphi programming column. I still like those older IDEs.

  • @DePistolero
    @DePistolero 13 днів тому +1

    Apart from the outlier genious that built his own engine from zero....I've just tought myself how to make video games using another engine... using exact method you've described here and now I'm taking on rust language... Thanks feels good to get some confirmation.

  • @kanishk7267
    @kanishk7267 8 днів тому

    Fantastic content.

  • @matsang2008
    @matsang2008 11 днів тому +1

    Could you please make a video about how to plan a project and refracting into different classes for de-coupling? That would be so helpful. Most difficult part for me is planning and refracting

    • @LearnWithHuw
      @LearnWithHuw  11 днів тому +1

      That's an interesting idea. I'll give it some thought.

    • @matsang2008
      @matsang2008 7 днів тому

      @@LearnWithHuw Thank You. I really looking forward

  • @Elizabeth-nq9ly
    @Elizabeth-nq9ly 14 днів тому +20

    So to summarise the best way to learn coding languages is to just look stuff up as you go?

    • @LearnWithHuw
      @LearnWithHuw  14 днів тому +19

      First, start to program. Then use the documentation and debugger to help you over any hurdles. But doing the actual programming (of a *real* program, not just assignments) is by far the best way to learn.

  • @psiryan
    @psiryan 13 днів тому +2

    The hardest part about learning to program is understanding the flow of the program, which is really the fundamental part of programming; everything else is syntax which if you are learning a language with syntactical similarities to another language you are already familiar with makes the process of learning other programming languages easier.
    What is more ambiguous and requires direct language experience is determining which language is appropriate for the project you are working on. The differences between many languages are sometimes very subtle but they exist for reasons.

    • @johnp.johnson1541
      @johnp.johnson1541 10 днів тому

      you: "The hardest part about learning to program is understanding the flow of the program, "
      No, not at all and such belief is why most software is terrible.
      The hardest part is understanding workflow (and no, the kiddies' misuse of that word, which they think it means "Setting up my hotkeys") of the domain (business, missile launch and flight, etc) and capturing it in programming language expressions such that expressions do not clash and are flexible enough for real time causality differences.

    • @psiryan
      @psiryan 10 днів тому +1

      @@johnp.johnson1541 indeed, understanding the business process workflow and transcribing it correctly into appropriate models is definitely the hardest part, and part of what I meant. I didn't speak to understanding the workflow of a business process, but the flow of the program is the implementation model of your understanding of the business process. So many people just jump into coding without really doing the first part, but once that skill is mastered and a model is made, then the coding piece is a cinch, just follow the blueprint (I might say pattern or template alla other crafts, but that would be confusing in the programming space since those are reserved words with meaning and context already applied).

    • @noctisocculta4820
      @noctisocculta4820 7 днів тому

      @@psiryan yeah, it really is the bigger picture / flow that matters if you're working on anything larger than a few macros (or a handful of functions, etc.) here and there.
      Big picture is where my programming falls apart: Project becomes overwhelmingly complex, usually due to poor organisation and laziness at the start of the project. Fine in an established project with a supporting team, not at all good for advancing my own skills or leading large new projects.
      Also, learning proper flow improves knowledge retention immensely. You can get up to speed pretty quickly, but if you haven't internalised the fundamentals you'll forget everything in the span of a couple months.
      Cheers.

  • @ge0x1
    @ge0x1 10 годин тому

    Very true, i remember the first time i coded in python was a login program and that’s when i knew nothing about python but i searched every line of code and tried to get it to work. Those functions and syntaxes are the things i remember easily from python.

  • @astrahcat1212
    @astrahcat1212 4 дні тому

    Your way of guessing your way through is really good, get it wrong and correct, that is the FASTEST way it gets hammered into the brain.

  • @thepoormechanic
    @thepoormechanic 6 днів тому

    This is awesome because i have learned many new languages the same exact way currently ive gotten into fpga hdl and electronics design so ive picked a cool project and im jumping into it. ive learned about 8 different languages this exact way and ive only read one book on c++ and one class in VB when I was in highschool. if you can recognize the similarities in the syntax its much easier then learn the nuance of each language. i will say hdl is a completely different animal but still has its similarities but as a software developer i had to stop thinking so linear and think in terms of circuits and parallelism

    • @LearnWithHuw
      @LearnWithHuw  6 днів тому

      Isn't it interesting that the comments on this video divide into two types. Either people dismiss this approach as unworkable. Or else (like me and you!) they say that this is the most productive way to learn a language. Anyway, I'm glad you agree!

    • @thepoormechanic
      @thepoormechanic 6 днів тому

      @@LearnWithHuw well i think some people have the same issues some do with human languages if you can understand that much of it derived from a common source then you will have a much easier time learning new ones but some people need to start from the ground up. but in some instances i think the two are so different its much harder kinda like speaking English your whole life and then trying to learn Mandarin. I seem to be at that point with learning HDL its so different from software languages im learning to think in a completely new way

  • @mstarlingc
    @mstarlingc 4 дні тому

    I also think that learning by creating a project is the best way thank you

  • @dennisdelgado4276
    @dennisdelgado4276 3 дні тому

    Yay now i have more time for some hawk tuas this summer!

  • @imxande6930
    @imxande6930 12 днів тому +3

    Learn any programing language in 3h
    Requirements:
    1- Know 10+ languages already
    2- Have over 20+ years of experience

    • @PeterVerhas
      @PeterVerhas 12 днів тому +2

      …and in addition to that the language not be Rust.

    • @imxande6930
      @imxande6930 11 днів тому

      @@PeterVerhas right 😅

  • @kasomajoshua.6534
    @kasomajoshua.6534 5 днів тому

    Thank you for this tutorial. Can we also use chat GPT or Co pilot for refrence

    • @LearnWithHuw
      @LearnWithHuw  5 днів тому +1

      They can be useful as "leaping off" points but I wouldn't trust them completely. Most languages have some sort of "official" guide which is probably likely to be more reliable.

  • @bhupendrachouhan1825
    @bhupendrachouhan1825 5 днів тому

    This video is very important for anyone who are stuck in the 'Tutorial Hell'.

  • @SeshanDecodes
    @SeshanDecodes 4 дні тому

    What you need to learn is a strong foundation in the concepts of programming and fundamentals. The its pretty much syntax and a few difference between programming languages.
    Learn then concepts in Pseudo Code. Learning in C is also good.

    • @LearnWithHuw
      @LearnWithHuw  4 дні тому

      To be honest, if you can program (well) in C, you can probably learn most other languages pretty quickly.

  • @randylplampin1326
    @randylplampin1326 12 днів тому +10

    Try APL for a change. After three hundred hours you would still not even know what the purpose of this language was.

    • @prembikram1652
      @prembikram1652 5 днів тому

      To hack Alien Mothership.

    • @SomeMrMindism
      @SomeMrMindism 4 дні тому

      APL is just a fancy Forth with a fetish for one character function names and weird precedence rules. If you parenthesize everything and change characters with legible names, APL is no more mysterious than LISP

  • @gyangach7493
    @gyangach7493 3 дні тому

    Thank you sir, Love from bangladesh

  • @SomeMrMindism
    @SomeMrMindism 4 дні тому

    The thing is... all this programming languages are Algol derived. Once you know one, you know all of them. Lisp, Haskell / other SMLs, stack based languages (APL, Forth, etc.) all have radically different programming structure you cannot equate to a C procedure. Case in point: in Haskell, "Hello world" is the *last thing* you program, because you need to understand monad first

  • @No-no-no-no-nope
    @No-no-no-no-nope 6 днів тому

    That's exactly how I do it. I first coded for a game when I was 14, then later a website for a clan and then later Kotlin for an app and Python for AI. Just do it.

  • @PatrickOwens-xb2jn
    @PatrickOwens-xb2jn 7 днів тому

    Hugh the Amiga mini, new one is coming out maxi, could it be made to run old Amiga, Atari st, software, and apple software, I.E emulated all three and could it integrate the programs for different old 16, 8 bit computers, do you think this is possible! So you could use Amigas deluxe paint in the same project as a old 8 bit text apple story or poster, if you think this is possible, I'd like to have the Amiga workbench the Atari st version of it and the old apple or even a slightly later windows running at the same time on three screens and be able to click and drag from one screen to another and instantly the programs written would work on any of the formats is this possible to have three monitor with three systems running at the same time but fully integrated with one another?

  • @jokelot5221
    @jokelot5221 12 днів тому +3

    If you are experienced programmer in one programming language, some OOP language preferably, then learning other languages is pretty much not necessary. Particualry if the language you perfected is some of the more verbose ones like Java, C++..etc. Picking up others should be easy. What programmer should focus on is to understand how to write cleaner code and best programming principles and patterns. With various AI tools nowadays, and an opportunity to experiment with the code on your IDE, learning new language is even more facilitated. So in conclusion, if you want to become a good programmer, my advice is to learn OOP principles well, best practices, pick one verbose language and learn it well, and then you can code projects in pretty much any other languange you want.

    • @noctisocculta4820
      @noctisocculta4820 7 днів тому

      Patterns and principles are so crucial. Don't need to be a genius or waste hundreds of hours reinventing the wheel if you already know several solutions. Of course I won't take my own advice due to laziness and ADHD, lmao.

    • @jokelot5221
      @jokelot5221 7 днів тому +1

      @@noctisocculta4820 I agree. To be able to be good at anything, trying it out in practice is crucial. Then you will spend time filling out holes in your knowledge and perfecting the basics to become more productive. Programming languages should be seen as tools or a mean to comunicate with the mashine and make it do something, i think a lot of tech people and programmers are overcomplicating it to much. Much more important is to understand underlying design principles and best design practices for a particular programming language, and how exactly you code is up to you. And never forget that your finest tool is your mind.

  • @clublength724
    @clublength724 4 дні тому

    What type of audience do you think you are addressing? The language you use is so involved. Its clear that there are certain aspects/attributes that you believe that the "learner" has.What is a Module, Disc utility, Code.D IDE,Default,Compiler,Breakpoint etc and what?When are they used. Learning is a process.

  • @ReasonedRhetoric
    @ReasonedRhetoric 12 днів тому +1

    If I want to make my own WP plugin, what do I need to learn?
    I know they have PHP, HTML, and CSS
    but what else do you need to know?

  • @kidoflp
    @kidoflp 6 днів тому

    Please make a video series on the Python language!

    • @LearnWithHuw
      @LearnWithHuw  6 днів тому +1

      I thought about that but it seems to me that there are many, many other people already doing Python tutorials.

  • @freeideas
    @freeideas 8 днів тому

    I have become handy with all of the languages mentioned in this video, but I don't think anyone can learn Rust, Haskell, or Clojure in a short time. The "pick a project and get programming" method might still work, but it won't be the joyful discovery feeling that those other languages give you. It will be painful every step of the way, and the end result will be code that you hate and don't understand. I am commenting this because I would love to find out I am wrong. (ok i haskell might not be that bad; but Rust for sure)

  • @Sypaka
    @Sypaka 12 днів тому +1

    Once you realize, programs are just an assembly batchfile with subroutines jumping in and out, every language fundamentally becomes the same. just the funny words for the functions change.
    D is writeln(), C# is Console.WriteLine(); some have "print", another "echo"...

    • @isqwerblya
      @isqwerblya 6 днів тому

      try haskel to feel really "another" language.

    • @Sypaka
      @Sypaka 6 днів тому

      @@isqwerblya Ah - no. Thanks, I pass on that one.

  • @jackbombay1423
    @jackbombay1423 13 днів тому +1

    I always wanted to learn a programming language, is it worth to learn Python? I kind know how it works and I really think your advice to create a project and not just solving problems is the best approach to finally make it.

    • @LearnWithHuw
      @LearnWithHuw  12 днів тому +1

      Yes, Python is widely used and worth learning. Give it a go!

    • @johnp.johnson1541
      @johnp.johnson1541 10 днів тому

      Python is one choice and perhaps not the best from which to learn.
      You should learn with a multi-paradigm language REPL (Read-Eval-Print Loop) environment.
      Likely the best choice is Red 0.6.5. And if you decide to learn with it, you will not wish to learn any other.
      Other notable candidates are Ruby, Lua, Rexx / Object Rexx, Bash (If on Linux).
      You should learn a language that you can use to do things for yourself.
      But what you really are trying to learn is how to solve problems involving data (rather than wood, steel, stone, or blood, flesh, etc) and time. All computer languages are means to ends-to solve problems involving data and time.

    • @jackbombay1423
      @jackbombay1423 9 днів тому

      @@johnp.johnson1541 Solving problems is part of creating a video game. I don't follow your approach. But I will google about those other programming languages you talked about. Thanks for the info.

    • @johnp.johnson1541
      @johnp.johnson1541 9 днів тому

      @@jackbombay1423 Yeah, sure. Do your best.

  • @12-OneTwo
    @12-OneTwo 9 днів тому +1

    Any alternatives to Visual Studio you would recommend?
    I'm learning C++ and C#.

    • @LearnWithHuw
      @LearnWithHuw  9 днів тому

      I think Visual Studio would be the best choice for those languages. Visual Studio Code could also be used or other cross-platform IDEs such as CodeLite or Code Blocks, but on Windows Visual Studio would definitely be my first choice.

    • @12-OneTwo
      @12-OneTwo 6 днів тому

      @@LearnWithHuw Alright.

  • @ubiquituum
    @ubiquituum 14 днів тому +1

    im sure you are aware it may be a stretch to suggest you can learn "ANY" language using this method. there are a lot of languages like the ML's, Lisp's, APL's and ALGOL-style languages (just to name a few) that have a very different look and feel compared to any other language. regardless tho, noticing the similarities between languages is incredibly powerful, skips a lot of repetition in the learning process

    • @LearnWithHuw
      @LearnWithHuw  14 днів тому +3

      This still applies. You may need to read a bit of documentation to get started but after that you can learn through exploration. This is pretty much the way I learnt languages as "offbeat" (i.e. non C-like) as Prolog, Smalltalk and Ruby.

    • @ErazerPT
      @ErazerPT 13 днів тому +1

      That argument is true to a point, but the "deeper version" is the true point. It's not if or not the languages are similar, but that the thought process is similar. I for example will still do a few small things before i dive in, but it's more to "rev up the motor" than anything else. First i look "what are the basic data types and structures?", "are there classes?", "is there a for, or a while?", "does it have a console IO?", etc. Then code some bits to get a feel and then dive in. Anything i don't know i can find fast, because i already know what I'm looking for.
      That obviously WON'T work with people that are too new to coding, because for the most part, what they lack is "what I'm looking for". It's hard to find the answer when you don't even (properly) know the question you want an answer for...
      When I'm training people, the hardest part of the job is getting them to properly express what they're trying to achieve. Because people have a very vague idea of what it is they want, very imprecise. Once you can get them to express as something that you could pretty much regard as pseudo-code, they're ready to tackle anything.
      p.s. That also works really well when they have some code that doesn't work. It just changes to "tell me what you're doing". Usually followed by "Is that what you wrote?". It's a great debug tool. "What was i trying to do?">"What did i write?". Most bugs are simply a mismatch.

  • @Stray2Strong
    @Stray2Strong 8 днів тому

    its a great idea but for someone who doesnt know a language or where to start i think its alot difficult to dive deep in any language if you have never coded before

    • @noctisocculta4820
      @noctisocculta4820 7 днів тому

      That's why modding is great. You can learn by looking at other people's code and have fun playing with your new creations.

  • @aberba
    @aberba 6 днів тому

    D is my favorite system programming language.

  • @charlesbaldo
    @charlesbaldo 4 дні тому

    When your programming skill level hits a certain point you will realize that you know every programming language

  • @endarion1904
    @endarion1904 6 днів тому

    Okay, this is going to be one of the weirder comments you will get:
    For a few years now I have been experiencing recurring dreams of a location called Hotel Adventure. It's essentially a hotel where people spend the majority of their time playing old text adventure games from the 80s and 90s. One of the more interesting facts about the place is that you don't age there, but neither can you leave---you're pretty much stranded playing and writing text adventures ad infinitum.
    Once a week, in this mysterious place, there is a lecture on some technical aspect of text adventure games---the world model, object trees, good class taxonomies for items, parsing techniques ... you name it. These lectures are always given by the same person, and in the dreams he's just referred to as "The Professor."
    Well, in a weird way, seems I found him. This is so much like those lecture sequences ... It's creepy in a good way!
    Thought I'd let you know. And sorry if this is really wild.

    • @LearnWithHuw
      @LearnWithHuw  6 днів тому +1

      Gah! You mean I'm in your dreams (nightmares?) 😆 Actually, that sounds like a very good idea for a game. Go and write it!

  • @johnpeters9777
    @johnpeters9777 10 днів тому

    Picked up pyrhon quickly but it takes 1.5 years to be an SME

  • @bruceparker6142
    @bruceparker6142 12 днів тому

    I'm new to programming. What I was trying to do is "applied" programming. I'm referring to game development. I started using yt and the documentation to learn godot. I was not progressing as quickly as I would like. Then I encountered strange problems while doing a course. I'm not sure if it was a bug or me. I'll try this advice.

    • @LearnWithHuw
      @LearnWithHuw  11 днів тому

      Problems are your friends. Solving them is the best way to learn! 😃

    • @bruceparker6142
      @bruceparker6142 11 днів тому

      @@LearnWithHuw So true. What gets frustrating is when you code exactly as the person on the channel and things get buggy.

  • @MrPyro91
    @MrPyro91 7 днів тому

    why use a light theme?

  • @bart2019
    @bart2019 14 днів тому +11

    Not any language. Only languages that are similar enough to what you already know. Try learning Haskell, OCaml, Erlang or Rust this way... you very likely will suffer

    • @batlin
      @batlin 13 днів тому +1

      I've written quite a bit of Haskell, Rust and a few other "difierent" languages like Prolog, J and Forth. I think the advice here still holds, but the proportion of time spent debugging and searching the docs will be a bit higher. You definitely benefit from the suffering you mentioned. Otherwise it's too easy to spend weeks going through tutorials and books without ever "breaking out". Haskell books also tend to be very long and hard going, although Brent Yorgey's old CS notes and exercises were excellent and concise without going into silly monad analogies or "...in a category of endofunctors" prose that loses people.

  • @jerryhall5709
    @jerryhall5709 12 днів тому +1

    The first time I saw Kotlin I wondered what was so "fun" about it.

  • @timurjoro1995
    @timurjoro1995 6 днів тому +1

    Yeah, works quite easier if you have been programming two decades. I was looking for more a beginner advice.

  • @saurabhagarwal9253
    @saurabhagarwal9253 5 днів тому

    His way part 1 - not reading manuals, not doing exercises, pick an unknown language, pick a project of any adventure game, learn through project.

  • @timedebtor
    @timedebtor 14 днів тому

    You have 30 minutes each. APL, prolog, & hakaru

  • @FactsBeFacts
    @FactsBeFacts 9 днів тому +1

    I'm a DIY programmer, never read any books. One thing your method doesn't teach anyone is how to solve a problem, how to combine the various tools, functions to achieve an objective. This is something you need to be able to do in order to even begin a project or you just end up wasting weeks writing these really long winded methods to do something that can be done in 2 lines if you had only been aware of it in the 1st place. In my early days I'd be ending up with 20 files to achieve something that I later on discovered could be done in one 50 line script. Just looking things up every-time you run into a problem doesn't give you that knowledge to know right away that in order to accomplish a specific goal the easiest way I need this, this & this.
    When someone says to you, how much will this cost & how long will it take? Actually being able to determine this quickly is important.

  • @MaZaKeRaL
    @MaZaKeRaL 6 днів тому

    I spent months trying to learn Python and while I initially made a lot of progress through the language, I really struggled with logic within nested loops and a combination of arrays and loops. It caused me to burn out and eventually give up. I never found out a way to solve those problems and move past it. 🤕

    • @LearnWithHuw
      @LearnWithHuw  6 днів тому +1

      Setting breakpoints and using a debugger may be the way forward to help you understand that. Don't give up!

    • @MaZaKeRaL
      @MaZaKeRaL 5 днів тому +1

      @@LearnWithHuw Thank you soo much, I'll keep trying!

  • @gijoe5508
    @gijoe5508 4 дні тому

    I wasted 20 years of my life to learn coding. However, I only study 2 years of pure maths at university and 3 years of computer science. Actually, I am doing reverse engineering and machine learning to find coding problems.

  • @paschaltimes
    @paschaltimes 5 днів тому

    Okay sir

  • @huynguyentan4206
    @huynguyentan4206 5 днів тому

    How can you keep the enthusiasm to learn more and more?

    • @LearnWithHuw
      @LearnWithHuw  5 днів тому

      You have to find something that you *really* enjoy programming. That could be some utilities, a game, something related to the web, something that supports one of your other interests (say, if you play a musical instrument or like learning languages - then create some programs related to those activities). Enthusiasm comes from enjoyment so don't get bogged down programming things that you don't enjoy! Good luck.

    • @huynguyentan4206
      @huynguyentan4206 4 дні тому

      @@LearnWithHuw Thank you for sharing!

  • @johnmahugu
    @johnmahugu 6 днів тому

    Bigup !

  • @GNXClone
    @GNXClone 9 днів тому

    Brick Top from the Snatch movie teaches programming. 😊

  • @JJSeattle
    @JJSeattle 17 годин тому

    I just look over the concepts (metaclass, GIL, magic methods, PDO, shadow DOM, promises, etc.) and then let Ai code 90% of it.

  • @OYMInternetRadio
    @OYMInternetRadio День тому

    I did a python course and I find everyone seems to teach the same way in the majority of cases but not everyone learns the same way. I'd like to learn more about programming, but the training put me off plus, you need a certain mind set or a way of thinking which most people don't have. :-(

    • @LearnWithHuw
      @LearnWithHuw  День тому +1

      As I've said before, the really big "secret" is to find a project that you really enjoy programming. It doesn't matter if you make mistakes. The key is to keep at it. And to do that, you need to work on a project that you love. Good luck!

    • @OYMInternetRadio
      @OYMInternetRadio День тому

      @@LearnWithHuw That does make sense but the projects that I want to do are quite involved needing file/database access etc and regarding apps, I'm not even sure python can do android. What programming language would you recommend for android programming?

    • @LearnWithHuw
      @LearnWithHuw  День тому +1

      I would encourage you to work on a program that interests you even if it seems too ambitious. The first program I wrote (many years ago!) was an adventure game written in Pascal. I knew almost nothing when I began (and there was no web to search for info). So I had to learn the language, error-handling, file handling and all the intricacies of writing the game with almost no help. I made a LOT of mistakes. But it was also the single most important learning exercise I ever did.

  • @coolmind2476
    @coolmind2476 6 днів тому

    Learning a programming language doesnt mean that one can solve problems with it. You need many months or even years of daily experience to reach a professional level. E.g. even you might know how to output characters with writeln command , just try to program 3d shooter with only text output.

  • @wogvorph
    @wogvorph 14 днів тому +8

    Is it true that light theme attracts bugs?

    • @gauravtejpal8901
      @gauravtejpal8901 14 днів тому

      Blue light and white light attracts the most bugs. Yellow and orange lights are more bug free

    • @friedrichmyers
      @friedrichmyers 13 днів тому +2

      I use Light Theme. The entirety of dark mode philosophy is that You can't attract bugs when you can't see your code.

    • @joyajim
      @joyajim 11 днів тому

      Huh?
      Really?

  • @ipaki6576
    @ipaki6576 5 днів тому +1

    No one can learn a lang in 3hours every one has its own way of learning things. u have to find a way thathow ur brain works n learn and that's it Boom

  • @SigmayetB
    @SigmayetB 4 дні тому

    For LLM or GL for a.i

  • @jimer634
    @jimer634 7 днів тому

    newbie, jumps to a project and started programming...lord have mercy.

  • @therhythmatic
    @therhythmatic 5 днів тому

    Learn how to make a “to do” list. Everything you code is essentially a to do list. It covers all CRUD operations.

  • @L4Festa
    @L4Festa 14 днів тому +2

    In the beginning of the video you should make a distinction between learning a language and learning programming, as want to be engineers might see this title and think they're going to learn how to program in 3 hours.

  • @sushiConPorotos
    @sushiConPorotos 4 дні тому

    "When anything else fails, read the instructions"

  • @j-p-d-e-v
    @j-p-d-e-v 14 днів тому +2

    I never thought there is D language.

    • @SforSamPlays
      @SforSamPlays 13 днів тому +3

      There is B language as well, as well an A language (aka assembly)

    • @johnc3403
      @johnc3403 12 днів тому +1

      @@SforSamPlays ..and originally 'A' language was called 'eh?' . Literally there's been eh?, B, C and D.

    • @SforSamPlays
      @SforSamPlays 12 днів тому

      @@johnc3403 assembly, low level computer instructions

    • @GaryChike
      @GaryChike 11 днів тому

      Watch Mike Shah's series on D .. great instructor and one of my personal favorite programming languages.

  • @osark2487
    @osark2487 8 днів тому

    You can definitely learn a new language in 3 hours. If havr already got 30 years of programming experience. Then 3 hours may actually be too long of a timeframe.

  • @shellblack8914
    @shellblack8914 15 днів тому

    I start learn c++ month now . maybe I want 1 years for finish cource . I playing now problem solving in beecrowd . I have come to understand that learning by watching does not mean becoming a programmer who must apply and solve problems.

    • @LearnWithHuw
      @LearnWithHuw  15 днів тому

      Good luck. I strongly recommend that you pick a project that really interests you and do your very best to complete it in the next year. Even if you make a lot of mistakes (which you surely will!) you will also learn a huge amount. Give it a go!

    • @shellblack8914
      @shellblack8914 День тому

      @@LearnWithHuw Thank you . I will try to do that .Try to remind me or anyone who will see a warning comment in the coming year. Than to share my experience. Was it successful or did I get bored and stop?

  • @TravisG-lj9dz
    @TravisG-lj9dz 6 днів тому +1

    I've spent 200+ hours studying code and still only have a basic understanding. You need months even years to learn coding.

    • @thebeesnuts777
      @thebeesnuts777 День тому

      Yep, that's why I think prompt engineering is the future , then using normal human language will make coding far far easier ,

  • @furqantarique3484
    @furqantarique3484 2 дні тому

    I will get a job in canada for this

  • @MrMattberry1
    @MrMattberry1 12 днів тому

    So you looked up stuff in a language style you were familiar with and wrote a basic program, innovative!😂

  • @mahirudinmasri1867
    @mahirudinmasri1867 5 днів тому

    I think I'm not good at programming. It took me months to learn assembly language. C was my last computer language before becoming a website designer in 1996 (oh I did some simple web programming in Perl)

    • @LearnWithHuw
      @LearnWithHuw  5 днів тому

      Assembly Language is a world unto itself. Funnily enough, I've always found web development harder than application programming. All those pointy brackets!!! 🙂

  • @almdrs
    @almdrs 13 днів тому

    Learn programming language in 10 seconds:
    variables,numbers, strings, boolean, lists, loops, functions, conditions, objects...

  • @Mangohawk124
    @Mangohawk124 6 днів тому

    I though this vid was one of the old iconic vids...
    But its posted 9 days ago.....😂

  • @sushiConPorotos
    @sushiConPorotos 4 дні тому

    Learn any programming lang in 3 hs, and master your Mother-in-Law in 3 decades! Good luck with that

  • @techjava51
    @techjava51 12 днів тому

    Thank you 🎉 I am age 48 with no programming experience and bought a book in Java programming by Herbert Schildt and it is 1300 pages long.😅
    How can I complete and master this book,so that I get a remote job?
    I am not going to work and living in home.
    Reply if possible.
    Thank you.

    • @LearnWithHuw
      @LearnWithHuw  12 днів тому

      That's really far too big a book for a beginner. I would recommend the Java book I wrote (which is very short) but you could also follow a few beginner tutorials on UA-cam. You don't need to know *all* of Java to get started. Begin short and simple and build on that experience.

    • @techjava51
      @techjava51 11 днів тому

      @@LearnWithHuw Thank you,Sir.I will do it.

    • @LearnWithHuw
      @LearnWithHuw  11 днів тому

      @@techjava51 Good luck! Have fun while you are learning.

    • @GaryChike
      @GaryChike 11 днів тому

      I also have "Java: The Complete Reference, Thirteenth Edition 13th Edition" by Herbert Schildt - it's actually very well written and easily accessible compared to other large tomes I've encountered.

    • @LearnWithHuw
      @LearnWithHuw  11 днів тому +1

      @@GaryChike Herbert Schildt is quite a prolific writer. I have read some of his books in the past. I seem to remember thinking they were good. Even so, that is a VERY big book!!! 😯

  • @Andy_B.
    @Andy_B. 12 днів тому

    your approach works, when you already learned 2 languages before...
    to compare & relate.
    I learned C and python, therefore this tutorial is great to learn a 3rd language.
    I can say, that I am not scared at all to learn a new language;
    once you learn C and see many things done the same /similar way in other languages, you feel like an oldschool dog ... 😅

  • @DeclanOKaneMD
    @DeclanOKaneMD 13 днів тому

    Delphi Huw !!!

  • @seye69
    @seye69 13 днів тому

    You stand a better chance of learning D in three hours if you take a couple of writeln first.