Well if security is not really much of an issue, why not go with Linux. It's easier to install and there's better online documentation. It offers you the same sort of programming environment. If you just want to write small programs, speed will not be an issue. The main reason people choose FreeBSD over Linux is security but that doesn't seem to be much of an issue for what you want to do. Hope this helps :).
By the way ill be using the system mainly to compile c programs and learn to program in a unix enviroment rather than in windows.