新しいプログラミング用語

stackoverflow.comの訪問者に次のように尋ねました。

以下は、最も一般的な回答の無料翻訳です。


依田条件
if(4 == foo)のように、自然なif(変数==定数)の代わりにif(定数==変数)の形式で条件を記述します。 なぜなら、「青が天なら」または「背が高いなら人」だからです。
if(5 ==カウント)



ポケモンエラー処理(ポケモン例外処理)
すべてのエラーをキャッチし、それらを何らかの方法で分析しようとしたとき。
        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");
}


„ “? :


( (Kernighan and Ritchie) „C Programming Language“, K&R).



- ( )

(Smug Report) — , , , , . , , , ( ) , .

(Drug Report)
/ , , , , - . — (Chug Report), , , .

(Shrug Report) — , , . „ “.





(A Duck)
, - : , .

Interplay. , - , — , .

, , , . , , : — . . , „“ .

, - : „ . — .“





(Refuctoring)
, .



(Stringly Typed)

„“ (Strongly typed).
, , , .

, (, ). , — , (enum).

„“ , „“ , .





Doctype (Doctype Decoration)
- DOCTYPE, , HTML .



(Heisenbug)
, — — .





(Jimmy)
/ .

, , . : „ ?“

: „-“ (Jimmy-proof), .





(Higgs-Bugson)
, () , ( ) , , , , .

— .



(nopping)
. Nopping NOP, „“ ( ) . „nap“ (), , „, , “.

: , (nopping).





(Hindenbug)

, — » !"
(. Hindenburg), .

Counterbug

, , , , (?).

(Bloombug)

, .
, .



(Unicorny)
, , . Yehuda Katz, Windy City Rails Ruby on Rails.

(Barack Obama)
, (), , - .





(Loch Ness Monster bug)
, , .




- (Baklava code)
, .
alt text



(Workaroundability)
, . ( ?)

, (Fear Driven Development)
( -).
alt text



(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)
. - , .

, , .





Squizzle-giz
.sql.gz

, « » , .
( , «Squizzle-giz» « » « »).



# (Hooker Code)
, : «». : «go down», «», « ».




101 (Reality 101 failure)
, , , , , .



(Hydra Code)
, . .




(Protoduction)
, - .




(Ninja Comments)
,

- , - .




(Rubberducking)
, . , , , . .

, . , — , .

(Databasically)
.
« » — «, , ».

, .




(Smurf Naming Convention)
. , , SmurfAccountView SmurfAccountDTO SmurfAccountController. SmurfID, SmurfOrderHistory, SmurfHistoryMatch SmurfHistoryReviewView, SmurfHistoryReportingView. SmurfErrorEvent, SmurfErrorLogger ${app}/smurf/log/smurf/smurflog.log



(Megamoth)
.
(God Object) . 2 . !





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»

. .
. !

Source: https://habr.com/ru/post/J111432/


All Articles