|
|
|
|
|
by michaelt
520 days ago
|
|
> Is it a struggle though? It’s twelve lines or more, if you include the imports and error handling. Spreadsheets and SQL will coerce a string to a date without even being asked to. You might want something more structured than that, but you should be able to do it in far less than 12 lines. C has many clunky elements like this, which makes working with it like pulling teeth. |
|
But only when you don't want them to, when you do want them to do it it's still a pain.