碼農 黑客和2B程式設計師之間的區別

techug發表於2015-01-21

膝上型電腦

碼農:

碼農、黑客和2B程式設計師之間的區別

黑客:

碼農、黑客和2B程式設計師之間的區別

2B程式設計師

碼農、黑客和2B程式設計師之間的區別

求2的32次方:

碼農:

System.out.println(Math.pow(2, 32));

黑客:

System.out.println(1L<<32);

2B程式設計師:

System.out.println(2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2*2);

交換兩個數:

碼農:

void swap(int &a,int &b)
{
    int temp;
    temp=a;
    a=b;
    b=temp;
}

黑客:

void swap(int &a,int &b)
{

    a=a^b;

    b=a^b;

    a=a^b;

}

2B程式設計師:

void swap(int a,int b)
{
    int temp;
    temp=a;
    a=b;
    b=temp;
}

類屬性定義:

碼農:

public static int TYPE = 1;

黑客:

/**
* 此策略下訊息型別為全域性型別,用以通知所有符合B05協議要求的處理者
* …… ……
*/
public static int TYPE = MsgTypes.TYPE_GLOBAL;

2B程式設計師:

public static String TYPE_ONE = "1";
public String TYPE = TYPE_ONE;

手機開發平臺:

碼農:WinCE/BlackBerry/Symbian/Android

黑客:iPhone

2B程式設計師:MTK

桌面應用介面開發:

碼農:Swing/MFC/C#

黑客:WPF

2B程式設計師:VB(哈哈,不要怪我,我也做過VB專案,我沒有偏見,不過關於VB的非議實在是太多太多了,連 Dijkstra都說,“It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.”)

即時通訊軟體:

碼農:工作:MSN,生活:Skype

黑客: 工作:GTalk、生活:保密

2B程式設計師: 工作:騰訊QQ,生活:QQ

問題查詢:

碼農: Google搜尋

黑客: Google Scholar/Scirus

2B程式設計師: 百度知道

Window 當機的解決方案:

碼農: 根據異常資訊搜尋問題原因和解決方法

黑客: 哥從懂事起就不用Windows的!

2B程式設計師: 重灌系統(萬能解決方案),安裝360

個人Blog:

碼農: CSDN/CNBlogs/BlogBus

黑客: 個人站(俺不是自誇啊,哈哈)

2B程式設計師: QQ空間

面試地點:

碼農: 會議室/教室

黑客: 咖啡廳

2B程式設計師: 食堂

Java面試題目:

碼農: 請分別說一說封裝、繼承和多型的含義?

黑客: 如果要設計一個系統,用來統計世界上所有道路的總數,你會怎樣設計?

2B程式設計師: 請說說Spring2.5.6版本和2.5.5版本的區別?

僅此一笑,你還有什麼更有意思的程式設計師版本?

相關文章