HackerTrans
TopNewTrendsCommentsPastAskShowJobs

maxdw101

no profile record

Submissions

Python: Using ASTs to Patch Code and Assess Code Quality

engineering.soroco.com
1 points·by maxdw101·قبل 5 سنوات·0 comments

comments

maxdw101
·قبل 5 سنوات·discuss
EXACTLY. Very well said. All this talk of 4 hours and so on are fine when your stomach is full and you have built up a capitalist society that feeds off the poor in a different society.
maxdw101
·قبل 5 سنوات·discuss
I wonder how does this compile down to a non-existential instruction...

"To be or not to be"
maxdw101
·قبل 5 سنوات·discuss
Absolutely agree! Doing this with dynamic languages are much harder. Unless, of course, one works on ASTs at run-time.
maxdw101
·قبل 5 سنوات·discuss
How scalable is this approach of using ASTs? Can you scale this to a single codebase with 500K+ lines? The article talks about multiple different code bases that together added up to 100K.

Second, does one need to worry about getting this right in dynamically typed languages?
maxdw101
·قبل 5 سنوات·discuss
This is fascinating. Does this actually scale to large codebases?