How To Code Well

How To Code Well

By Peter FisherTechnology
Download on the App Store

How To Code Well episodes

  • 158 - 5 Software Development Misconceptions

    Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-supplies

    Other ways to support the people of Ukraine  https://supportukrainenow.org

    I actually have 7 Software Development misconceptions that I want to debunk

    1. You have to code every day to get better at it
    2. Women cannot code
    3. Managers are sellouts who can’t code
    4. You can’t get into this industry when your old
    5. Testing is only for developers who have time to test
    6. The fastest coder is the best coder
    7. More people working on a project means that the project will be done faster
    8. Please let me know if you agree, disagree or if you have others https://howtocodewell.fm/contact

      My web development courses

      ➡️ Learn How to build a JavaScript Tip Calculator 

      ➡️ Learn JavaScript arrays

      ➡️ Learn PHP arrays

      ➡️ Learn Python

      ✉️ Get my weekly newsletter

      ⏰ My current live coding schedule (Times are BST)

      Thursdays 20:00 = Live Podcast YouTube

      Sundays 14:30 - Live coding on Twitch

      34 min
    9. 157 - Remote working is not a one size fits all perk

      Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-supplies

      Other ways to support the people of Ukraine  https://supportukrainenow.org

      Change log

      • PHP login course is has been tagged at v1.0.0
      • Most of the SQL for PHP registration course is done
      • Cypress tests are now running in the GitLab pipeline by they are very slow
      • Remote working is not a one size fits all perk

        In todays show I am talking about remote working and why its not a right fit for everyone in software development.


        If you're a Junior Developer and you've started in the industry as a remote worker then please get in touch and let me know your experiances.
        https://howtocodewell.fm/contact

        My web development courses

        ➡️ Learn How to build a JavaScript Tip Calculator 

        ➡️ Learn JavaScript arrays

        ➡️ Learn PHP arrays

        ➡️ Learn Python

        ✉️ Get my weekly newsletter

        ⏰ My current live coding schedule (Times are BST)

        Thursdays 20:00 = Live Podcast YouTube

        Sundays 14:30 - Live coding on Twitch

        27 min
      • 156 - You don't have to test your code all of the time

        Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-supplies

        Other ways to support the people of Ukraine  https://supportukrainenow.org

        Change log

        Due to the traveling we didn’t get to do the Twitch Live stream on Sunday so I’m hoping to finish the PHP login course off this Sunday (15th)

        On Tuesdays (12th)  YouTube live stream we continued building the proof of concept for the PHP registration course. Someone in the chat spotted that I wasn’t testing the code in PHPUnit, this raised a question about when to test the code. The code will certainly be tested but at this stage I’m just building a proof of concept and I’m literally throwing code at the IDE to see what sticks and to get a feel for the flow of the application.

        You don't have to test your code all of the time

        I don't believe you need to test your code all of time.  Let me explain what I mean and if you disagree then please let me know at https://howtocodewell.fm/contact

        My web development courses

        ➡️ Learn How to build a JavaScript Tip Calculator 

        ➡️ Learn JavaScript arrays

        ➡️ Learn PHP arrays

        ➡️ Learn Python

        ✉️ Get my weekly newsletter

        ⏰ My current live coding schedule (Times are BST)

        Thursdays 20:00 = Live Podcast YouTube

        Sundays 14:30 - Live coding on Twitch

        32 min
      • 155 - Monorepo experiment

        Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-supplies

        Other ways to support the people of Ukraine  https://supportukrainenow.org

        Changelog

        - This is another pre recorded show as I am traveling over the next few days.

        - On Mondays Twitch stream we covered lessons 6, 7 and 8 of the PHP login course.  I am planning to finish lessons 9 and 10 next Sunday.


        - On Tuesdays YouTube live stream we started putting up the scaffolding for the PHP registration course.This was quite a fun and productive live stream as I was looking after both dogs whilst planning the PHP architecture.  I’ve decided to do everything in OOP so we are building a mini PHP framework which handles database interactions.


        I’ve been playing with a Monorepo

        What is a Monorepo

        • A single code repository for all projects
        • Users of the repository have access to all the code
        • A single place to commit, merge and track code changes
        • In todays show I will explain why I've stared using a Monorepo and my predictions on the experiment.

          My web development courses

          ➡️ Learn How to build a JavaScript Tip Calculator 

          ➡️ Learn JavaScript arrays

          ➡️ Learn PHP arrays

          ➡️ Learn Python

          ✉️ Get my weekly newsletter

          ⏰ My current live coding schedule (Times are BST)

          Thursdays 20:00 = Live Podcast YouTube

          Sundays 14:30 - Live coding on Twitch

          35 min
        • 154 - 10 Tips for Continual Integration

          Changelog

          • Speaking at PHP UG MN on Thursday so this is not a live podcast
          • On Sundays Twitch stream we re-built the first 5 lessons of the PHP login course. I’m planning to re-build the last four lessons on Monday on Twitch
          • On Tuesdays YouTube live stream we started planning the new PHP registration course.
          • Lots of experimenting with GitLab
          • 10 tips for Continual Integration

            1. CI should take no more than 10 minutes
            2. Reverting the changes should take 10 minutes
            3. Use TDD if possible
            4. Keep commits simple and small
            5. Monitor the pipeline
            6. Don’t leave broken builds
            7. Run the pipeline locally first
            8. Keep your branches up to date
            9. Failures should be addressed immediately
            10. Don’t confuse CI with CD
            11. Join the show next week on YouTube at 20:00 on Thursday. Please see Twitter @howToCodeWell for schedule updates

              42 min
            12. 153 - Self Hosted Vs Cloud Services

              Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-supplies

              Other ways to support the people of Ukraine  https://supportukrainenow.org

              ------ .  

              Change log 

              • We’ve finally finished the 2nd pass of the PHP login course documentation. I will be doing a final run through on Sundays Twitch stream.
              • Next course starts next Tuesday
              • I won’t be doing a podcast next Thursday as I am giving a virtual talk to PHPUGMRN Join the meetup here
              • Watch the show on YouTube


                Join the show next week on YouTube at 20:00 on Thursday. Please see Twitter @howToCodeWell for schedule updates

                42 min
              • 152 - Testing Testing

                Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-supplies 

                Other ways to support the people of Ukraine  https://supportukrainenow.org

                Watch the show on YouTube

                Changelog

                • Yesterday I gave a talk at PHP Oxford
                • I will be speaking at PHPUGMRN in April
                • On Tuesday we updated the documentation for lesson 9 of the PHP Login Course
                • I'm still tired :)
                • This is the link to the PHP OOP Course

                  1 hr 5 min
                • 151 - What are Syntax Errors

                  Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-supplies 

                  Other ways to support the people of Ukraine  https://supportukrainenow.org

                  Watch the show on YouTube

                  Changelog

                  • Lots of Cypress E2E acceptance tests added to the howtocodewell.net CMS. I have a handful left to write which will cover the creation and publication of a free and paid course.
                  • On Tuesday we covered lesson 8 of Login course documentation. So next week we move onto lesson 9 which focuses on PHP sessions
                  • As I’ve been testing with Cypress I have also been thinking about post launch features. 
                  • Todays topic is on Syntax Errors

                    A Syntax error is an error that occurs in a program when the application is being run or complied. These errors are like little gatekeepers that prevent the code from executing further.

                    43 min
                  • 150 - What is Syntax?

                    Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-supplies 

                    Other ways to support the people of Ukraine  https://supportukrainenow.org

                    Change log

                    • Apologise for not doing a podcast last week. I was giving a talk to the PHPBenelux  user group in Belgium.
                    • My next talk with be a PHP Oxford on the 30th of March. The talk is Code with Confidence using PHPStan
                    • On Tuesday evening I streamed on YouTube lesson 7 of the PHP login course
                    • The next lesson will be streamed next Tuesday and that will include the nullish coalescing operation, ternary statement and other PHP goodies.
                    • Todays topic is on Syntax

                      25 min
                    • 149 - Sugar that syntax

                      How to support Ukraine https://supportukrainenow.org/  

                      Change log 

                      • I’m working back in the land of legacy.  PHP 5.6 
                      • Goose (My 2nd English Springer Spaniel) is now 9 weeks old and has razor teeth.  
                      • I’ve been working on using Vagrant, Docker, Parallels and Ansible to create a test lab for HTCW 
                      • We reviewed the documentation for tutorial 5 and 6 of the PHP login course  on Tuesdays live coding stream 
                      • I am talking at PHP North West Drupal User Group NWDUG next Tuesday at 7PM so I won’t be streaming on YouTube on Tuesday
                      • What is Syntax Sugar 

                        This is a term used to describe code that is meant to be more readable and helpful to humans.  

                        • It’s sometimes called Candygramming
                        • Can shorten code to one liners which can be helpful and easier to read 
                        • Can be difficult to change and maintain in the future 
                        • Can lead to hidden magic features that are used in the language eg _get and _set 
                        • Is sometime perceived as a lazy way to write code 
                        • Reduces the syntax needed to perform an operation 
                        • If done badly then it can lead to over complication, bad abstraction and even worse code readability then before
                        • 34 min

                        About How To Code Well

                        From the publisher's feed

                        Web development discussions and interviews from Peter Fisher. Covering JavaScript, Linux, Docker, PHP, Python, MYSQL, HTML and more