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 tahun yang lalu·0 comments

comments

maxdw101
·5 tahun yang lalu·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 tahun yang lalu·discuss
I wonder how does this compile down to a non-existential instruction...

"To be or not to be"
maxdw101
·5 tahun yang lalu·discuss
Absolutely agree! Doing this with dynamic languages are much harder. Unless, of course, one works on ASTs at run-time.
maxdw101
·5 tahun yang lalu·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 tahun yang lalu·discuss
This is fascinating. Does this actually scale to large codebases?