以下は、最も一般的な回答の無料翻訳です。
依田条件
if(4 == foo)のように、自然なif(変数==定数)の代わりにif(定数==変数)の形式で条件を記述します。 なぜなら、「青が天なら」または「背が高いなら人」だからです。
![if(5 ==カウント)](https://habrastorage.org/getpro/habr/post_images/543/a80/7d0/543a807d0d68d6f6e06084661989f989.jpg)
ポケモンエラー処理(ポケモン例外処理)
すべてのエラーをキャッチし、それらを何らかの方法で分析しようとしたとき。
try{
//code
}catch ( Exception ex){
if( ex instanceof SubException){
//code
}else if(ex instanceof SubSubException){
//code
}else{
//code
}
}
.
(Egyptian brackets)
, :
if (a == b) {
printf("hello");
}
„ “? :
![](https://habrastorage.org/getpro/habr/post_images/190/690/d7c/190690d7cc5cf0478a0b730eaff013fc.jpg)
( (Kernighan and Ritchie) „C Programming Language“, K&R).
- ( )
(Smug Report) — , , , , . , , , ( ) , .
(Drug Report)
/ , , , , - . — (Chug Report), , , .
(Shrug Report) — , , . „ “.
![](https://habrastorage.org/getpro/habr/post_images/75d/ce8/f9a/75dce8f9a8f6b682799e970519a62762.gif)
(A Duck)
, - : , .
Interplay. , - , — , .
, , , . , , : — . . , „“ .
, - : „ . — .“
![](https://habrastorage.org/getpro/habr/post_images/35b/d72/b83/35bd72b833771d7d930192dd7431ec67.jpg)
(Refuctoring)
, .
(Stringly Typed)
„“ (Strongly typed).
, , , .
, (, ). , — , (enum).
„“ , „“ , .
![](https://habrastorage.org/getpro/habr/comment_images/d87/556/840/d8755684037fa183aae6cbeb54b2e166.jpg)
Doctype (Doctype Decoration)
- DOCTYPE, , HTML .
(Heisenbug)
, — — .
![](https://habrastorage.org/getpro/habr/post_images/63e/fa6/870/63efa68700c07bacb8ba35ac7d49072d.png)
(Jimmy)
/ .
, , . : „ ?“
: „-“ (Jimmy-proof), .
![](https://habrastorage.org/getpro/habr/post_images/ac2/9da/40d/ac29da40df53312c8fb4c1e06f18ce1e.jpg)
(Higgs-Bugson)
, () , ( ) , , , , .
— .
(nopping)
. Nopping NOP, „“ ( ) . „nap“ (), , „, , “.
: , (nopping).
![](https://habrastorage.org/getpro/habr/post_images/dec/9b7/3b6/dec9b73b64683ed52e119e3cb2e499ef.jpg)
(Hindenbug)
, — » !"
(. Hindenburg), .
Counterbug
, , , , (?).
(Bloombug)
, .
, .
(Unicorny)
, , . Yehuda Katz, Windy City Rails Ruby on Rails.
(Barack Obama)
, (), , - .
![](https://habrastorage.org/getpro/habr/post_images/8bd/8f0/b4b/8bd8f0b4b48312b1140101ed37cf3efd.jpg)
(Loch Ness Monster bug)
, , .
![](https://habrastorage.org/getpro/habr/post_images/d32/a19/671/d32a19671740532a618d6f9e1e901d34.jpg)
- (Baklava code)
, .
![alt text](https://habrastorage.org/getpro/habr/post_images/ede/ef4/680/edeef468058092d937803ab15143c1ff.jpg)
(Workaroundability)
, . ( ?)
, (Fear Driven Development)
( -).
![alt text](http://www.codinghorror.com/blog/images/coding-horror-official-logo-small.png)
(Common Law Feature)
, , .
, " ", .
(Bicrement)
2 .
, :
(Programmer fuel)
Mountain Dew, — , , .
,
/ (Hot potato / Hot potatoes)
Http Https ( , ). , .
«hot potatoes»://-.com/auth
(Cake)
, - . .
( )
, , (Banana banana banana)
, , , . , (, SVNStyleCop C# FxCop C++).
/// <summary>
/// banana banana banana
/// </summary>
public CustomerValidationResponse Validate(CustomerValidationRequest request, bool useStrictValidation, bool throwIfSessionExpired)
(Chunky salsa)
. - , .
, , .
![](https://habrastorage.org/getpro/habr/post_images/eb3/893/ac2/eb3893ac20ab7361f0eb24344ca12012.jpg)
Squizzle-giz
.sql.gz
, « » , .
( , «Squizzle-giz» « » « »).
# (Hooker Code)
, : «». : «go down», «», « ».
![](http://loranablog.files.wordpress.com/2008/06/muppet-pimps.jpg)
101 (Reality 101 failure)
, , , , , .
(Hydra Code)
, . .
![](https://habrastorage.org/getpro/habr/post_images/d9b/ac7/88b/d9bac788b5dba7a6bcb281e01592f1f9.jpg)
(Protoduction)
, - .
![](https://habrastorage.org/getpro/habr/post_images/c46/44e/491/c4644e491bc0c52917161f24a1e9c56b.jpg)
(Ninja Comments)
,
- , - .
![](https://habrastorage.org/getpro/habr/post_images/577/7ca/bd0/5777cabd02168f3b5d09a1cf9a8512ac.jpg)
(Rubberducking)
, . , , , . .
, . , — , .
(Databasically)
.
« » — «, , ».
, .
![](https://habrastorage.org/getpro/habr/post_images/06f/b05/6d3/06fb056d3180a799e4bc82817fe4f22a.jpg)
(Smurf Naming Convention)
. , , SmurfAccountView SmurfAccountDTO SmurfAccountController. SmurfID, SmurfOrderHistory, SmurfHistoryMatch SmurfHistoryReviewView, SmurfHistoryReportingView. SmurfErrorEvent, SmurfErrorLogger ${app}/smurf/log/smurf/smurflog.log
(Megamoth)
.
(God Object) . 2 . !
![](https://habrastorage.org/getpro/habr/post_images/fd2/8b8/0dd/fd28b80ddc9dc20bca2314110517525d.jpg)
apt-got wgot
, ( Unix) apt-get , wget.
-:
«I apt-got 100MB of updates this morning»
«Once this loop has wgot that file, it takes the md5 hash»
. .
. !