It is easier to test a simple system than a complex one.įinally, we should strive to reduce complexity as much as we can, make our coding process very transparent, efficient and secure.įor me, KISS brings to mind and indestructible glass box, where all the processes can be clearly seen but is also very secure. Simpler processes allow for greater efficiency in automated testing. The KISS principle facilitates continuity when needed and gives room for other people to understand the process. But when the KISS principle is applied it tackles that issue. One major challenge Developers face is working on an existing code base. Why is the KISS principle important in programming? Programmers often take refuge in an understandable, but disastrous, inclination towards complexity and ingenuity in their work. We should try to reduce complexity, while maintaining an efficient system. Delete instances, methods or redundant processes within the code base that are not in use.Avoid global states and behaviors like as much as you can.Ensure your classes has a single responsibility.Write comments within your method where necessary.Ensure your method names translates to the purpose of that method.Ensure your variable names describes the variable it holds properly.In the programming context, there are a few points to note whenever we want to reduce complexity. When building a simple Artificial intelligent system, you may not necessarily need to create a machine learning model, if an If Statement can do the job efficiently. The KISS principle can also be applied in Artificial Intelligence and Machine Learning. If you’re building a product that moves an object from point A to point B, then do that as efficiently as possible, while having simplicity at the back of your mind. In the concept of KISS, we neither want just less nor more, we simply wish to have only as much as is required. Simple in this context doesn’t necessarily mean easy, It simply means producing the same results or a better result with less effort or complexity. KISS is an important term in programming because it puts in your subconscious that every process you’re creating should be as simple as possible and also equally as efficient. I don't like to use the word Stupid because I know my readers aren't stupid, that’s why I choose to translate it to Keep It Super Simple.□ It takes some thinking about but in the end it can be quite elegant.KISS is an acronym which means Keep It Simple Stupid. It is a bit like trying to draw a cat in one stroke. But if you keep going, and live with the problem and peel more layers of the onion off, you can sometimes arrive at some very elegant and simple solutions.” "When you first start off trying to solve a problem, the first solutions you come up with are very complex, and most people stop there. For example he hated presentations when in his view what was being said could have been summarised on one page.Ī quote I particularly like from Jobs is: In the book Segall tells many stories of how Steve Jobs was driven mad by his desire for simplicity. Time spent with Jobs led Ken Segall to publish "Insanely Simple: The Obsession That Drives Apple's success” in 2012. Steve Jobs was a great one for simplifying. Ken Segall worked as creative director for an agency employed by Steve Jobs at Apple. The theme of simplicity has been picked up by Ken Segall. Small organisations are more focused, simpler and more efficient. Large corporations become behemoths, unwieldy, complicated and inefficient. His book by that title was published in 1973 and in it he argued that production from local resources for local needs is the most rational way of economic life. Following on from Johnson, the economist, Ernst Schumacher, postulated that small is beautiful.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |