You can get small icecube relays that will make or break the 120/60 circuit to run the pump, when the float switch itself makes and breaks - without a need for ANY voltage/current going to the float switch. These small relays work off of continuity only, and are only looking for an external dry contact closure ( in this case the float switch ).
These are ideal to use in many applications - but are a little costly.
Most "quality" electrical equipment, heaters, powerheads, etc .. use "potted" electrical conntections - and for the most part are completely water tight - although sometimes there are problems - rare though.
If you wire up the float switch to an extension cord, as Luke mentioned - and chocochipper wiring detail - AND you use standard electrical installation precautions - a float switch wired directly to 120/60 circuit can indeed be considered safe. Conduit connections with watertight seals, proper gauge wire for the load, and buy a quality switch from the get go -no problem.
Taking short cuts, exposed wires, not using a GFI as mentioned - are obviously not using good judgement. The risk of electrocution is always present around our tanks.