Y
Hacker News
new
|
ask
|
show
|
jobs
by
kpcyrd
3111 days ago
Minified javascript isn't really open source either.
2 comments
Someone
3111 days ago
Non-minified JavaScript with good comments documenting its behavior isn’t (necessarily) open source either.
That you can read the code (or that it doesn’t claim a license) doesn’t make code open source.
link
kpcyrd
3111 days ago
Sure, but that definition of opensource wasn't implied with "closed source due to wasm".
link
irrational
3111 days ago
No, but there are tons of prettifiers that can get minified/obfuscated JS back into a state that it can be read and reasoned about fairly easily. It's not like minifiying/obfuscating JS compiles it into byte code. It's still plain text.
link
JeanSebTr
3111 days ago
As we can use a decompiler with other languages.
link
striking
3111 days ago
Barely! It's not far from bytecode in some cases, especially with the advent of asm.js.
link
bogomipz
3111 days ago
Do you or anyone else have any recommendations for a good tool to recover minified java script?
link
chr1
3111 days ago
http://jsnice.org
works well, though misses many oportunities of restoring variable names based on property names which cannot be minified.
link
That you can read the code (or that it doesn’t claim a license) doesn’t make code open source.