News for hackers. Stuff that matters.
Re:Ask HN: Is Python dying? by normac on Sunday February 14, 2016 @07:04PM (#11100673)
One of my favorite pieces of code I've written is a 150 line Python script I made to solve a really ugly text processing problem. I have tried to use it as a code sample when talking to potential employers, but it backfires because it makes the original problem look so simple that they wonder why I bothered to send it.
Re:Ask HN: Is Python dying? by gknoy on Sunday February 14, 2016 @08:14PM (#11100938)
If it's any consolation, Peter Norvig's Sudoku solver seems so readable on the surface that I've fallen into the trap of thinking it looks easy, or that I fully get it. :)

0: http://norvig.com/sudoku.html

Re:Ask HN: Is Python dying? by shiftb on Sunday February 14, 2016 @07:43PM (#11100819)
Maybe you should try a reverse interview process. Send them the original problem, ask them to have one of their top developers solve it, and then compare solutions.
Re:Ask HN: Is Python dying? by agumonkey on Sunday February 14, 2016 @09:40PM (#11101220)
Is this a real thing ?
Re:Ask HN: Is Python dying? by csense on Monday February 15, 2016 @10:50AM (#11103947)
It should be.
Re:Ask HN: Is Python dying? by TylerE on Monday February 15, 2016 @12:13AM (#11101637)
I once wrote a custom report generator that could pair basically arbitrary input formats (pluggable, I think by the time I was done I'd written importers for CSV, fixed width, and JSON data) and output custom PDF output, with fully-user definable formatting/elements - using XML "templates" just because I didn't want to write a custom parser. Included loops, if statements, etc, and some pretty fancy output features (e.g. output N records per page, with custom sorting, headers/footers/etc). Used ReportLab for the PDF generation. Whole thing was under 1k lines of Python 2.