To develop according to the KISS principle, you should ensure right from the start that the complexity of the program remains manageable. Programs that were initially simple thus become ever more complex, although this is not justified by the complexity of the task at hand. New functions together, new functions are simply added (usually using IFĬontrol structures) to old functions. Instead of creating new implementations for old and Programs are maintained for lengthy periods.This can be due to poor design or simply a rash, undisciplined programming style. Programs are too complex right from the start.There are plenty of bad examples of the KISS principle. The best solution to a problem is usually the one that is as simple, minimalist, and easy to understand as possible, while ensuring stability, understandability, and maintainability in addition to functional correctness. The preferred theory is the one that makes fewest assumptions to explain observations (see Wikipedia entry on the KISS principle).įollow the KISS principle, and limit the complexity of your programs as far as possible. The basic statement of the KISS principle is similar to Occam’s razor, which says that in science KISS is an acronym and can have any of the following meanings (the list is not exhaustive): The KISS principle says that you should always choose the simplest solution for a problem. ISSN 1936-2447.SAP NetWeaver AS ABAP Release 751, ©Copyright 2017 SAP AG. Robert, Christian George Casella (2013).ACM Transactions on Mathematical Software. "TestU01: A C Library for Empirical Testing of Random Number Generators". ^ L'Ecuyer, Pierre Simard, Richard (2007).Technical Report, Department of Statistics, Florida State University, Tallahassee, FL, USA. ^ Marsaglia, George Zaman, Arif (1993).It has a period of around 2 250 (around 10 75).
KISS KEEP IT SIMPLE GENERATOR
In 2009 Marsaglia presented a version based on 64-bit integers (appropriate for 64-bit processors) which combines a multiply-with-carry generator, a Xorshift generator and a linear congruential generator. It is 10–20% slower than the 1993 version but has a larger period 2 123 and passes all tests in TestU01. A newer version from 1999 is based on a linear congruential generator, a 3-shift linear feedback shift-register and two multiply-with-carry generators. It has a period 2 95, good speed and good statistical properties however, it fails the LinearComplexity test in the Crush and BigCrush tests of the TestU01 suite. The original 1993 generator is based on the combination of a linear congruential generator and of two linear feedback shift-register generators. KISS generators produce 32-bit or 64-bit random integers, from which random floating-point numbers can be constructed if desired. All KISS generators combine three or four independent random number generators with a view to improving the quality of randomness. Starting from 1998 Marsaglia posted on various newsgroups including sci.math,, and several versions of the generators. KISS ( Keep it Simple Stupid) is a family of pseudorandom number generators introduced by George Marsaglia. ( October 2016) ( Learn how and when to remove this template message) Please improve this by adding secondary or tertiary sources. This article relies too much on references to primary sources.