4 ms·
Tools like this become increasingly useless as your codebase gets larger. For example, unminify React and try mapping functions to unminified code. There is a
by arihant 11y ago
Tools like this become increasingly useless as your codebase gets larger. For example, unminify React and try mapping functions to unminified code.
There is a lot to minification, these tools just undo cosmetic minification.
- kuschku 11y agohttp://www.jsnice.org/ http://www.jsnice.org/ can do that – giving everything meaningful names, checking types, etc.
- bpicolo 11y agoIt can't give "meaningful names" without real context, which it doesn't have. Slightly longer names that are easier to read? Sure.
- kuschku 11y agoYes, it can: https://news.ycombinator.com/item?id=7836092 https://news.ycombinator.com/item?id=7836092
- bpicolo 11y agoHere's part of google homepage js thrown at it (In reality tossed a whole file, but pastebin wont fit it all for free). It's still entirely unreadable. http://pastebin.com/VvEGZ8a3 http://pastebin.com/VvEGZ8a3 If it can infer most of it from OSS? Sure. But big web apps do a lot more.