Which license should I aim to publish articles & software under?
CC licenses are good for the written word, but you need a software license for software. You're going to have to have two licenses at the very least. On top of that, depending on your publication venue, you may not have a choice of license. Many venues require the transfer of copyright in order to publish, so your license for your articles may not matter once you give up your copyright.

To answer your question directly, for publicly funded work, I prefer the 3-clause BSD over public domain for software, but this is partially due to my institution's requirement to either use GPLv2 or BSD for software. For documentation CC-BY is my preference, and I have no institutional requirements there. I have these preferences because I believe that publicly funded work should be as open and free as possible to the people (i.e. the public) that funded it, but I adhere to an academic perspective that credit should be given where credit is due.