Wrong, the default Gatekeeper setting is set so that:
- you don't have to if the software is recent and signed by the developer.
- you don't have to either for unsigned code: as explained in the dialog that pops up, you can right click instead and choose open, which will pop up a similar dialog alllowing you to whitelist this app only.
Threfore, don't ever turn off Gatekeeper in Preferences.
I don't know if the software I was using was just old or if signing isn't common place yet, but I felt like I got prompted while trying to use some fairly popular software.
Linux is actually the worst in terms of easily running software downloaded from the internet. If you try running an executable with out the executable bit set, it will fail. Nautilus (a major file browser) gives the standard error for when you try opening a file-type that does not have a program associated with it. And, unlike your description of OSX, you can only enable execution on a per-file basis.