Comment

Comment by d0

This. This is such a common problem, I added it to our formal code test. We supply an interface, a unit test and a rather broken CSV file and they have to make the test pass by adding the implementation.

22 people failed the test entirely, complaining about quotes and line ending inconsistency.

2 people wrote a proper state machine driven parser that didn't work.

1 person wrote a proper state machine driven parser that worked.

1 person imported commons-csv and wrapped stuff.

The last person got the job.

parent d0 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton