We use lead HASL because gold plating can hide defects in the nickel plating that can create poor solder joints because solder won't stick to corroded nickel. The gold also can embrittle solder joints which is bad for applications where lots of vibration is a concern.