Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Skill Up: A Software Developer's Guide to Life and Career

You're reading from   Skill Up: A Software Developer's Guide to Life and Career 65 steps to becoming a better developer

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher
ISBN-13 9781787287037
Length 302 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Jordan Hudgens Jordan Hudgens
Author Profile Icon Jordan Hudgens
Jordan Hudgens
Arrow right icon
View More author details
Toc

Table of Contents (5) Chapters Close

Preface I. Coder Skills FREE CHAPTER II. Freelancer Skills III. Career Skills Index

Chapter 53. Is Writing Bad Code Immoral for Developers?

In this chapter I'm going to discuss a slightly odd question: is writing bad code immoral? This leads to the concept of the importance of developing well-written code.

This may seem like a weird question to ask because the mindset of most developers is that code projects are neither moral or immoral, they're simply programming files that perform various functionalities. I would like to think that most developers take pride in their work and therefore want to write code that adheres to best practices. However, given schedule and budget constraints many projects devolve, with the top goal becoming to simply work and being completed as soon as humanly possible.

However, this mindset can lead to issues such as: missing edge cases for features and poorly organized codebases that are difficult to maintain. Regarding the question of is writing bad code immoral?, I heard a great story from one of my Computer Science professors...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime