天天看點

【程式媛曬83行代碼】超獨特個性小姐姐,happy(被)來(逼)的

在中國程式媛中,他們的代碼有什麼樣的魅力,Aone聯合雲栖社群、餓了麼、釘釘、阿裡雲、天貓、口碑發起首屆程式媛比碼活動——不秀大長腿,秀高智商;不秀美圖照,秀代碼圖,參與曬碼互動遊戲赢“83行代碼”T恤!

我們來說說這群女工程師的第83行代碼及代碼背後的故事:

聽說程式媛這個物種十分罕見,我是作為罕見中的一員happy(被)來(逼)的,畢業幾年的人生感悟:每個人在浩瀚的宇宙中都有自己獨特的坐标,這個坐标會因為你的選擇而變的不同,同樣這個世界也會因為你坐标的移動而變得不同!SO,COME ON 加入我們,讓我們一起改變世界,成就更好的自己!我在tmall一直等你![email protected] 

【程式媛曬83行代碼】超獨特個性小姐姐,happy(被)來(逼)的

package tmall;

import lombok.*;

/**

  • Created by caiyue on 2018/7/16.

    */

@AllArgsConstructor

class Business {

private String buName, salary, awardMoney, mission, colleague;
public Person change(Person p) {return p;}
public String toString() {
    return buName + "公司:[工資:" + salary + ",獎金:" + awardMoney + ",同僚:" + colleague + ",使命:" + mission + "]";
}           

}

@Data

class Person {

private String role, x, y, z;
public String toString() {return role + ":[" + x + "、" + y + "、" + z + "]";}           

class TmallBu extends Business {

public TmallBu(String buName, String salary, String awardMoney, String misson, String colleague) {
    super(buName, salary, awardMoney, misson, colleague);
}
public Person change(Person p) {
    switch (p.getRole()) {
        case "程式媛": 
            return new Person(p.getRole(), "人美", "碼贊", "會生活");
        case "程式員": 
            return new Person(p.getRole(), "人帥", "錢多", "疼老婆");
        default: 
            return new Person(p.getRole(), "坐标丢失", "坐标丢失", "坐标丢失");
    }
}           

public class TransformAll {

public static void main(String[] args) {
    Business tmall = new TmallBu("天貓", "五顆星", "五顆星", "改變自己改變世界", "一群有情有義的人");
    Person ordinaryGirl = new Person("程式媛", "定位自我", "找尋理想", "探索生活意義");
    Person tmallProgrammerGirl = tmall.change(ordinaryGirl);
    System.out.println(tmall.toString());
    System.out.println(tmallProgrammerGirl.toString());
    System.out.println("歡迎來天貓一起成為更好的自己!");
}           

與采月小姐姐互動,為她打call——> 點選進去采月曬碼

更多小姐姐,點選進入檢視代碼

有被代碼耽誤的釘釘吃貨程式媛,寫代碼寫到忘記吃飯的——采霜

她急需能把她從代碼中叫醒去吃飯的小夥伴,趕緊勾搭;

http://yq.aliyun.com/roundtable/126499/answer/170319#visit170319

有以代碼為樂的餓了麼大前端打(bei)雜(guo)工程師——敖天羽

http://yq.aliyun.com/roundtable/126499/answer/170299#visit170299

還有全棧美女工程師——前端後端一鍋端的——墨瑜女神

http://yq.aliyun.com/roundtable/126499/answer/170316#visit170316

還有阿裡雲活好碼贊,像男人一樣活着的技術專家小姐姐——清宵

http://yq.aliyun.com/roundtable/126499/answer/170296#visit170296

和天貓Java程式媛,happy(被)來(逼)的——采月

http://yq.aliyun.com/roundtable/126499/answer/170354#visit170354

阿裡口碑 搜尋推薦組的JAVA女工程師——妍霏

http://yq.aliyun.com/roundtable/126499/answer/214059#visit214059

阿裡口碑基礎平台技術部的工程師-銜遠,一個技術與馬甲線并存的mm

http://yq.aliyun.com/roundtable/126499/answer/248798#visit248798

雲栖社群聚能聊專家,具有知性溫婉氣質的——海洋的雲

http://yq.aliyun.com/roundtable/126499/answer/170290#visit170290

福州市五佰網絡科技有限公司的Java女工程師——江小白太白

http://yq.aliyun.com/roundtable/126499/answer/189332#visit189332

在下*的程式媛——cn_suqingnian

http://yq.aliyun.com/roundtable/126499/answer/170309#visit170309

交通銀行的前端女工程師——昆0830

http://yq.aliyun.com/roundtable/126499/answer/201979#visit201979