I agree as well.
In a romance we're dealing with fictional or real characters (and they can curse and do whatever they want) so we're able to take some literary freedom, depending on the style -- suspense, horror, sci-fi, etc.
In technical documents it's only you and your readers. If you start swearing for no reason you give your audience the right to swear back at you.
Andre Guerreiro Neto