问题描述
我在 在这个问题中.我想我有一个想法,但不确定这是一个本地化的术语还是该术语的广泛含义.
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 会暗示他可能(过度)使用比可以找到的更简单、更优雅的解决方案更笨重或更笨拙的工具或技术.还有巫毒?
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?
推荐答案
Shotgun 意味着盲目地将一百万点垃圾散布在一个问题上,就像霰弹枪炮弹中的弹丸一样;希望一点点达到目标.它是在尝试一些东西,直到某些东西奏效,而不是了解发生了什么.
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 暗示因为魔法信仰而做某事,或者更具体地说,出于未知原因做某事,尤其是过于复杂的事情:我一直这样做,我不知道为什么它有效."
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.
这篇关于什么是霰弹枪/巫毒编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!