{
"path": "/posts/2023/on-failure",
"site": "at://did:plc:mracrip6qu3vw46nbewg44sm/site.standard.publication/self",
"tags": [
"software",
"failure"
],
"$type": "site.standard.document",
"title": "Embracing Failure in Software Development",
"updatedAt": "2023-08-31T20:09:00.000Z",
"description": "Exploring the Importance of Embracing Failure in Software Development and the Value of Learning from Mistakes",
"publishedAt": "2023-08-31T20:09:00.000Z",
"textContent": "To write software is to experience constant failure until you get a success.\nWhen you start learning to write code, very little works, especially on your first try.\nYou make a lot of mistakes.\nMaybe you copied example code to get started, then modify it to try and do something new.\nReading errors to help you understand your mistakes is the only way forward.\nYou can read documentation, search the web or chat with a language model to try and work through the problem, but it is inevitable that you will make mistakes when writing software.\n\nWe're fortunate that the feedback loop to writing, executing and viewing the result of running software has been reduced significantly since its origins.\nWhen software used to be written on punch cards, developers used to painstakingly encode their instructions onto cards that would be fed into the system and run, often overnight.\nThe next day, they could come and inspect their results.\nThere is no doubt that incorrect instructions were written, and entire days lost due to this long feedback loop.\nToday, the speed of iteration and, more importantly, the speed of learning is much faster.\n\nIf I could give any advice to someone learning to code today, it would be to treat every failure as a learning opportunity and write short notes to summarize what you learned when you get something working.\nThis practice helps you remember how far you have come, especially on days where it feels like nothing is going right.\nIf you are new, keep in mind that even experienced developers make mistakes all day long.",
"canonicalUrl": "https://www.danielcorin.com/posts/2023/on-failure"
}