News for hackers. Stuff that matters.

carlmro

Re:Unit testing for C? on Wednesday December 11, 2013 @05:29AM (#6886896)
I found this presentation on test-driven development in C using assert and stdbool interesting:

http://www.slideshare.net/amritayan/test-driven-development-....

It shows that you can accomplish quite a lot without a standalone testing framework. Good luck with writing C!

Re:Snake Vim Trainer on Friday August 16, 2013 @01:30PM (#6225456)
The game is fun, but perhaps a bit misleading regarding what 'mastering vim movement' amounts to. As I am sure many of you know, vim has tons of constructs for efficient navigation: Using b or w for word-wise jumping, special markers like $ and 0, Ctrl-D and Ctrl-U etc. A good overview of movement commands can be found here: http://vim.wikia.com/wiki/Moving_around