You could of course, depending on the size, simply pull an fence all around your house and keep the 'garden' lit up.
This way you'll see a creeper coming in time without it being able to actually reach you.
Private Mod Note
Rollback Post to RevisionRollBack
"Really though, it shows the mindset of a Dwarf Fortress player that when running for you life from a 30-foot tall animate bronze colossus, your first reaction to a horde of fluffy bunnies is to grab some and throw them at it." - DF player
I dug a base in the highest hill in a extreme hills biome, tunneled down to the bedrock and build my base there.
(This is still my first world)
So, basically my "house" is made from 60 layers of stone, dirt and gravel, with an inside perimeter of 2 layers cobble. I enter and leave with iron doors. A monster needs to cross at least 2 iron doors to get to the inner sanctum (enchantment& crafting table, bed, furnace, chests)
Adjacent tunnels and caves are well lit. Till now a monster has to come closer than 200 blocks of my base ...
My main base when I start new worlds is generally underground. Easy to expand and build it up without having to deal with random mobs spawning (especially creepers). Any caves you come across wall off (though feel free to put in a iron door blocked passage to them for spelunking trips later). Building underground also gets you tons of materials while mining out the rooms. Above ground entrance to the base kept generally fairly small, well fortified (stone/cobblestone), well lit on the exterior, and with no or few blind spots to the exterior (a blockhouse around 7x7 or so works well, with double thick walls and glass windows so I can get a good 360 degree view and spot any threats before leaving my sanctum). I'll turtle up in this base creating a mineshaft down to diamond levels and generally avoid leaving the sanctum until I have a full set of at least iron armor and weapons (remember to gather wheat seeds first day before turtling up, create a bucket with your first iron, and create a underground farm room as your first priority to provide yourself with a consistent food supply, and an underground tree farm is typically not far behind).
After my base is fully functioning, I'll typically expand the aboveground (it's currently a medium sized town with ~30 villagers, a few dozen buildings, and town walls 8 high enclosing a roughly 100x100 meter area), but always keeping my aboveground presence well protected, well lit, and highly secure. Expand in phases - my initial expansion from my original block house was a set of small walls only half the current height less than a dozen blocks from the block house, and always build the new walls and light the new interior area before demolishing the old walls (and typically, before demolishing older walls, I'll spend a few nights in a tower observing the newly expanded area to ensure that nothing unwanted spawns from an area that I forgot to light well enough). I use a lot of piston doors (with either iron bars/fences (portcullis)/glass blocks for visibility) to provide access into the secure area (better visibility than a typical iron door by using transparent blocks).
Even so, creepers will happen. Keep your walls relatively thick (generally, anything I think a creeper might even be able to come close to I keep a minimum of 2 thick walls, or block off with fences), and you can patch them in a hurry. Of course, once you're really rolling along, obsidian allows you to pretty much creeper-proof anything you want to - but my world is pretty well developed, and I still don't have close to that amount of obsidian saved (nor the patience to mix hundreds of lava buckets and water buckets to pour obsidian at the base of all my walls).
I like using stone brick with wood plank floors. I also like plank floors and walls with log corners and floor edges but the timber mod (which makes life easier in other ways) makes that very difficult.(Basically, any time I wanted to remove one of the log blocks, I'd have to do it by punching since Timber Mod makes axes remove every log connected to the one you broke (except those below the one you broke) break too.)
When I have oak, spruce, an birch wood available, I use them to make patterns in the floor. It looks really cool.
Still, I light the area around my house heavily and usually play with the "mobGriefing" game rule set to false.
Also, my windows are glass pane since it looks nicer than glass blocks and it's more efficient in terms of materials.
Private Mod Note
Rollback Post to RevisionRollBack
The source of my intention isn't really crime prevention; my intention is prevention of the lie! Yeah, welcome to the Scatman's world!
it really maters on the biome i settle in but usually all the time i have cobblestone in there,i usually use wood but if im in like a desert or something ill make mine out of sandstone and cobblestone and for your creeper issue,the best ways to kill a creeper are....1.Self destruct:fully sprint at it and jump over it,it will explode and ill itself but you only want to do this if you are away from your house and the second way to kill that creeper is hit it then back up then hit it then back up and just repeat that till its dead