TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Falsehoods CS Students (Still) Believe Upon Graduating

53 点作者 lolptdr超过 5 年前

15 条评论

lacker超过 5 年前
Bah, sprinkling printf statements is a quality debugging technique. Sometimes everything really is a nail.
评论 #21502290 未加载
评论 #21502501 未加载
评论 #21502470 未加载
评论 #21502461 未加载
评论 #21502483 未加载
评论 #21502279 未加载
mden超过 5 年前
Great list, two nits.<p>&quot;Open Source means it has fewer bugs and is more secure.&quot;<p>Maybe not in the absolute meaning of that expression, but I find it true when you only consider the higher quality open source projects, e.g. say the top 10k open source projects. The code that most professional software developers produce at big and small companies alike makes me in awe that their final products work as well as they do.<p>&quot;Being able to program is the most important aspect of being a good software engineer.&quot;<p>Ehh, I would say this is true. Certainly not the only aspect but if you can&#x27;t code then you just end up being someone playing office politics all day trying to hide that fact.
评论 #21502580 未加载
mc3超过 5 年前
The biggest falsehood I believed is that companies care about writing quality code, and you will get to apply the rigor on the job that you learn at uni. On the whole, they don&#x27;t really care, with some exceptions.
评论 #21502371 未加载
alexbanks超过 5 年前
This is a great list. The arrogance of the recent grad is pretty astounding (in my experience) (myself included). I wish more time was spent on solving some of these misconceptions during university.
hybrids超过 5 年前
&gt; Command-line tools should print colorized output.<p>Just add a &quot;colorless&quot; command line argument if you need to parse things without ASCII color codes. Better yet, detect when the program is outputting to a pipe and disable colorized output, e.g. like Git <a href="https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;a&#x2F;19320" rel="nofollow">https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;a&#x2F;19320</a><p>&gt; They will use lots of math in their career.<p>The validity of this is highly domain-specific.<p>&gt; &#x27;git&#x27; and &#x27;GitHub&#x27; are synonymous.<p>Aside from GitHub-a-likes (e.g. GitLab, BitBucket), what does this mean? I&#x27;m assuming that it&#x27;s that you can use Git by its original use pattern (i.e. without a &quot;single-source-of-truth-plus-issue-tracker-as-a-service&quot; system and more as a &quot;true&quot; DVCS) but very few projects seem to really use it this way. They&#x27;re important projects, sure (e.g. Linux) but they are few in number.<p>&gt; Sprinkling printf statements is an efficient debugging technique.<p>This is...opinionated. As useful as GDB can be in a pinch I have often preferred to just output things to console. `printf` specifically is a bad example, as C doesn&#x27;t have reflective abilities (out of the box, anyway), making debug-by-manual-print harder.<p>&gt; Compiler warnings can be ignored, as they&#x27;d be errors otherwise.<p>I smell a Golang programmer...<p>&gt; Using lambda in Python is a good idea because it shows others you have a CS degree and understand the &quot;Lambda Calculus&quot;.<p>Kinda rolling my eyes at this one. Yes one can &quot;be annoying&quot; with FP-like concepts but lambdas can be very useful in a pinch.<p>&gt;Object-oriented programming is the best and most common programming paradigm.<p>&gt;Using a custom written Vector class makes your program object-oriented.<p>I feel I should add my personal falsehood: <i>&quot;State objects with methods means your program is object-oriented.&quot;</i>
floki999超过 5 年前
Great list. I would add: ‘Coding and software development are the same thing’
chc-sc超过 5 年前
CS Students think Steve Jobs was successful <i>because</i> he was a jerk?
评论 #21502272 未加载
评论 #21502403 未加载
oldgradstudent超过 5 年前
&gt; 6. CS professors know how to program.<p>&gt; 7. CS professors know how to use a computer &#x2F; mobile device or how the internet works.<p>I&#x27;m not entirely sure how exposure to CS professors could give anyone that impression.<p>Reminds me how a CS professor proudly showed me how he managed to send an email <i>with an attachment</i>.
评论 #21502458 未加载
Enginerrrd超过 5 年前
Alright, this one eludes me:<p>&gt;Object-oriented programming is the best and most common programming paradigm.
cryptozeus超过 5 年前
Sigh... “10. Compiler warnings can be ignored, as they&#x27;d be errors otherwise.“
ConcernedCoder超过 5 年前
If commenting code is bad, then I don&#x27;t want to be good...
评论 #21502502 未加载
tintintin超过 5 年前
One more: &quot;If you&#x27;re coding on Windows, you&#x27;re doing it wrong.&quot;
评论 #21502493 未加载
muststopmyths超过 5 年前
Reads more like author&#x27;s pet peeves than anything supported by data.
ychen306超过 5 年前
&gt; Sprinkling printf statements is an efficient debugging technique.<p>Debatable.
评论 #21502244 未加载
ossworkerrights超过 5 年前
Here is another one: Python is great for web development.
评论 #21502594 未加载