It is much better to ask for a clearance. Not that many people do, and when you're in class D the ATCO may well keep an eye on you (although he has no legal need to give you traffic info). In my opinion much safer than joining the countless other aircraft skirting round the corner of a CTR at similar levels to stay below a block of class A.