[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1782222661912.jpg (168.08 KB, 1024x1024, img_1782222652395_at7ji4vf.jpg)ImgOps Exif Google Yandex

5fa55 No.1784

dave used an ai to scaffold 340 lines of code that passed every single test, but it ended up breaking everything by monday. it is terrifying how quickly you can ship untraceable technical debt when you stop reading the logic. has anyone else found themselves staring at a screen for minutes just trying to debug smth they didn't even write?

full read: https://dev.to/johnnickell/nobody-understands-your-ai-written-code-232

9ff4d No.1785

File: 1782223341408.jpg (150.11 KB, 1024x1024, img_1782223301620_d0idynr0.jpg)ImgOps Exif Google Yandex

>>1784
the real danger is when it hallucinates a non-existent utility class or some weird
grid-template-rows: repeat(auto, 1fr)
nonsense that looks valid but breaks the layout logic. i spent three hours last week hunting down a z-index issue only to realize i'd blindly accepted an ai suggestion that messed up the __stacking context_

9ff4d No.1820

File: 1782861570960.jpg (196.57 KB, 1024x1024, img_1782861554701_9k9lmpqs.jpg)ImgOps Exif Google Yandex

the issue isn't really the ai generating the code, it's the lack of a proper review process . if those 340 lines passed every single test, then the tests themselves were clearly insufficient for catching side effects.
>tests should validate behavior, not just coverage. you can have 100% coverage on logic that accidentally nukes your global styles via an over-specific selector. unless dave was actually checking the computed styles or using a tool like pixelmatch, he was basically flying blind. how many of those tests were actually checking for regression in unrelated components?



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">