The importance of consistency in your Python code

Posted by bob on Dec 28, 2019 10:15 AM EDT
Opensource.com
Mail this story
Print this story

The principle of least surprise is a guideline when designing user interfaces. It says that when the user performs an action, the program should do whatever would surprise the user the least. This is for the same reason kids love reading the same book over and over again: there is nothing more comforting to people than the ability to predict and have those predictions come true. read more

Full Story

  Nav
» Read more about: Groups: Python; Story Type: News Story

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.