3 ms·
Really like the looks of it, but minifying the code to achieve the “400 lines” marketing gimmick is a huge turn-off. It’s also a security nightmare, and ensure
by ricardobeat 6mo ago
Really like the looks of it, but minifying the code to achieve the “400 lines” marketing gimmick is a huge turn-off.
It’s also a security nightmare, and ensures it remains 100% vibe coded. Would rather have a readable source with an honest line count.
- sudb 6mo agoI think it's fine that it's minified, code-golf style, but yes I agree that this would be much more convincing and useful with an unminified source.
- cachius 6mo agoIsn’t unwrapping and commenting just one prompt away?
- StableAlkyne 6mo agoAssuming the agent doesn't forget or misinterpret anything. It would be much better to just have a deterministic minification script.
- malicka 6mo ago… no, you shouldn’t use AI for simple reformatting of code without the newlines. We have syntax parsers and reformatters for this. Use them, then put that into the LLM for commenting, if you really want to.
- nahimn 6mo agoCaught by surprise by the people who want to read the code -- and thank you for the great ideas. Slapped together an 'unminified version' that has been ran against the test suite. Hopefully has more educational value https://github.com/NahimNasser/pu/blob/main/pu-unminified.sh https://github.com/NahimNasser/pu/blob/main/pu-unminified.sh
- petcat 6mo agoI'm not even sure why it stopped at 500 line limit. If it's just a shell script then why not make it one line?
- StableAlkyne 6mo agoAgreed. It would be one thing if it was a regular bash project that got minified via a script or something, since at least you could tell what it's doing. This is just spaghetti. Maybe it's spaghetti that runs, but code of this quality does not engender confidence.