討論串[閒聊] 各種神人的code
共 17 篇文章

推噓6(6推 0噓 9→)留言15則,0人參與, 最新作者Itia (:PPPP)時間11年前 (2014/09/08 15:40), 編輯資訊
0
0
1
內容預覽:
這是我看到的:. <input type="hidden" name="shareurl" value="..." readonly />. --. 發信站: 批踢踢實業坊(ptt.cc), 來自: 76.102.40.2. 文章網址: http://www.ptt.cc/bbs/Soft_

推噓3(3推 0噓 9→)留言12則,0人參與, 最新作者ninepoints (不要叫我大大)時間11年前 (2014/09/08 13:31), 編輯資訊
0
0
1
內容預覽:
*純C. //意圖避免指標溢位. strBuff[strlen(strBuff)] = '\0';. *JavaScript. function findCookie(){. alert('hahahahaha');. }. 意味不明的函數,. 我同事中有餅乾怪獸..... --. 發信站:

推噓9(9推 0噓 6→)留言15則,0人參與, 最新作者asonofdevily (asonofdevily)時間11年前 (2014/09/08 11:53), 編輯資訊
0
0
1
內容預覽:
Case 1:. function testFunc (boolInput) {. var someBool = boolInput || true;. ...... }. Review code的時後發現, 就問"傳false進去有用嗎??? "....... Case 2:. ...... if
(還有218個字)

推噓14(14推 0噓 13→)留言27則,0人參與, 最新作者JustinHere (良葛格)時間11年前 (2014/09/08 07:53), 編輯資訊
0
0
3
內容預覽:
想起了這篇…XD. http://tinyurl.com/k9wa57n. 節錄幾個…. if( someBoolean == true){. String s = someString;. } else {. String s = someString;. }. String a = "null"
(還有93個字)

推噓3(3推 0噓 4→)留言7則,0人參與, 最新作者a47135 (溫暖的風)時間11年前 (2014/09/08 02:27), 11年前編輯資訊
0
0
1
內容預覽:
最近重建程式遇到的案例. 大概打了一下,如果語法上有什麼錯就...放過去吧(IDE缺乏失調症候群). public class BaseEmployee. {. public string strEmpCD;. public string strEmpName;. public BaseEmploy
(還有587個字)