【は?】上司「あのさ、コード書くときコメント書こうよ」新入社員「え?なんでですか?」

トレンド
no title
1: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:14:13.841 ID:2QiD8Syed

仕事なめてんの?

2: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:14:43.076 ID:0w6PYXInp

え?なんでですか?
3: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:15:08.009 ID:bLFLe5DG0

コメント「貴様、見ているな!」
4: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:15:23.579 ID:KsNWWf6la

//なんでかよく分からないけど動きます
5: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:15:55.574 ID:tSzSpcb00

コーティング規約の説明もしない方が舐めてるだろ
6: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:15:57.729 ID:2vAjMya40

//変数を宣言する
//条件で分岐する
//関数を呼び出す
//結果を返す
7: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:16:38.878 ID:LjkYg0HDM

//TODO 20150301 後で直す
8: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:17:15.230 ID:I5JPvuT90

まず名乗れ
9: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:17:54.975 ID:HU2Jg0pVH

見りゃわかるからどっちでもよくね
24: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 13:30:54.303 ID:WxQIYvZkd

>>9
処理は分かるが意図が分からないんだよ

中間おすすめ記事: 思考ちゃんねる

var group = document.getElementsByClassName(“at_out”);
if(/smartnews.(com|be)/.test(document.referrer)) {
group[0].innerHTML = ‘

‘;
} else {
group[0].innerHTML = ‘

‘;
}

.mm-ttl{ font-size:14px; margin-bottom: 15px;}
.mm-ttl .Ttl-mil{ font-size:14px !important; color: gray;}
.mm-ttl .Ttl-mil span{ color: rgb(0, 128, 0); font-size: 15px !important; font-weight: bold;}
.at_out ul{-webkit-padding-start: 0; margin: 0 !important; padding: 0;}
.at_out li{ list-style-type:none !important; font-size:16px; line-height:1.2; font-weight: bold; margin-left: 0 !important; margin-bottom: 20px !important;}
.at_out li a{ text-decoration:underline; color:rgb(0, 102, 204); list-style-type:none;}
.pc_none{ display:none;}
.sp_none{ display:block;}

10: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:19:03.598 ID:75qvk6hkd

git+コメントが答えってこの前結論出ただろ
11: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:19:09.577 ID:Id4QrgV20

— TODO 暫定仕様 20100802
12: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:19:15.473 ID:uvAZpcCrr

int tmp3 = 0; //tmp3を0で初期化
13: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:20:10.419 ID:quyfZyyt0

//なぜか動く
14: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:21:41.198 ID:jhcC9zoR0

ます否定の否定をやめろ
15: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:23:51.573 ID:MRe7NU6j0

//このコードは関数にした方がいいでしょう。by新人

お前がやれや

16: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:30:56.108 ID:Ni4wdZPk0

コードにコメント付けよかw
で済む
17: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:34:31.614 ID:xq9JoN0J0

//動け
18: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:35:58.877 ID:QfqAfZC60

// の後ろは半角スペース空けてください
19: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:40:55.470 ID:2olmpxanr

//↑嫌です
20: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:44:10.045 ID:FnqM4vSe0

//帰りたい
21: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:46:27.310 ID:PT9K1Vita

//今日の夕飯はカレーに決めました
22: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:47:56.833 ID:Uvm7l2ORM

//shine
23: 以下、5ちゃんねるからVIPがお送りします 2021/05/10(月) 12:53:13.843 ID:7c0Akj71M

二重否定で分かりづらい言葉やめて下さいよ
コメント書いて これでいい

1001: 思考ちゃんねる

.ninki{ clear:both; margin-bottom: 15px;}
.mm-ttl{ font-size:14px;}
.mm-ttl .Ttl-mil{ font-size:15px !important; color: gray;}
.mm-ttl .Ttl-mil span{ color: rgb(0 128 0); font-size: 15px !important; font-weight: bold;}
.at_out ul{-webkit-padding-start: 0; margin: 0 !important; padding: 0;}
.at_out li{ list-style-type:none !important; font-size:16px; line-height:1.2; font-weight: bold; margin-left: 0 !important; margin-bottom: 20px !important;}
.at_out li a{ text-decoration:underline; color:rgb(0 102 204); list-style-type:none;}
.pc_none{ display:none;}
.sp_none{ display:block;}

引用元: https://hebi.5ch.net/test/read.cgi/news4vip/1620616453/

var xhr = new XMLHttpRequest();
xhr.open(“GET”, ‘https://blog.seesaa.jp/contents/bmlist_mindhack2ch.com.txt’, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
document.write(”);
} else {
document.write(”);
}

Source: mindhack
【は?】上司「あのさ、コード書くときコメント書こうよ」新入社員「え?なんでですか?」