Skip to content

Instantly share code, notes, and snippets.

@akovantsev
Created June 28, 2025 09:32
Show Gist options
  • Save akovantsev/2faa14cdcd686cc30d5ed8346fe7d2ee to your computer and use it in GitHub Desktop.
Save akovantsev/2faa14cdcd686cc30d5ed8346fe7d2ee to your computer and use it in GitHub Desktop.
stupid shit i do because my ide/language/vcs/tools suck
use .txt instead of .md to avoid adding <br> manually where i want linebreak.
use spaces to align columns because ide can't align across several expressions
(defn foo [x])
(defn quux [x])
use commas to align columns because ide's autoformatter removes spaces manually added to funky locations.
(defn foo, [x])
(defn quux [x])
use abbreviated var names, or names with extra chars to align columns.
(let [x_ 1]
yy 2])
dont use "format entire file" because it will destroy manual formatting elsewhere.
organize functions in files because because apparently this is what namespace is.
move functions i dont need to touch within file, because lang does not support hoisting.
move functions across files thus breaking public api, because lang does not support circular dependencies.
review git diffs full of moved functions because lang does not support hoisting.
review git diffs full of formatting changes affecting none of functionality.
missing those 2 changes to functionality because of 100s of lines of changes to formatting.
don't use proper/faster control flow structures because I need to dispatch on bunch of strings,
and since I don't want any typos - I've put em in vars so compiler and ide would help with that.
but now it's a runtime dynamic dispatch 🤡
(case x "foo" ...)
vs
(def foo "foo")
(codp x = foo ...)
rename things manually sometimes because renaming is for some reason bundled with autoforamtting
which destroys manual formatting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment