|
[分享]超级巡警的面试
我当初被别人的代码蹂躏惨了。 |
|
|
|
[分享]超级巡警的面试
那是,比悄悄话快多了。 |
|
[分享]超级巡警的面试
我的理由 原题 是A& operator=( A &objA )而不是void operator=( A &objA ) 我这里只是举个例子, 如果我在构造函数里也m_nTest = objA.m_nTest;,operator=函数里也有m_nTest = objA.m_nTest; 是不是就重复了,代码冗余了?如果需要改这一句m_nTest = objA.m_nTest的话,就需要改两次,是不是很麻烦?如果改代码的人只改了一处,而另外一处没改,程序是不是就有bug了? |
|
|
|
|
|
|
|
|
|
|
|
|
|
[分享]超级巡警的面试
我个人觉得邓韬还是个小孩子,,很喜欢说话 |
|
|
|
[分享]超级巡警的面试
最近在写垃圾清理的代码。 我也逆了下360,,发现里面的函数好大好长的,看得我心碎,原本以为驱动里写得臃肿,原来app更甚。 qq管家的垃圾扫描更夸张,扫描的时候2个cpu都几乎达到100%了,看来是不卡死用户的电脑不罢休了。 |
|
[分享]超级巡警的面试
邓韬 也yy起来了。 |
|
[分享]超级巡警的面试
我觉得写代码就应该像找女人一样,一定要符合自己的要求,,不能胖了,也不能瘦了。 不能把脸都包住,只剩一只眼睛,也不能脱得光光的。 当然,这是在时间允许的前提下。 如果时间紧了、饥渴了,我也就两眼一闭,凑合凑合算了 |
|
|
|
|
|
|
|
[分享]超级巡警的面试
原题 是A& operator=( A &objA )而不是void operator=( A &objA ) 我这里只是举个例子, 如果我在构造函数里也m_nTest = objA.m_nTest;,operator=函数里也有m_nTest = objA.m_nTest; 是不是就重复了,代码冗余了?如果需要改这一句m_nTest = objA.m_nTest的话,就需要改两次,是不是很麻烦?如果改代码的人只改了一处,而另外一处没改,程序是不是就有bug了? 还有,我没有被pass,所以发这个帖子也不存在什么其他原因。 我只是觉得如果超级巡警是真的招聘的话,就不会这样不给其他题目了。 我只是强烈怀疑他这样做的动机。 |
|
[分享]超级巡警的面试
个人观点,仅供参考。。。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值