Re:Breaking the MintEye image CAPTCHA in 23 lines of Python
by mikeash on Sunday January 20, 2013 @09:38AM
(#5087024)
I would be interested to know that there are libraries that allow a person to write MS Word with only 50 additional lines of Python.
Again, unless you write the entire stack from the bottom up, you're always depending on vast amounts of code you didn't write. So what's the difference?
Re:Breaking the MintEye image CAPTCHA in 23 lines of Python
by robomartin on Sunday January 20, 2013 @11:41AM
(#5087325)
Of course that was an exaggeration, a tool to simply drive the point home. It would be impossible to actually do what I suggested.
The point, which for some reason you are not willing to concede, is that if you are going to claim that you solved a problem with x lines of programming language z the line count needs to be real. You can't use something like a library with 10,000 lines of C++ code to then claim that you solved a problem with two lines of Python (or whatever):
import huge_code_base
print huge_code_base.solve()
It really is that simple. If you don't see it this way, well, that's fine. Let's leave it be.
Simple. To go along the lines of your example:
Headline: "Microsoft Word written in 50 lines of Python".
Reality:
The fifty lines of Python do nothing more than call a set of Microsoft libraries written in C and C++ that, well, result in MS Word.
Did the author really write MS Word in 50 lines of Python?
Of course not. It would be absolutely insane to even suggest the idea that this could even approach a valid metric.
Nope, the author simply made use of external non-Python libraries that are the results of probably hundreds of thousands of lines of code and many man-years of work. He does not, for even a microsecond, get to claim that he wrote MS Word in 50 lines of Python.
That's my point. Is it a little bit clearer now?