"hack" is a very old word. Reporters and low grade writers were called hacks before there were any computers. I can remember when the earliest computer people called themselves "hackers" as a bit of false modesty, and a clever solution to a problem in machine language was called a hack, long before any bastards started writing malicious code.