#dev 2026-06-16

2026-06-16 UTC
jeremycherfas, grufwub, barnaby, cotsuka, barnabywalters, GuestZero, [jeremycherfas], iscarlosmolero, ZodiacalComet, lavandula, ax562, [schmarty] and smlckz joined the channel
#
WinnerWind
im looking at the code for my SSG's transformers (decides which files stay based on their content and can modify the content of the entire output similarly) and i named a class "Content". This class creates an object for each file. Now, here's the funny bit. Content is also what i call the raw text of the source files
#
WinnerWind
i look at my own code and i go "WHY?!"
#
WinnerWind
writing documentation for this will be very amusing
cotsuka joined the channel
#
[snarfed]
naming is hard
#
[snarfed]
if you regret a name, change it ASAP if you can, it only gets harder over time
#
WinnerWind
i will, i dont know what to name it though
#
ZodiacalComet
maybe lean into naming it "file"-something? since the first "Content" seems to relate to that. FileLoader?
#
WinnerWind
well this class doesn't really handle loading files. it just contains data about the files, and then the content. another class actually handles the loading (because loading is GOD complicated)
#
WinnerWind
I'll name it FileObject i guess, seems okay enough to me
cotsuka, L1, L3 and [KevinMarks] joined the channel
cotsuka joined the channel
#
[tantek]
^ lol that's one for FrESH 😂 [artlung]
[mikemai2awesom] joined the channel
#
[mikemai2awesom]
hahaha i made this while back when i learned that. https://codepen.io/mikemai2awesome/pen/dPoLZwO/ce643ea8713c3672dc637fcd8d9d5e4c
#
Loqi
ahahahaha
[mikemai2awesom] joined the channel
#
[artlung]
Small chunks of code that do something fun or goofy are the best. In any computational context.
#
[artlung]
`20 GOTO 10`
Salt and cotsuka joined the channel
#
[capjamesg]
Haha wow!
barnaby, cotsuka, barnabywalters, tomas1, Xe and ax562 joined the channel