<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Programming Duck</title><description>Improve your programming</description><link>https://programmingduck.com</link><language>en-us</language><atom:link href="https://programmingduck.com/feed.xml" rel="self" type="application/rss+xml"/><item><title>CSS principles</title><link>https://programmingduck.com/articles/css</link><guid isPermaLink="true">https://programmingduck.com/articles/css</guid><description>The entrypoint article for CSS principles.</description><pubDate>Tue, 26 Dec 2023 17:14:51 GMT</pubDate><category>CSS</category></item><item><title>Where to apply spacing (such as margins) in CSS</title><link>https://programmingduck.com/articles/css-sibling-spacing</link><guid isPermaLink="true">https://programmingduck.com/articles/css-sibling-spacing</guid><description>Explore the intricacies of CSS spacing, from sibling margins to clean design, with practical examples.</description><pubDate>Tue, 26 Dec 2023 17:11:54 GMT</pubDate><category>CSS</category></item><item><title>Use cases for error codes</title><link>https://programmingduck.com/articles/error-codes</link><guid isPermaLink="true">https://programmingduck.com/articles/error-codes</guid><description>Find out the basics of error codes and their use cases.</description><pubDate>Thu, 23 Dec 2021 18:00:17 GMT</pubDate><category>Clean code</category></item><item><title>Checked exceptions</title><link>https://programmingduck.com/articles/checked-exceptions</link><guid isPermaLink="true">https://programmingduck.com/articles/checked-exceptions</guid><description>Checked exceptions propagate similar to error values. However, they&apos;re more disliked than error values. Find out why in this post.</description><pubDate>Wed, 22 Dec 2021 18:00:51 GMT</pubDate><category>Clean code</category></item><item><title>How to use error values in an exception-based language</title><link>https://programmingduck.com/articles/avoiding-exceptions</link><guid isPermaLink="true">https://programmingduck.com/articles/avoiding-exceptions</guid><description>If you&apos;re using error values, you probably want to avoid exceptions. But, how do you do that if you&apos;re using an exception-based language?</description><pubDate>Tue, 21 Dec 2021 18:00:29 GMT</pubDate><category>Clean code</category></item><item><title>Look before you leap vs easier to ask for forgiveness rather than permission</title><link>https://programmingduck.com/articles/lbyl-eafp</link><guid isPermaLink="true">https://programmingduck.com/articles/lbyl-eafp</guid><description>Conditionals vs try / catch. A long-standing debate in programming is LBYL vs EAFP. Which should you use and why?</description><pubDate>Sun, 28 Nov 2021 06:29:31 GMT</pubDate><category>Clean code</category></item><item><title>Functional programming</title><link>https://programmingduck.com/articles/functional-programming</link><guid isPermaLink="true">https://programmingduck.com/articles/functional-programming</guid><description>The entrypoint article for functional programming. We cover things like beginner guides to functional programming, tutorials and more functional programming concepts.</description><pubDate>Tue, 09 Nov 2021 17:54:13 GMT</pubDate><category>Functional programming</category></item><item><title>Making reducers more intuitive</title><link>https://programmingduck.com/articles/intuitive-reducers</link><guid isPermaLink="true">https://programmingduck.com/articles/intuitive-reducers</guid><description>Here&apos;s an intuitive way to think about reducers. This realisation made them much easier to use for me. Maybe it can do the same for you.</description><pubDate>Mon, 08 Nov 2021 13:00:26 GMT</pubDate><category>Functional programming</category></item><item><title>Clean code &amp; programming principles</title><link>https://programmingduck.com/articles/clean-code</link><guid isPermaLink="true">https://programmingduck.com/articles/clean-code</guid><description>The entrypoint article for clean code. We cover many essential topics such as programming principles, error handling, naming and much more.</description><pubDate>Mon, 26 Jul 2021 18:10:30 GMT</pubDate><category>Clean code</category></item><item><title>Errors &amp; error handling</title><link>https://programmingduck.com/articles/errors</link><guid isPermaLink="true">https://programmingduck.com/articles/errors</guid><description>The entrypoint article for error handling. We cover everything from how to respond to errors, to error catching best practices, and much more.</description><pubDate>Mon, 26 Jul 2021 18:08:05 GMT</pubDate><category>Clean code</category></item><item><title>Control flow for invalid actions – Conditionals, try/catch and Booleans</title><link>https://programmingduck.com/articles/control-flow-invalid-actions</link><guid isPermaLink="true">https://programmingduck.com/articles/control-flow-invalid-actions</guid><description>An important part of clean code is handling control flow. In this article, we&apos;ll examine actions that may fail and need a check first.</description><pubDate>Mon, 26 Jul 2021 18:07:50 GMT</pubDate><category>Clean code</category></item><item><title>Nulls and null checks – How to work safely with nulls in any codebase</title><link>https://programmingduck.com/articles/nulls</link><guid isPermaLink="true">https://programmingduck.com/articles/nulls</guid><description>Nulls and null checks have been a tricky problem in programming for decades. Thankfully, there are many solutions to make them easier to work with.</description><pubDate>Mon, 26 Jul 2021 18:06:54 GMT</pubDate><category>Clean code</category></item><item><title>Defensive &amp; offensive programming</title><link>https://programmingduck.com/articles/defensive-programming</link><guid isPermaLink="true">https://programmingduck.com/articles/defensive-programming</guid><description>Defensive programming helps with uptime and reliability. Offensive programming helps you find bugs. They&apos;re both extremely useful in software.</description><pubDate>Mon, 26 Jul 2021 18:05:13 GMT</pubDate><category>Clean code</category></item><item><title>Exceptions vs error values</title><link>https://programmingduck.com/articles/exceptions-error-values</link><guid isPermaLink="true">https://programmingduck.com/articles/exceptions-error-values</guid><description>Exceptions vs error values has been a debate in error handling for decades. In this article we&apos;ll examine the pros and cons of each.</description><pubDate>Mon, 26 Jul 2021 18:04:14 GMT</pubDate><category>Clean code</category></item><item><title>Best practices for error catching and handling</title><link>https://programmingduck.com/articles/error-catching-handling</link><guid isPermaLink="true">https://programmingduck.com/articles/error-catching-handling</guid><description>When catching and handling errors, you need to keep some best practices in mind. Some are essential for correct programs.</description><pubDate>Mon, 26 Jul 2021 18:03:10 GMT</pubDate><category>Clean code</category></item><item><title>Error recording – How to record errors in your application to debug later</title><link>https://programmingduck.com/articles/error-recording</link><guid isPermaLink="true">https://programmingduck.com/articles/error-recording</guid><description>When errors occur in production, you want to know about it. You need some way of recording them, so you can view them and debug them later.</description><pubDate>Mon, 26 Jul 2021 18:02:34 GMT</pubDate><category>Clean code</category></item><item><title>Errors and non-errors (terminology)</title><link>https://programmingduck.com/articles/error-meaning</link><guid isPermaLink="true">https://programmingduck.com/articles/error-meaning</guid><description>In the error handling series we mention the term &quot;error&quot; a lot. We mean it in the generic sense, not strictly for &quot;bugs&quot;. Read more for details.</description><pubDate>Mon, 26 Jul 2021 18:01:31 GMT</pubDate><category>Clean code</category></item><item><title>How to respond to errors – Crashing, ignoring, recovering and their use cases</title><link>https://programmingduck.com/articles/error-responses</link><guid isPermaLink="true">https://programmingduck.com/articles/error-responses</guid><description>What should a program should do when it encounters an error? It depends on the error, the program and the user experience.</description><pubDate>Mon, 26 Jul 2021 18:00:42 GMT</pubDate><category>Clean code</category></item><item><title>Naming (in code) – The ultimate guide and reference</title><link>https://programmingduck.com/articles/naming</link><guid isPermaLink="true">https://programmingduck.com/articles/naming</guid><description>This article is the complete guide and reference for naming in code. Learn how to write good names and about common naming conventions in code.</description><pubDate>Tue, 15 Jun 2021 18:00:27 GMT</pubDate><category>Clean code</category></item><item><title>Carousel slider tutorial with HTML, CSS and JavaScript</title><link>https://programmingduck.com/articles/javascript-carousel</link><guid isPermaLink="true">https://programmingduck.com/articles/javascript-carousel</guid><description>Here&apos;s how to make a simple carousel slider with HTML, CSS and JavaScript. We use good code practices, make it accessible and discuss testing.</description><pubDate>Thu, 27 May 2021 18:00:45 GMT</pubDate><category>Tutorials</category></item><item><title>Challenge – Function that only runs with no arguments (intermediate / advanced functional programming)</title><link>https://programmingduck.com/articles/challenge-act-when-no-arguments</link><guid isPermaLink="true">https://programmingduck.com/articles/challenge-act-when-no-arguments</guid><description>Here&apos;s an intermediate / advanced functional programming challenge that I was asked in an interview for a high-level position.</description><pubDate>Sun, 14 Mar 2021 18:00:29 GMT</pubDate><category>Functional programming</category></item><item><title>How to write clean code units (functions and methods)</title><link>https://programmingduck.com/articles/edge-code-units</link><guid isPermaLink="true">https://programmingduck.com/articles/edge-code-units</guid><description>Learn how to create small, specific code units (functions and methods) that are easy for you to work with.</description><pubDate>Fri, 12 Mar 2021 18:00:13 GMT</pubDate><category>Clean code</category></item><item><title>3 common software dangers costing companies trillions of dollars and how to prevent them in your company</title><link>https://programmingduck.com/articles/software-report</link><guid isPermaLink="true">https://programmingduck.com/articles/software-report</guid><description>Learn about the 3 common software dangers most companies face that can cost a serious amount of money and inefficiency.</description><pubDate>Tue, 09 Feb 2021 18:00:48 GMT</pubDate><category>Uncategorized</category></item><item><title>Unit testing for beginners / intermediates (4 hour video class)</title><link>https://programmingduck.com/articles/unit-testing-class</link><guid isPermaLink="true">https://programmingduck.com/articles/unit-testing-class</guid><description>Learn unit testing from beginner to intermediate (along with some advanced topics), with lots of practical examples testing different types of code.</description><pubDate>Tue, 12 Jan 2021 18:00:24 GMT</pubDate><category>Testing</category></item><item><title>Why you must know about web accessibility</title><link>https://programmingduck.com/articles/why-accessibility</link><guid isPermaLink="true">https://programmingduck.com/articles/why-accessibility</guid><description>Find out why you must know accessibility if your work ends up on the front end. It&apos;s important for jobs, it&apos;s a legal requirement, and more.</description><pubDate>Sun, 06 Dec 2020 18:00:56 GMT</pubDate><category>Accessibility</category></item><item><title>How to make accessible websites – The ultimate guide</title><link>https://programmingduck.com/articles/apply-accessibility</link><guid isPermaLink="true">https://programmingduck.com/articles/apply-accessibility</guid><description>Find out how to easily make accessible websites with little additional effort during your day-to-day work.</description><pubDate>Sun, 06 Dec 2020 18:00:37 GMT</pubDate><category>Accessibility</category></item><item><title>How to learn web accessibility</title><link>https://programmingduck.com/articles/learn-accessibility</link><guid isPermaLink="true">https://programmingduck.com/articles/learn-accessibility</guid><description>Find out how to learn accessibility quickly and easily.</description><pubDate>Sun, 06 Dec 2020 18:00:31 GMT</pubDate><category>Accessibility</category></item><item><title>Web accessibility – Everything you need to know</title><link>https://programmingduck.com/articles/accessibility</link><guid isPermaLink="true">https://programmingduck.com/articles/accessibility</guid><description>Find out everything you need to know about making accessible web content.</description><pubDate>Sun, 06 Dec 2020 18:00:01 GMT</pubDate><category>Accessibility</category></item><item><title>Use a separate branch for risky rebasing (version control tip)</title><link>https://programmingduck.com/articles/version-control-risky-rebasing-branch</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-risky-rebasing-branch</guid><description>A useful tip when performing risky rebases is to use another branch. That way, if anything goes wrong, your original branch isn&apos;t affected.</description><pubDate>Tue, 10 Nov 2020 18:00:41 GMT</pubDate><category>Version control</category></item><item><title>Commit messages – The ultimate guide</title><link>https://programmingduck.com/articles/version-control-commit-messages</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-commit-messages</guid><description>Learn everything you need to know about commit messages in version control. A good commit should be atomic, a logical unit of change, stable and more. Find out what that means along with many examples of real commits.</description><pubDate>Tue, 10 Nov 2020 18:00:30 GMT</pubDate><category>Version control</category></item><item><title>Use a separate branch for prototype code (version control tip)</title><link>https://programmingduck.com/articles/version-control-prototype-code-branch</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-prototype-code-branch</guid><description>A useful tip when trying out things with code, particularly &quot;prototype-like code&quot;, is to create a new branch for it. That way, you can prevent a few problems.</description><pubDate>Tue, 10 Nov 2020 18:00:29 GMT</pubDate><category>Version control</category></item><item><title>Configure default options (version control tip)</title><link>https://programmingduck.com/articles/version-control-configure-default-options</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-configure-default-options</guid><description>A useful thing to do with git and version control is to configure default options for commands you use often. This saves you time and makes your life easier.</description><pubDate>Tue, 10 Nov 2020 18:00:28 GMT</pubDate><category>Version control</category></item><item><title>How much version control do you need to know and use?</title><link>https://programmingduck.com/articles/version-control-usage-tiers</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-usage-tiers</guid><description>Find out how much version control knowledge jobs require and how much version control you need to use to gain the maximum benefits out of it.</description><pubDate>Tue, 10 Nov 2020 18:00:27 GMT</pubDate><category>Version control</category></item><item><title>Commit structure – The ultimate guide</title><link>https://programmingduck.com/articles/version-control-commit-structure</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-commit-structure</guid><description>Learn everything you need to know about structuring commits in version control. A good commit should be atomic, a logical unit of change, stable and more. Find out what that means along with many examples of real commits.</description><pubDate>Tue, 10 Nov 2020 18:00:18 GMT</pubDate><category>Version control</category></item><item><title>Branches (version control) – The ultimate guide</title><link>https://programmingduck.com/articles/version-control-branches</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-branches</guid><description>Learn everything you need to know about how to use branches in version control including branching strategies, branching workflows, merging strategies and more.</description><pubDate>Tue, 10 Nov 2020 18:00:08 GMT</pubDate><category>Version control</category></item><item><title>Benefits of version control</title><link>https://programmingduck.com/articles/version-control-benefits</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-benefits</guid><description>Learn the benefits of version control, including uncommon things that most developers don&apos;t know.</description><pubDate>Tue, 10 Nov 2020 18:00:02 GMT</pubDate><category>Version control</category></item><item><title>Commit early and often, push once (version control tip)</title><link>https://programmingduck.com/articles/version-control-commit-early-push-once</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control-commit-early-push-once</guid><description>A useful tip when using version control is to commit early and often, clean up history as often as you like and push only once.</description><pubDate>Tue, 10 Nov 2020 18:00:00 GMT</pubDate><category>Version control</category></item><item><title>URLs for websites, SEO and developers – The ultimate guide</title><link>https://programmingduck.com/articles/urls</link><guid isPermaLink="true">https://programmingduck.com/articles/urls</guid><description>URLs are important for everyone: Marketers, SEO experts, businesses and customers. Here&apos;s how you must write them to prevent issues later.</description><pubDate>Wed, 14 Oct 2020 18:05:08 GMT</pubDate><category>URLs</category></item><item><title>Separate domains vs subdomains vs paths</title><link>https://programmingduck.com/articles/domains-subdomains-paths</link><guid isPermaLink="true">https://programmingduck.com/articles/domains-subdomains-paths</guid><description>If you need to separate your website services or provide services to multiple countries (geotargeting), you&apos;ll need to use separate domains, subdomains or paths. Find out which is best.</description><pubDate>Wed, 14 Oct 2020 18:00:16 GMT</pubDate><category>URLs</category></item><item><title>Version control – Everything you need to know</title><link>https://programmingduck.com/articles/version-control</link><guid isPermaLink="true">https://programmingduck.com/articles/version-control</guid><description>Find out everything you need to know about version control and git.</description><pubDate>Thu, 03 Sep 2020 18:00:22 GMT</pubDate><category>Version control</category></item><item><title>Functional programming – The ultimate beginner’s guide</title><link>https://programmingduck.com/articles/functional-programming-introduction</link><guid isPermaLink="true">https://programmingduck.com/articles/functional-programming-introduction</guid><description>Learn the practical benefits of functional programming + learn the basics of the most important techniques, including monads.</description><pubDate>Thu, 30 Jul 2020 18:00:53 GMT</pubDate><category>Functional programming</category></item><item><title>Requirements of software</title><link>https://programmingduck.com/articles/requirements-of-software</link><guid isPermaLink="true">https://programmingduck.com/articles/requirements-of-software</guid><description>What are the requirements of software and why do they matter? Knowing them helps you write better code. It also helps you apply programming principles better.</description><pubDate>Thu, 23 Jul 2020 18:00:13 GMT</pubDate><category>Clean code</category></item><item><title>Clean code &amp; programming principles – The ultimate beginner’s guide</title><link>https://programmingduck.com/articles/programming-principles-introduction</link><guid isPermaLink="true">https://programmingduck.com/articles/programming-principles-introduction</guid><description>Programming principles are necessary. Applying them properly helps you create good software. This article is a thorough introduction to programming principles for beginners.</description><pubDate>Thu, 16 Jul 2020 18:00:38 GMT</pubDate><category>Clean code</category></item><item><title>Who should write end to end tests? Developers, QA or both</title><link>https://programmingduck.com/articles/e2e-tests-developers-qa</link><guid isPermaLink="true">https://programmingduck.com/articles/e2e-tests-developers-qa</guid><description>Is it QA&apos;s responsibility to write end to end tests, or should developers write end to end tests instead?</description><pubDate>Mon, 20 Apr 2020 18:00:58 GMT</pubDate><category>Testing</category></item><item><title>How to learn application security</title><link>https://programmingduck.com/articles/learn-application-security</link><guid isPermaLink="true">https://programmingduck.com/articles/learn-application-security</guid><description>Every developer needs to know the basics of application security. Here are the best ways and the best resources to learn from.</description><pubDate>Mon, 06 Apr 2020 18:00:55 GMT</pubDate><category>Security</category></item></channel></rss>