What is shotgun/voodoo programming?

北城以北 提交于 2019-11-27 03:48:19

问题


I saw the term in in this question. I think I have an idea, but not sure if this a localized term or if wide spread meaning for the term.

Shotgun would implie that he might be (over) using a tool or technique much bulkier or clunkier than a simpler, more elegant solution can be found. And voodoo?


回答1:


Shotgun implies blindly scattering a million little bits of junk all over a problem, like the pellets in a shotgun shell; hopefully one little bit hits the mark. It's trying stuff until something works, rather then understanding what's going on.

Voodoo implies doing something because of magical beliefs, or more specifically, doing something for an unknown reason, especially something overly complicated: "I've always done it this way, I don't know why it works."

Neither characterization is flattering: they imply ignorance and incompetence.



来源:https://stackoverflow.com/questions/11782951/what-is-shotgun-voodoo-programming

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!