How principled coders outperform the competition

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

КОМЕНТАРІ • 2 тис.

  • @coderized
    @coderized  Рік тому +986

    Hey folks, I just wanted to add a quick few things to make the goal of the video a bit clearer:
    I present these topics as guidelines, not hard rules. I call them "sins" but in reality, there's exceptions to everything and your situation may not need all the topics covered. I've seen people who over-engineer simple codebases to the point it's unreadable, just to have it fully modular; or obsess over following standards, even when it becomes incompatible in certain situations; or spending way too much time trying to achieve 100% test coverage, when it added no more benefit to do so. The best way to interpret this video is to have a little understanding of the topics, and choose the things that you want to learn more about. The 80/20 rule is usually pretty good to combine with all these points.
    Everything mentioned in the video once had a pain point behind it that will have led to its creation, but maybe you don't have these same pain points... yet! Just remember the potential solutions for when you do, or use them as a foundation for your own exploration!
    Hope this clarifies a bit!
    ---
    Oh, and thank you so much for all the kind comments! I'm reading every single one with a smile. Your feedback means a lot and I am really excited to get back to creating more videos for you all.

    • @a-a174
      @a-a174 Рік тому +12

      Please keep uploading!!! This video was so great 👍

    • @Timelog88
      @Timelog88 Рік тому +17

      I love this added comment, as after watching the video I was pretty afraid people might fall in the trap of dogmatically following principles like SOLID like they are 10000% must does. However, after being frustrated with engineers creating interfaces for everything, every time, everywhere I had began to do a ton of research, there had to be a better way. And for my sanity I found one.
      Having always been the type to make things work first, and make things better later, Test Driven Development was an eye opener, and I suddenly began to see you don't need interfaces everywhere, nor do I need to mock everything (yey Sociable Tests!). What I really learned doing TDD is that after you get things to work, and backed by (behavioral) tests, refactoring is fun, and useful patterns and practices come to the surface quickly. I can really suggest to people to learn TDD, even if you don't like it, if only to get more insight in when to apply practices and patterns better and avoid the trap that I like to call "Cargo Cult Programing", applying patterns and practices without considering their usefulness in your specific problem domain.
      For anyone interested in what testing without mocks looks like, search for James Shore here on UA-cam, he has a bunch of great video's explaining it with some fun projects.

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 Рік тому +4

      One of the most effective ways to double your productivity is to learn to touch-type.

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

      Excellent video!!

    • @yt-sh
      @yt-sh Рік тому +1

      This were good points but I wish the SOLID method was explained with code or something

  • @SaHaRaSquad
    @SaHaRaSquad Рік тому +3498

    I think "don't follow rules blindly" also deserves a place as advice - understanding why some best practices exist and when they make no sense is important. There are valid exceptions to everything.

    • @blackrobot138
      @blackrobot138 Рік тому +171

      Exactly, without any context these principle, rules or patterns makes no sense. This sometime leads to over-engineered solution which is not that useful for the business.

    • @callumbirks
      @callumbirks Рік тому +28

      Definitely. I started work as a software dev about 6 months ago and I'm trying to improve our product by following coding standards and general guidelines from the C++ community. But I don't apply anything until I've researched it enough to understand it myself and explain it to others.

    • @asmonull
      @asmonull Рік тому +33

      Generally agreed, on the other hand - when breaking a "rule" (guideline, established practice) it's best if you know how it works, why it's there and what are the tradeoffs; at which point you probably don't need a guide/video to tell you that.

    • @IBelieveInCode
      @IBelieveInCode Рік тому +28

      In fact most of the "good practices" become crap when you have to do something enough complicated for that.
      That's why I have finally rejected OOP 🙂

    • @impartingsea429
      @impartingsea429 Рік тому +215

      “Don't ever take a fence down until you know the reason it was put up.” ― G. K. Chesterton

  • @poons1955
    @poons1955 Рік тому +1125

    I love how calmly everything is presented. There’s no music in the background either which leaves a few silences in between. It’s a welcome change

    • @ColePanike
      @ColePanike Рік тому +39

      Yeah, it's like listening to someone doing a guided meditation, just on code. It's lovely.

    • @MattsMathProgrammingAlgorithm
      @MattsMathProgrammingAlgorithm Рік тому +3

      *slits POONS throat* I couldn't take it anymore, something was definitely brewing. I had to cause chaos before it was too late.

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

      Agreed. I enjoy this style. As a future UA-cam feature, I wish there was a button for the background music track on videos, so I could switch it off when I want to. Background music can be very distracting.

    • @karmasweapon2861
      @karmasweapon2861 Рік тому +2

      It also means I can play my own music while listening, which automatically improves my personal rating on tutorial type videos.

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

      Yeah it's very soy

  • @reallax7916
    @reallax7916 Рік тому +132

    5:03 "That's right, it goes in the square hole"

    • @DJReRun
      @DJReRun 4 місяці тому +8

      Came to find this comment. 😂

  • @kracky
    @kracky Рік тому +114

    I don't know why I'm here, it's 3 am, i am tired, i have to study for my finals ... I don't even code... I watched this video twice

  • @COLAMAroro
    @COLAMAroro 10 місяців тому +91

    Small addition to the last point: Remember the Pareto principle
    80% of the result is caused by 20% of the work. It is expected that you blaze through at the beginning of the project, only to slow down a lot afterwards. It’s not you, it’s everybody 😊

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

      We can apply that to many things. Such as 20% of coders will create 80% of bad code? 😂

  • @BEN-ys6gu
    @BEN-ys6gu Рік тому +720

    Channels are popping up with extremely high quality content like it's nothing and it makes me happy. By quality I'm not talking only about the very professional animations, but the actual information as well. As a CS student I was familiar to most of what you said, but the video just sealed all this info together in a way that made think about this stuff and become a lot more confident. The examples were well chosen too.

    • @am01013
      @am01013 Рік тому +15

      For real! This channel, CodeAesthetic and ByteByteGo makes the best programming content I've ever seen on UA-cam and they've all popped up in the last year

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

      exactly this!

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

      agree on all counts 100%

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

      Welcome to the information age, brother

  • @novomiracle988
    @novomiracle988 Рік тому +534

    0:38 use standards
    1:20 learn principles
    4:47 apply patterns
    6:21 adequate names
    8:00 test
    9:10 realistic time
    10:00 appropriate speed

    • @kkyoyo3
      @kkyoyo3 Рік тому +15

      you forgot banana D:

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

      "Multiply by π"

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

      & if you invent a new principle
      Please explain it in simple words

    • @bobbobson6290
      @bobbobson6290 Рік тому +3

      "ChatGPT can you refactor my code to these principles?"

    • @Isaacrl67
      @Isaacrl67 Рік тому +12

      @@bobbobson6290 I apologize, but as an AI language model I am not able to create or run code. However, I can provide an example of these concepts using Python.
      ```python
      ```
      import os
      ...

  • @GenericInternetter
    @GenericInternetter Рік тому +316

    I remember a dev once said that development is never straightforward, and so the team ends up meandering as if they were following a series of semicircles, which is why they plan for everything to take 3.142 times as long as expected.

    • @rb.x
      @rb.x Рік тому +10

      That’s very poetic!

    • @NishantTilve
      @NishantTilve Рік тому +11

      @@rb.xpi-tic

    • @Salien1999
      @Salien1999 Рік тому +9

      I seem to remember seeing a video about a paper that discussed projects in corporate settings tending to take e times as long as expected. Another reason why pi=e=3

    • @thomasprogli3372
      @thomasprogli3372 9 місяців тому +1

      Pythagoras sees what you did there.

    • @mushrifsaidin
      @mushrifsaidin 8 місяців тому +1

      I love me some pie, especially creampies!

  • @NackDSP
    @NackDSP Рік тому +94

    The code I wrote primarily implemented some mathematical calculation. Code and it's documentation are not always well linked. So I made it a habit to describe the derivation, references to text books used and even put Matlab simulation code used directly in the comments so the next person to service the code could see the whole process and repeat it if changes were required. Years later I visited the company and the engineers that maintained my code thanked me.

  • @Jauntie_J
    @Jauntie_J Рік тому +130

    Not sure if it's intentional, but I love your callback at 5:00 to the square hole TikTok meme. Gave me a good chuckle and now I want to see how far that actual metaphor of putting a circle in a square programming hole goes.

    • @coderized
      @coderized  Рік тому +35

      Haha glad you liked it. I love that meme, makes me laugh every time

    • @ihavenoname3770
      @ihavenoname3770 Рік тому +8

      @@coderized I also enjoyed the 'Bestagons' reference. A man of culture, I see :P

    • @JonahTheMans
      @JonahTheMans 9 місяців тому

      I was screaming and crying when they kept going in the square hole, but I’m also the guy who puts everything in the square hole (I’m so good at breaking software).

    • @rmt3589
      @rmt3589 8 місяців тому +1

      I'll give you an idea of how far it can go:
      If {
      If {
      If {
      If {
      If {...

  • @mrmaniac9905
    @mrmaniac9905 Рік тому +544

    I've been programming for 12 years now.. this perfectly articulates what I've been subconsciously been leaning towards as time goes on. I've heard about all of the concepts in this video but never in this way. These principles truly are fundamental measurements of ones proceffiency in code. One thing I will mention though is the concept I personally use with larger programs. When I am facing a large system, I will typically prototype smaller bits of code in a way that "just works." After I get my concept I have in my mind in front of me, I then begin to refactor and abstract the code into a state that is to, in my eyes, what is described in this video. In my game engine I've been working on over the past few years I started off by just getting things going like a window, simple rendering with shaders etc. Eventually over time I separated out the project in modules that hook the engine for state changes. The core engine eventually just became a bootstrapper for modules like an Asset module, and other modules could depend upon modules within their module.lua file (custom build system), and I had I things like abstract modules where a render backend could be opengl or directx, where there would be an abstraction module that provides common rendering functionality, allowing modules that need to render something to just require the abstract render module and let the runtime render module handle the rest.
    TL;DR sometimes its okay to just "get your idea out" with some working prototype, then chip away/refactor as you would with a beautiful marble sculpture; apply the principles presented in this video as a form a improvement overtime instead of must-have requirements from the get-go. Principles such as standards should always be followed in my opinion however.

    • @coderized
      @coderized  Рік тому +31

      Well said!

    • @ErazerPT
      @ErazerPT Рік тому +14

      "In most projects, the first system built is barely usable....Hence plan to throw one away; you will, anyhow.". Fred didn't mean it literally, but on a functional level. If you're doing something new, odds are you wont DoItRight straight away, no matter how much analysis you throw at it. So might as well GetItDone, go over it figuring everything that is wrong, then DoItRight, or as close as possible.
      At this stage in the process, refactoring is counter productive IMHO, as you don't have a "code block level" issue, you have a Systems Architecture issue. Reuse maybe, refactor not so much.
      Assuming v2 went well, you can now just refactor/rework, and bar some fundamental change, things should sail along quite ok, even if not optimal.
      Most (legacy) nightmares are from systems that didn't Throw One Away, because (business) reasons. And they carry all that bad SA into the future. At that point, any refactoring/patterning you throw at it is just "reshaping" a fundamentally wrong thing.
      Funny thing, if/when they do decide to do it anew, they don't use the old one as "reference" and just start working one the new one, with zero intention of throwing the prototype away. Wash, rinse, repeat.

    • @jamesgood7894
      @jamesgood7894 Рік тому +3

      Was reading a Haskell book “Abstractions in Context”. The author suggested that if your initial design/interface isn’t perfect, don’t toss out the code when going back to improve it, but to wrap it in an improved interface (kind of like the adapter pattern) in order to provide a better interface to the user/calling code of the module.

    • @ErazerPT
      @ErazerPT Рік тому +3

      @@jamesgood7894 Haskell has a easier time by dealing with immutables. In languages that deal mostly with "by reference", one of the main reasons you throw out a SA and replace it wholesale is not because of the code per se, but because of the bad side effects. Something that looked like a good idea in the prototype has become a true nightmare, and now you're in lock/mutex/semaphore hell because of it. No amount of refactoring will solve that, you need a new SA that deals with "what will happen and how to avoid it". Problem being, you can only know how big a nightmare it will turn into post facto. At the extreme end, it gets so bad you'd be better off running single threaded because you are waiting on something that is waiting on something that... ;)

    • @lovalmidas
      @lovalmidas Рік тому +4

      Getting the idea out is perhaps the most important part, perhaps even trumping standards or principles or patterns. There is usually a distance between a blank slate and proof of concept. And within that distance is a graveyard of failed projects. Building that stamina to survive this is perhaps the most important for devs at the beginner level who are still grasping the mindset of programming itself.
      Have a process. Then improve that process.
      Just as it is too easy to devolve from developing a game into tweaking the game engine (and fail to produce a game), it is also easy to fall into the maze of standards to the point where the product no longer progresses, but gets stuck in the sea of refactors and compliance checks - a lot of movement of letters without useful function.
      With experience, both in coding and in procuring programming aids and tools over the years, we'll get better at separating prototypical code from final code, segmenting parts of the product to useful levels of abstraction, when to stop coding and start reviewing and refactoring, and even start to internalize some of the best practices to minimize the effort from prototype to product code. This is the typical audience for this video. Beginners are welcome to see the roadmap of their dev journey.

  • @fabdlnltc
    @fabdlnltc Рік тому +47

    I would add one missing point;
    Teamwork/Communication
    You rarely work alone, so listen to every pain you or your team has (on or out code), and think together how to address them and solve it. Which is the heart of every agile methodology

  • @fabdlnltc
    @fabdlnltc Рік тому +66

    Dude, I really needed this video 15 years ago.
    I hope every new learner can appreciate and understand everything here!

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

      I'm new to python and programming as a whole and I am completely lost. All I've done is partially work on a cash register.

    • @fabdlnltc
      @fabdlnltc Рік тому +3

      @Agilitea familiarize with python doing basic algorithms. First learn to speak fluently in this new language. Whatever you want to say, write it in python.
      All these topics will make sense after you know how to program and try to do it with someone else. The only exception is the topic on learn to properly name your things. That is simple and often ignored (stop naming your variables as a, b and c. Put the name that will make you understand your written code a week after you left it)
      Revisit this video everytime you think you've made a big step toward programming, because you will understand each time a little bit better and figure it out all topics spoken here, and maybe use it as a starting point for deep learning something later

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

      @@fabdlnltc Thanks, I've actually never named my variables after letters though as my professor gives us training scenarios for our codeing assignments.

  • @miggu
    @miggu Рік тому +10

    This videos are so ZEN. It's like code meditation. If you continue creating content like this , sharing your knowledge in this calm style , you will get a huge fanbase. Keep up the good work.

  • @hotworlds
    @hotworlds Рік тому +174

    To expand on the first point, a lot of IDEs have an auto formatter that will fix your whitespace and indentation for you, and can be run on existing files all at once to clean everything up. If you're on a team, it's a good idea to create a configuration for the formatter and share it with everyone on the team so it's impossible for anyone to make formatting mistakes :)

    • @coderized
      @coderized  Рік тому +37

      Absolutely true, I forgot to include this point! Tools like "Prettier" and linters with auto-formatters can save you so much time and headache. Thanks for the addition!

    • @karoshi2
      @karoshi2 Рік тому +7

      Git hooks for the rescue!
      Although local ones aren't shared and until now I couldn't convince people to have them installed on server side, one can still have a shared hooks project that comes with automatic updates and an installer.
      Doesn't need to be for style, but syntax at least. Have seen it multiple times: A does a "minute" change that "can't possibly go wrong" and B spends days searching for an issue he never introduced himself.
      Ok, B might have read the git log, or bisected it, also when A doesn't even check the syntax how likely is it to have him install hooks, but you get the point.

    • @local9
      @local9 Рік тому +6

      @@karoshi2 Git hooks with linting, soo much time saved, also been doing commit liniting so each commit has better messages.

    • @karoshi2
      @karoshi2 Рік тому +3

      @@local9 Absolutely! Also to do unit tests before pushing. Even when you --no-verify, it just nags until you do it a liiiitle better every time.
      Total game changer!

    • @Skovgaard1975
      @Skovgaard1975 Рік тому +2

      Fascism!

  • @hjtomi_
    @hjtomi_ Рік тому +31

    This video is just amazing!
    The animations are eye-catching, I never felt even half a minute bored and the 7 points are top-tier.

  • @ashutoshmahapatra537
    @ashutoshmahapatra537 Рік тому +19

    Brilliant production quality! Nice to see so many coding channels booming that go beyond just solving problems.

  • @AshPragasam
    @AshPragasam Рік тому +20

    Thank you!! As much as the content, I appreciate the zen tone of this video. Reading good code is an enjoyable thing indeed. Adding to lesson 7, at any point during a coding task, never be afraid to revert all changes and start again. You'll be amazed at how quickly you will get back to the same progress point, but you'll have a cleaner design with all the things learned from the previous attempts 🥳

  • @imrlyunoriginal
    @imrlyunoriginal Рік тому +3

    Great video! Not usually my type of thing, but when I got to the end, I got a strong urge to subscribe, for some reason

  • @mikhailratner4649
    @mikhailratner4649 Рік тому +25

    Amazing Animations and video in general! I am a Junior Angular Dev and quite happy to see that most of the things mentioned here I'm either already doing or at least familiar with (due to occasional reminders by my great colleagues!

  • @vimore01
    @vimore01 Рік тому +200

    Video is stunning. I am learning to code, I am still a beginner, but your video inspires me to continue and to do so in the best way possible. The pace of your voice is relaxing yet not boring. The drawings and animations are a feast for the eyes. I subscribed :)

    • @coderized
      @coderized  Рік тому +19

      It really means a lot, thank you! And keep at it - programming can be endless fun and learning new things about it is the best part in my opinion. You get to create whatever your imagination and skill allows and so many possibilities unlock as you get better

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

      Yo I'm a beginner too wanna learn together drop ur discord

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

      @@deus6950 I'll set up a Discord at around 10k subs I think :)

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

      @@coderized ok that's good the original comment

  • @25MartyDK
    @25MartyDK Рік тому +9

    It's great to see that every single one of these concepts is what I'm being taught step by step in my graduate education to software developer. It's not always easy to link the idea or best practice to the actual writing of code, but seeing as how I've been doing this for only 6 months, I suppose in time it will become second nature :)

  • @oberon2159
    @oberon2159 7 місяців тому +1

    Outstanding video! So many concepts made accessible to everyone. I as a dyslexic programmer, REALLY appreciated the work that went into telling the story and visually representing everything. Absolutely bravo.

  • @mohammadayoub7551
    @mohammadayoub7551 Рік тому +5

    The amount of references in this video are crazy and hilarious! The CGP Grey reference (hexagons are bestagons), the DBZ reference, the tiktok meme, there's the brain one & I'm not sure if that's a silent nod to Fireship's brain one, and the L words repeating reminds me of the presentation of ChatGPT-4. Awesome video!

  • @kevinyang3401
    @kevinyang3401 Рік тому +17

    hexagon is the bestagon

  • @JustkickinitG
    @JustkickinitG Рік тому +3

    Man, this is so good. I'm sending this to my whole team tomorrow. For one, it is a great refresher and probably one of the best explanations and examples of SOLID I've seen. It an be tough to convey these ideas to teammates and this is a great refresher for those of us that think we know them. I tend to harp on things like formatting/style, SOLID principals, etc., but it makes such a huge difference in adding new things, finding/fixing bugs, and most importantly time to implement all those things.
    Great video and instant sub from me.

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

      Thanks Ben, I appreciate the feedback! :)

  • @eddysanoli
    @eddysanoli Рік тому +15

    Great video! Always a sucker for animations. Also, one very overlooked caveat of things like design patterns, is that you also need to know when to apply a pattern, since sometimes you are simply complicating things for the sake of it. Sometimes a simpler, more linear code structure is better.

    • @coderized
      @coderized  Рік тому +2

      Totally agree. I might cover patterns in more detail in an upcoming video and I'll be sure to explain this. Thanks for the comment!

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

      Great point

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

      @@coderized any tip for animations? I want to start a language teaching channel and struggle to move away from my whiteboard and ugly face, your videos are fire I would like to know how you do them. Thank you Sir

  • @etorty_dev
    @etorty_dev Рік тому +4

    "Remember that creation goes hand-in-hand with problems..." @9:44 Absolute truth. Excellent video @Coderized

  • @AlexanderTzalumen
    @AlexanderTzalumen Рік тому +3

    I was not expecting a reference to the square hole video

  • @mfahz4067
    @mfahz4067 9 місяців тому +5

    3:11 Grey must be proud of you

  • @dasboss9111
    @dasboss9111 Рік тому +18

    One of the best animated Videos I’ve ever witnessed. Absolutely stunned by your work. You put in a lot of effort, and it shows - and hopefully pays off for you. Keep it up 👍🏻

  • @ArthurKhazbs
    @ArthurKhazbs Рік тому +5

    You know what's really SOLID? Your attention to detail in all these animations. When I saw the check marks appearing in sync with you describing the corresponding SOLID principles (at 09:00), my jaw literally dropped.

  • @movidiu1160
    @movidiu1160 Рік тому +3

    This is now my gold standard for programming content, and you were right I did smile at the end!

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

    self taught programmer here and over the last year and many of these are the things I've been realizing as my code grows more complex and needed more maintenance
    really nice to see a guide listing it out explicitly! so i can better plan out my next project

  • @purewantfun
    @purewantfun Рік тому +59

    Maybe another point that ties into proper naming: using proper types. They serve both as documentation and for static analysis tools. This saves you so many debugging sessions where you get unexpected values, because your editor/compiler will scream at you if you get it wrong. It also provides immense benefits to the rest of the team as they are able to inspect the shape of the data that comes out of your functions/methods.

    • @coderized
      @coderized  Рік тому +14

      Types in general I totally agree with. Types make code way more robust and predictable. Types in names, I think is unnecessary - though I'm not sure if you meant that

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 Рік тому +3

      Hungarian notation? Just say no!

    • @johnsmith-ro2tw
      @johnsmith-ro2tw Рік тому

      types is an obvious one. I would add using something like jsdoc (or the equivalent for other languages). If the functions are poorly written/named, then at least you get hints what the guy before you tried to do as he will have put a little effort to explain it using plain sentences.

    • @purewantfun
      @purewantfun Рік тому +4

      @@coderized Definitely not in your variable names, wouldn't want to make refactoring the codebase impossible for the next dev that comes along 😅

    • @Firestar-rm8df
      @Firestar-rm8df Рік тому +3

      @@coderized I disagree on this point actually. In general the video was great and by n large you are pretty safe to apply these broadly, but I have and will continue to argue for types in names until analyzers like Visual Studio's Intellisense can quickly and accurately deduce the type for me. I find that it often makes errors in more complex function and data structures, or when dealing with multiple typedefs/alias, or when meta programming becomes too advanced. Sure if it's a function local and it's a 30 line function, leave the type off, ok. But if this is something you are going to be passing around, exposing in an api, overriding, aliasing, or something, PLEASE use a type. I do not want to have to manually jump through 30 headers(or what ever your language of choice uses to resuse code files) just to figure out that *age* is a string and not an integer. And in larger programs, I don't want to have to run them and reach that point in the debugger either. Depending on the system that isn't even practical. I think there is a strong case to be made to leave types in names at least most of the time. Yes sometimes you can omit them, but I am far more likely to waste an hour figuring out where something is actually defined to look up the type than I am to struggle for an hour with the readability of your code because you went overboard and stuck a type suffix on everything.

  • @Emeneil
    @Emeneil Рік тому +6

    Awesome video. One simple paradigm I like to keep in mind along with these things is that 'premature optimization is the root of all evil'. When something needs optimization, you'll notice, and that's when you tackle it. Before that point, you're almost always adding complexity for little benefit.

  • @yogeshsingla131
    @yogeshsingla131 Рік тому +3

    We want projects that get easier with time, NOT harder.
    Underrated line.

  • @royjanik1615
    @royjanik1615 10 місяців тому +1

    what a lovely video. i love how compassion is baked into the messaging, which is rare in dev videos.

  • @Trucmuch
    @Trucmuch Рік тому +2

    I loved the word "banana" flashing at the very end of the video to compel me to subscribe. Smart and discreet. 👍

  • @Dragonofshame
    @Dragonofshame Рік тому +8

    This is great, thanks. I get what you mean by these being guidelines and not really rules. I love the idea of making my code "cool" and designing it in a way that it's easily expandable, but I've come to realize that if I'm just doing a small project for college that needs less than 100 lines of code... Then there's no need to overcomplicate it by making it modular, or by writing it in a way that will never produce errors. If it does what it was meant to do and it's easy to understand then that's really all it needs lol

  • @ego-lay_atman-bay
    @ego-lay_atman-bay Рік тому +5

    I'm working on the largest project I've ever done, a python library for modding where's my water, and I've actually been doing some of these things already. I've actually been doing stuff in this project that I don't normally do, such as, splitting mostly everything into its own file, aka module, and I have found that it can be easier that way. I've also started using constants more, especially when I want to check if a value is the default value.

  • @stephenmcconnell7868
    @stephenmcconnell7868 Рік тому +3

    I had to smile while watching this video. I remember going to an interview and questions asked about EACH point you make. I messed up one of the terms in SOLID and they recommended a couple of good books that helped fill in the gaps. But this is a very good overview of what good coding techniques and practices should be. I have since retired from programming. The commute was around 1.5 hours each way and although I loved the company for which I worked, they didn’t encourage remote work. It’s too bad, because a couple of years after I retired, COVID hit and all development work was remote……. Oh well…. Timing is most always everything.

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

      I am curious at what age have you retired, if you don't mind me asking

  • @aryankaran1
    @aryankaran1 9 місяців тому +1

    last phrase was so good
    . anyone can write code that machine understands 👍🏻

  • @artemiygolden2853
    @artemiygolden2853 Рік тому +2

    Your presentation and visual style is so good!!

  • @matt566
    @matt566 9 місяців тому +3

    Can’t imagine using dependency inversion and making interfaces for everything for a code base under 50,000 lines

  • @dotterel
    @dotterel Рік тому +3

    I actually can't believe this is your first video on this page. It's one of the best I've seen on youtube! Great work, Coderized.

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

      Thank you! That's awesome encouragement 😊

  • @davidrajcher5222
    @davidrajcher5222 Рік тому +3

    This is a crazy level of production. Great job.

  • @CorvinuzXI
    @CorvinuzXI Рік тому +2

    i got hooked by the other video you made, never install locally. and now here i am, learning even im old and not a good developer. this video keeps reminds me what i need and should be focusing after creating tasks or project. you helped me a lot and thanks. more blessing and good luck with your future journey!

  • @abdulqadirabuharrus8709
    @abdulqadirabuharrus8709 2 місяці тому +1

    Like most viewers of this type of content, of which the quality presented here is impeccable and deserves all praise, I find it hard to recognize when to apply the Programming Patterns that have been taaght to us when working on my own projects.
    The SOLID principle is easy to recall as it 'makes sense' and the same goes for the good habits like adequate naming conventions, testing, and documentation but them dammned patterns rarely come organically to me and often I have to stumble upon the realization that I needed to implement pattern X to solve/build Y.
    Thanks for the stellar vid!

  • @nardokid
    @nardokid Рік тому +8

    Was hoping you had more videos since this one is so good. Looking forward to seeing more of your content in the future.

    • @coderized
      @coderized  Рік тому +3

      Thank you Chris, working on the next as we speak!

  • @johnrumide1195
    @johnrumide1195 Рік тому +5

    This is such high quality content, easily becoming one of my favorites to recommend to others and beginners.

  • @viavitaliya
    @viavitaliya Рік тому +8

    Happy to see you back with great stuff as always!

    • @coderized
      @coderized  Рік тому +2

      Good to be back! It was a while making this one and much more to come!

  • @jugzster
    @jugzster Рік тому +4

    The animation is lovely and impressive! I see your CGPGrey reference 🙂

  • @jpguitaristcomposer
    @jpguitaristcomposer 11 місяців тому

    This video single-handedly restored my love for coding and building things, thank you so much for this. :)

    • @coderized
      @coderized  11 місяців тому

      That's awesome! Thanks for the nice comment

  • @ryanspivey1819
    @ryanspivey1819 Рік тому +5

    Good content. This was a lot of stuff that I hadn't even considered before getting out of college, but I now consider in every single moment of every day in my career. I was expecting a clickbait from the title, but these are genuinely good tips that you don't hear every day. I don't think I ever fully understood the bit about dependency inversion until watching your video, I was just following a design pattern blindly.

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

      Happy I was able to help clarify some things for you! :)

  • @oscardasilva971
    @oscardasilva971 Рік тому +4

    Bro you are rising up the bars of what makes a good programming content

  • @martapfahl940
    @martapfahl940 Рік тому +2

    I don't know if it is your voice or the quality of your microphone but the overall quality of your audio and the whole video is stunning, thank you my friend!

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

    I just want to say, I can already see the quality of the video 16 seconds in, but the calmness and pace of your voice has just massively helped with my anxiety, thank you.

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

      And comments like this really help my insecurities. Thank you!

  • @CrazyWS
    @CrazyWS Рік тому +4

    I know nothing about coding other than the couple classes I've forgotten about in high school, but I still watched the video through. Very interesting and still think I understood the concepts

  • @carlmeyer96
    @carlmeyer96 Рік тому +12

    Dude just want to say these animations were fire! 🔥 made each concept so much easier to follow and understand 😁

  • @saadaamir4933
    @saadaamir4933 Рік тому +5

    Quality Audio, Quality Visuals and Informative content. Amazed by the efforts put in to create this video. Definitely deserves a Subscribe.

  • @IrvanFza
    @IrvanFza Рік тому +2

    This is one of the best videos about programming stuff I ever watch. I really love how you explain and animate things. The explanation is very clear and straightforward. The animation is very clean and smooth, making the explanation easily understood. I understand this very high-quality video requires very intense effort and time, but I wish you can make more videos like this. Thank you for sharing the knowledge!

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

      Thank you, this means a lot!

  • @ThijmenCodes
    @ThijmenCodes Рік тому +2

    Great video, thank you. Appreciate the quality of your animations, especially considering this is your only video. Nice!

  • @sethbrokalis9824
    @sethbrokalis9824 Рік тому +9

    I normally don’t comment on videos but I wanted to say this video was amazing! With the absurd quality, I was thinking the channel had at least 100k subs. If you keep it up, I’m sure you’ll be there in no time!

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

      Thanks so much! Means a lot :)

  • @iilugs
    @iilugs Рік тому +5

    Beautiful video! Concise and clear explanation of so many essential topics!
    Also, nice voice, smooth and descriptive animations.
    Looking forward to seeing this channel evolve!

  • @lucho14garfield
    @lucho14garfield Рік тому +6

    Amazing video! As a person that usually overthinks problems and suffers from a severe case of impostor's syndrome, this video is a breath of fresh air. It's clear, concise and gets to the point - exactly what I needed!
    Also, the production quality of this video is just stellar! Do you use After Effects?
    Keep up the amazing work! Rock on!

  • @Zoronoa01
    @Zoronoa01 Рік тому +2

    I was smiling when you said that it's worth it to see that smile :)
    I really appreciate your content
    Keep up the good work

  • @licokr
    @licokr 2 місяці тому

    How you visualize complex concepts is absolutely amazing. While watching this, I feel like I need to code more and see other's code more. Based on my experience, I need enough experience to understand something. One day, I read a popular book about software architecture and I somewhat saw his points but not coming to my mind. Still a lot to learn right in front of me, so excited 🥴 I will come back to your video in a couple of years and let's see what I will see. Thank you very much for making a great video!

  • @poochy661
    @poochy661 Рік тому +10

    Great animations and explanations, definitely important topics for new programmers to learn as these tips will help them from falling into many of the pitfalls they could otherwise fall into. You have gained a new subscriber, and I am looking forward to what else you will be coming out with!

  • @apolloapostolos5127
    @apolloapostolos5127 Рік тому +3

    I started implementing these last week as a complete noob 😁 I got discounted enough with my typos that I simplified as much into variables or designs I could change recursively in the script.
    .
    Change One and Multiply
    That was my approach.
    .
    I enjoyed this video. Both validating and provided me more perspective.

  • @eviehartman2895
    @eviehartman2895 Рік тому +4

    Nice CGPGrey reference there.

  • @Peter-898
    @Peter-898 6 місяців тому

    I really appreciate how this video describes concrete steps and characteristics of modular & decoupled code instead of paying lip service to the ideas like most things ive seen online do.

  • @bernhard7087
    @bernhard7087 6 місяців тому

    that chuckle at the outro line was gold!
    thank you for the video, I've been agonizing over my first coding project and I think I'll try again with this as a reference :)

  • @SkinnySteve
    @SkinnySteve Рік тому +7

    Wow, i didn't expect that much quality on a channel with only 170 subscribers, 171 now.

    • @coderized
      @coderized  Рік тому +2

      Thanks! I hope to make many more of similar quality - probably a bit shorter and more frequent in the future though! :)

    • @johnsausage
      @johnsausage Рік тому +2

      ehm.. 14.4K now 😃🥳🥳

    • @SkinnySteve
      @SkinnySteve Рік тому +2

      @@johnsausage wow! And half a million views, congrats @Coderized!

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

      Thank you both! As you can imagine I'm pretty stoked at the growth 😊

  • @ojovemdev
    @ojovemdev Рік тому +5

    Your video pretty much summarized everything I've been studying for the last couple of years or so, and STILL managed to make me understand everything in a fuller yet more simpler way, cheers man, your channel is bound to be successfull

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

      Awesome comment, thank you!

  • @victorportable3892
    @victorportable3892 Рік тому +3

    This is kind of my Software Engineering 2 class in a nutshell

  • @AimiYossa
    @AimiYossa 4 місяці тому +5

    4:47 That's right! It goes into the square hole!

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

    You've inspired me to write article on this, thanks man

  • @1996Pinocchio
    @1996Pinocchio Рік тому +2

    This video was very helpful. I would like to add 2 things I discovered during my study of computer science:
    1) There is nothing quite as permanent as a quick fix.
    2) The first 80% of creating code is writing code, and the remaining 80% of creating code is debugging it.

  • @NaturesTide
    @NaturesTide Рік тому +7

    You should really make more videos dude. I went to your main channel page to watch more and was disappointed when I didn't see more. I think you have a really relaxed way of talking and saying things, that coupled with your minimalistic video design style makes you fit into a profitable target niche. That target niche are people like myself that are trying to improve their coding, but at the same time have stressful jobs that keep them preoccupied. I watched your video after a long days work and found myself relaxed in an almost asmr sort of way, while at the same time learning something new. I hope to see more content from you in the future.

    • @coderized
      @coderized  Рік тому +3

      Thanks Nick, means a lot! Next video coming out next week hopefully and I'm really excited about it!

  • @AdrianTregoning
    @AdrianTregoning Рік тому +3

    09:46 - as a mechanical engineer since 2005 I cannot think of a single time when we were given enough time to design anything. Never ahead of schedule because the project engineers never gave enough time. Even when the design department gave estimations, as we do, the paper pushers above always slash the times anyway, setting the timelines on a path to failure. Maybe coding is different. I'm a self taught programmer on my second year now. Great video - thank you.

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

      Seriously. Management poisons every industry honestly. Good management is harder to find than good engineering

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

      @@HonsHon amen mate 🍻

  • @monsieuralexandergulbu3678
    @monsieuralexandergulbu3678 Рік тому +7

    4:57 not the square hole 😂

  • @MachineLearning-rw7jd
    @MachineLearning-rw7jd Рік тому +1

    I really like the open/closed principle! Now it seems clear how software works with backwards compatibility.

  • @NaviListen
    @NaviListen Рік тому +2

    I love that when you gave an example for Single Responsibility, you took apart a Util class. My Hell, the number of programmers I've worked with in my career who just stuff everything into a Util class is *too damn high*.

  • @zHqqrdz
    @zHqqrdz Рік тому +6

    As a senior lead dev who’s constantly trying to educate my coworkers to these principles and design patterns, I found this video to be one of the best overview on this subject. Thank you for this.

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

      Also a senior dev and I came here looking to get some pointers for improvement but mostly just got an excellent summary of the principles of code quality that I try to teach my team members through code and design reviews.

  • @tejasviroyal8977
    @tejasviroyal8977 Рік тому +4

    Excellent video! Concise, professional and handy for any developer. 💯
    I was aware of the "7 Deadly Programming Sins" covered here as you went through them, but having them so neatly packed in a Guidebook format is highly appreciated. 🙌
    Thanks a lot, subscribed.✌️

  • @this_is_japes7409
    @this_is_japes7409 9 місяців тому +13

    A lot of these good programmers tend to know instinctively but tend to find it difficult to put into words.

    • @StfuSiriusly
      @StfuSiriusly 8 місяців тому +1

      no one instinctively knows this. These are all learned behaviours. Also, any good programmer would be able to put this into words easily. If you are good at programming, then you are good at communication. Communication is a big part of being a good programmer.

  • @yeachanchoi9288
    @yeachanchoi9288 10 місяців тому +1

    The advice on time and speed reminds me of the common cognitive trap called "Fluency effect", which says that we tend to think the things that run smooth in our mind would actually be so fluent in reality. Success from others seem so easy, such as cooking, writing, or playing sports.

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

    the calmness of the narration makes the video more interesting. hope you can make more videos like this.

  • @pingusdingus99
    @pingusdingus99 Рік тому +5

    Did 11 minutes really pass me by? Great video! I'm amazed this is your first video on this channel it feels like you have a well defined style and I love it

  • @alexognyanov9929
    @alexognyanov9929 Рік тому +5

    he knew what he was doing in 05:08....

  • @Shelly-kx2wz
    @Shelly-kx2wz Рік тому +4

    everything about this was perfect, the pace, the animation, the narration. Just keep these videos coming. Also I would like request an in-depth video on patterns. ❣

  • @JustMaiyak
    @JustMaiyak Рік тому +2

    That quote at the end is one every programmer should know

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

    Bro the video is so well made, Animation is just too good! one of the best videos i ever watched you really make things simple to understand!

  • @ninjmaster5609
    @ninjmaster5609 Рік тому +3

    I love the subtle interne memes in this video

  • @Don_Giovanni
    @Don_Giovanni Рік тому +2

    Pretty _solid_ content. If I might add something, I feel like you didn't address the point that design patterns aren't supposed to be the base building blocks of software, but they aim to provide a solution for very specific problems, which is made clear when you read THE book written by the Gang of Four (or G.O.F. for short). Every pattern is structured in the same way: problem, solution and *consequences* of said solution, because, yes, there is a cost to applying a design pattern! In truth, the structure is a bit more nuanced than that, but the case still stands.
    So it's not about how many of the 20-odd patterns you've implemented, but how many problems were you able to solve how.

  • @ColePanike
    @ColePanike Рік тому +3

    The method of presentation here, the animation, the pace, and the vocal timbre all added up to make me feel calm, comfortable, and confident that I can do this. I think I'm in love! Lol. 😂
    I've got 12 years experience in industry now, and I've never really had trouble with quality, but instead with focus and decomposition of the problem into actionable steps. ADHD stuff.
    Could you maybe make a video on the process of transforming a user story into a series of technical tasks? I think many people would benefit.

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

      Hey Cole, thanks for the comment and suggestion - I'll definitely look into it :)

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

    The editing of the video, and your narrative voice are both very wholesome. It was a pleasant video to watch

  • @tomerlevi2640
    @tomerlevi2640 Рік тому +2

    I engoyed the video very much the animation is unique and i like your style
    keep on!
    subscribed.