From 2c8af81586db3d715853d7894625683c0ae8153d Mon Sep 17 00:00:00 2001 From: mjfernez Date: Mon, 22 Jul 2024 23:46:12 -0400 Subject: Make pandoc use main.css --- thoughts/syntax/random-python-idiosyncrasies.html | 179 +++------------------- 1 file changed, 25 insertions(+), 154 deletions(-) (limited to 'thoughts/syntax/random-python-idiosyncrasies.html') diff --git a/thoughts/syntax/random-python-idiosyncrasies.html b/thoughts/syntax/random-python-idiosyncrasies.html index 5c6ecef..77d586c 100644 --- a/thoughts/syntax/random-python-idiosyncrasies.html +++ b/thoughts/syntax/random-python-idiosyncrasies.html @@ -6,154 +6,24 @@ random-python-idiosyncrasies + Contents -Coding Style Guide +Coding +Style Guide -1) +1) Strings are double-quoted. Keys and chars are single-quoted. -2) Long strings belong -in parentheses -3) +2) Long strings belong in +parentheses +3) Tabs are four spaces and spaces are ALWAYS preferred to tabs -4) +4) Always add spaces between arithmetic, but never for brackets -5) EVERYTHING should be +5) EVERYTHING should be snake_case -6) +6) If it's over 100 lines, you probably need a new file (and a class) @@ -277,7 +148,7 @@ avoid escapes, really)
quoted_string = ( '"You miss 100% of the shots you don't take - Wayne Gretsky"' ' - Michael Scott' -)
That brings me to my next point.