- YAGNI: Don't build it until you need it.
- DRY: Extract patterns after second duplication, not before.
- Fail Fast: Explicit errors beat silent failures.
- Simple First: Write the obvious solution, optimize only if needed.
- Delete Aggressively: Less code = fewer bugs.
- Semantic Naming: Always name variables, parameters, and API endpoints with verbose, self-documenting names that optimize for comprehension by both humans and LLMs, not brevity (e.g.,
waitUntilObjectIsSaved = truevswait = true). - Naming the app in identifiers: spell it out as
Batterby/batterbyin code — variables, constants, config values, storage keys. The shortbtb/BTB_form is only for identifiers that are also read outside this codebase and benefit from being terse: DOM ids and classes in the browser extension, Blender object prefixes, and generated filenames.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://codepen.io/Premisedata/collab/d12f89c524d6945a72de94f28651699c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const profileMiddleware = _ => { | |
| console.log('%cINSTALLED profileMiddleware', 'color:magenta'); | |
| return next => action => { | |
| if (typeof action.then === 'function') { | |
| return next(action); | |
| } | |
| // eslint-disable-next-line no-console | |
| console.group('dispatch ' + action.type); | |
| console.time(action.type); | |
| const result = next(action); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Tools 1 21mm socket 1 19mm socket 1 17mm socket 1 35mm socket 1 10mm hex head socket BFH (big effing hammer) Also a rubber mallet is a plus...or just hit the old axle with the big one as it's coming out anyways. 1 short prybar (12 inches) 1 long prybar (36 inches)
- Southern Style Speed - sliders, bumpers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| query RootQueryType { | |
| recentConversations { | |
| id | |
| ...F2 | |
| } | |
| } | |
| fragment F0 on Conversation { | |
| id | |
| unreadCount |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| profile { | |
| id | |
| name | |
| } | |
| lines { | |
| id | |
| number |
NewerOlder