reverse engineering - how do you understand javascript code that is not written by you -


suppose have 200 pages of code. or amount. not written you. in javascript can done anywhere. how read , understand? decode or reverse engineer. tools in process? in general find reading else code beside mine impossible unless if less half page.

what typically follow call-in logic outer layers of code inward , instead of trying grok thousands of lines of someones program, try figure out how pieces need work on function.

you don't read code top-down read book (pages?), follow calls (initially can ignore class instantiation) outmost position inwards. javascript not nice language in regard still if compiler/interpreter can read it, can you.

it's important write readable code, , professional should, on policy level, expect other people, on technical level, need able cut through bushes.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -