When I write code I always keep in mind that there is a 100% chance that I will need to revisit it again in the future. In the same way as creating a blog, when you write code, you have to structure your thoughts in a way that other people will understand and will be able to follow logically. In both cases, you have to research and decide what you want to write and what you want your writing to achieve. But if the code isn’t clean, it can bring a development organisation to its knees". Robert’s perspective here gives you an idea of the role clean code can play in making or breaking a project.įor me, writing code is a lot like writing a blog. The author, industry expert, Robert C Martin suggests that "Even bad code can function. One of the best handbooks I have read on this topic is the aptly named Clean Code. So let's start with why writing clean code is so important. We'll explain why it's important to write code in a way that anybody can understand it first-time. In this post, we go back to basics with a guide to writing clean code.
#Screeps global variable how to
In part 1 we explored how to create a custom button and rest endpoint on your Jira user interface. Welcome to the second post in the Gotta Script-em All blog series where we explore the capabilities of Jira through a step-by-step guide to creating seamless integration links between Jira and other tools.