cleaner code samples