Code, Code, Revolution!
Ever wondered how many lines of code you’ve written? Try this command in a shell:
find . -name “*” | xargs wc -l
Of course you must move to the projects’ directory first. I looked for an addon for XCode but realized it’s not needed. If you’re a windows junkie, install an add-on to VS or install Cygwin to get the *nix experience!
My iPhone project was 4164 lines. That include comments of course. But it’s also just for the client app. There’s a bunch of C# web service and sql code in the back end. How many lines is your iPhone app?
With this blog I try to provide useful tips and solutions for programming .NET, Objective-C and more. My name is Björn Sållarp, and I love writing code.
Leave a reply