Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks! I'll look into that. Improving the output formatting is my easiest next step. Then the input, so I'll check out that library. You're a pal.


For people that are just 'starting out' and also people that just want to keep their hand in, it's really a good idea to practice writing small pieces of intricate code like tokenizers, string processing etc., rather than just selecting the closest library to hand.

Obviously, if you're writing code commercially, you may want either complete control over some code (write it), or you may want it now (use a lib), so writing all your own code may be an impossible luxury.

Here's a small example snippet I just did. I've been doing software since 1988, but often just gluing (MFC) api's together, and not doing stuff that really benefits me as much as it might. Anyways, here's a gist that implements a 'good enough to use' version of an iOS 4.0-only api as a category on NSData, allowing string searching of arbitrary data:

https://gist.github.com/1238869




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: