News for hackers. Stuff that matters.
Re:The use of ‘class’ for things that should be simple free ... by oefrha on Sunday May 29, 2022 @05:56AM (#31547892)
A friend asked me to do some web scraping for her. Since I didn’t have much time, I figured out the difficult part — some home grown encryption/obfuscation scheme used by the website in question, and handed ~30 lines of Python to another programmer friend of hers, a Fortune 500 Java programmer, to finish the remaining boring work.

A day later the Java guy got back to me with a full blown Java project three levels deep which was just a translation of my ~30 lines of Python, and it “didn’t work”. I had to read what was now hundreds of lines of Java to find 3(!) bugs in it.

That day I realized FizzBuzzEnterpriseEdtion is much closer to reality than I thought.

Re:The use of ‘class’ for things that should be simple free ... by benibela on Sunday May 29, 2022 @01:34PM (#31550969)
I wanted to some simple web scraping and wrote around 100000 lines for an HTML parser and XPath interpreter