Programming Recommendations: Revision history

From Master of Neuroscience Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

17 October 2025

14 October 2025

  • curprev 16:0216:02, 14 October 2025 Davrot talk contribs 3,543 bytes +3,543 Created page with " == The goal == We want to improve the quality of the code. Questions to [mailto:davrot@uni-bremen.de David Rotermund] = The recommendations = * Comparisons to singletons like None should always be done with is or is not, never the equality operators. *Use is not operator rather than not … is. While both expressions are functionally identical, the former is more readable and preferred: <syntaxhighlight lang="python"># Correct: if foo is not None:</syntaxhighlight>..." Tag: Visual edit