quick-and-dirty從詞典中查到的解釋是:
quick-and-dirty. n. [美俚]快餐部, 便餐店
相關詞條:
quick-and-dirty compiler 【電】快捷編譯器
a quick-and-dirty research project 臨時湊合的研究報告
a quick-and-dirty construction project 次級建筑工程
但是我們常常會在一些IT文章中看到詞語quick-and-dirty,這到底代表什么含義呢?
以下是icech在谷歌翻譯中找到的例句:
gartner集團的分析家rayvaldes說:"cgi就像一把榔頭,大型網站可能已經變成了強有力的工具,但他們仍需一把榔頭做快速而又吃力不討好的工作。"
"CGI is like a hammer," says Ray Valdes, an analyst at Gartner Group Inc. in San Jose, "Large sites may have switched to power tools, but they still need a hammer for quick-and-dirty jobs."
在維基百科中是這樣介紹quick-and-dirty的:
Quick-and-dirty is a term used in reference to anything that is an easy way to implement a kludge. Its usage is popular among programmers, who use it to describe a crude solution or programming implementation that is imperfect, inelegant, or otherwise inadequate, but which solves or masks the problem at hand, and is generally faster and easier to put in place than a proper solution.
Quick-and-dirty solutions often attend to a specific instance of a problem rather than fixing the cause of the more general problem. As such, they are sometimes used to keep an item of software or hardware working temporarily until a proper fix can be made.
The phrase is also frequently used in describing any document or tutorial that gives a brief overview about how to do something, without going into too much detail about why or how it works.
Microsoft's first operating system, MS-DOS, was originally called Quick and Dirty Operating System (QDOS)[1], prior to its purchase from Seattle Computer Products.
通過上面介紹的介紹,我們可以理解出來,quick-and-dirty就是指一種快速但是存在一些瑕疵并不完善的解決方法,這種方法快速而且容易建立,但是會隱藏一些問題,不過很多程序員還是很喜歡這類的小產品(或者軟件)的。例如css和javascript壓縮。