---
title: "Discussion on \"Defensive & offensive programming\" | Hashnode"
description: "Discussion on \"Defensive & offensive programming\". Defensive programming helps with uptime and reliability. Offensive programming helps you find bugs. They're both extremely useful in software."
url: "https://hashnode.com/posts/defensive-programming/61e41a6f9f8415199ccad7b1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Defensive & offensive programming](https://sargalias.hashnode.dev/defensive-programming?utm_source=hashnode&utm_medium=feed)

Defensive programming helps with uptime and reliability. Offensive programming helps you find bugs. They're both extremely useful in software.

Jan 16, 2022 · 15 min read · sargalias.hashnode.dev  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#error-handling](https://hashnode.com/tag/error-handling)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Spyros Argalias](https://hashnode.com/@sargalias)

@sargalias

  
[View profile](https://hashnode.com/@sargalias)

I love programming

Front end developer specialising in JavaScript and React. Experienced in all aspects of modern front end development. Passionate about making accessible, secure and performant software. Experienced trainer and lead.

## Responses 1

Markdown supported · ⌘↵ to post

[Basharath](https://hashnode.com/@basharath)

[Jan 18, 2022](https://hashnode.com/posts/defensive-programming/61e41a6f9f8415199ccad7b1/comment/61e65307be5d7633af87caeb)

So nicely explained. Glad to read this 😊

[Spyros Argalias](https://hashnode.com/@sargalias)

[Jan 18, 2022](https://hashnode.com/posts/defensive-programming/61e41a6f9f8415199ccad7b1/comment/61e65307be5d7633af87caeb#reply-61e6752af6d40b3391ad6fb9)

Thank you :)
