the files are files now
opened this project after like a week away and genuinely could not find anything. one style.css, one script.js, both hundreds of lines of everything everywhere. i wrote every line of it and i still had to ctrl+f to find the clock. it was a junk drawer with a cat on top.
so this whole session was cleaning. no new features, nothing shiny, just four hours of moving code around like a little file gremlin.
what got split
styles:
- one file for the top bar
- one for windows
- one for the desktop
- one per app
same deal for the js, the clock, the dragging, the window stacking, the icons all live in their own files now. the two games moved into anapps/folder so catnip stops rubbing up against the core window code (it’s a cat. it rubs on things.)
the one smart thing
the tokens file from last time made this way less painful than it deserved to be, since all the colors were already in one place, nothing broke visually while i shuffled everything. past me did one 1 smart thing and present me is grateful.
weirdest part is opening a file and already knowing what’s in it before it loads. revolutionary technology.🤯
next time
- github pages: this thing needs a real url so it stops living exclusively on my laptop
the cat remains. the cat is eternal. the cat’s code is just alphabetized now.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.