6,801 karma · joined Feb 26, 2009 (17y ago) · 1,367 submissions
comment 14y ago · link · parent
"Static type checking" and "unit testing" are two concepts. There are numerous concrete implementations of these two concepts. The former is implemented in several languages, including C++ and Java and Haskell. The latter is implemented in several frameworks/tools, such as TestNG and PyUnit.
The article concludes that unit testing, as a technique for discovering and/or preventing defects, cannot wholly replace static type checking.
Apart from mentioning the concrete implementations of abstract techniques that the author used, the article does not conclude anything about the benefits of using specific languages, frameworks or tools.
What you have claimed so far is that:
1. there is a "hidden assumption is that all static and dynamic typing are created equal, i.e., since Haskell is statically typed and Haskell appears to have caught Python bugs that unit tests did not, therefore Java will catch bugs in a Ruby codebase, C++ will catch bugs in a JavaScript codebase, etc."
If anyone jumped to this conclusion, it was you. The only thing I can conclude from the article is that static typing checks such as those implemented in Haskell catch bugs that were not caught by unit testing logic such as that used in Python projects within the study. To conclude anything more I would need the data not present in the article, such as exactly what types of errors we caught or missed, etc.
2. the conclusion of the study "makes an unwarranted equivalence of all languages that have 'static type checking'"
It doesn't. The conclusion about the static type checking vs. unit testing might not be backed by enough solid data, but the conclusion makes no claims about languages, beyond specifying which languages were used in the study.
3. the claim that "this benefit applies to all languages with static typing" is "precisely what" the conclusion "says".
No occurrence of any phrase even remotely resembling the quote can be found in the article. Saying "this is precisely what it says" means "you'll find that phrase or one very similar to it in the text". Maybe you were trying to claim that "this is precisely what it means", but it's definitely what it "says".
All in all, the sweeping generalization about the concrete languages was introduced by you. My guess is that this is because you were, like me, frustrated by the vagueness of the article. I would have loved seeing more concrete data. Saying "X types of errors were found" is not as good as saying "the following types of errors were found" and that's just the start.
comment 14y ago · link · parent
This is a very strong claim and it's false. The article doesn't say that anywhere. You interpret it that way.
I would hazard a guess that presenting your own interpretation as fact is what brought on those downvotes you complain about below.
comment 14y ago · link · parent
Previous submission: http://news.ycombinator.com/item?id=4106269
comment 14y ago · link · parent
I honestly don't get this attitude in our industry. Nobody tells a general practitioner, "Nah, you don't really need to know what comprises a living cell. You most likely won't even need to drop down to that level."
Just because you don't need to do any low level work, doesn't mean you shouldn't learn anything about it.
comment 14y ago · link · parent
Those who have switched to the SAE's approach swear by it, however, some drivers can't adjust to not using the outside mirrors to see directly behind the car and miss being able to see their own car in the side mirrors.
The reason I need to see a bit of my car in the side mirror is because I need to know not only what is behind me, but also where it is in relation to my car.
comment 14y ago · link · parent
1) It's a multidisciplinary effort. Unless you're someone with multiple talents, you need to put together a team to work on it. You might try to pull it off all by yourself using free resources you can find on the Internet, but it's next to impossible to make a truly great game that way.
2) The biggest amount of work will be spent on "polishing" things. Dotting the i's and crossing the t's, testing your levels and tweaking them, all that stuff is a lot of work. And videogame players are a lot less forgiving than other application users.
comment 14y ago · link · parent
While I understand what you're saying here, I can't help but think of how many times my co-workers asked me something they could have easily looked up via Google. I can easily extrapolate that to a border guard, especially if there's an added benefit of harassing a guy you don't like.
comment 14y ago · link · parent
Maybe I'm wrong, but to me this is a rather simple matter: there are great people who happen to have Asperger's syndrome, ADD, dyslexia, autism or what have you, but unless someone proves some sort of link between their greatness and things they were diagnosed with, then that's just what it is -- people who happen to be both great and have one of the above.
comment 14y ago · link · parent
I liked the interjected additional content it includes, but there are people who hate it, so YMMV.
comment 14y ago · link · parent
Can someone please explain why this is a concern? I've also had a series of jobs lasting usually less than 18 months. Whenever I witness people judging someone as a "job hopper", I wonder why they do it.
The only thing that comes to my mind is the idea of "loyalty", but just looking at dates won't give you any idea of why the I changed jobs as often as I did or whether I made sure before leaving that the rest of the company could pick up my work.
If anyone can share some deeper insight or a different point of view, I would be most interested in reading about it.
comment 14y ago · link · parent
The way people interact with other people can not be reduced to a finite set of values, such as "friend or not friend" or "family member, lover, friend, acquaintance, co-worker". In other words, this is not a Facebook vs. G+ dilemma.
The problem here is the fact that Facebook has, yet again, limited the way we interact with other people by imposing their own structure and rules: if you don't want a person to know you're paying attention to them, don't pay attention to them.
Your proposed solution of "don't add them as a friend" is even more restricted. Maybe it's your way of interacting with people, but I don't see how it's justified to try to impose it on everyone else.
comment 14y ago · link · parent
comment 14y ago · link · parent
"I wish I'd thought of [this]... The need for people who can read and write has never been greater. This is a fabulous product at the right time" -- Tim O'Reilly, Founder and CEO, O'Reilly Media
"A young man asked me for advice for 'those who aren't people who can read and write'. I said he should try to become a person who can read and write" -- Fred Wilson, Partner, Union Square Ventures
comment 14y ago · link · parent
fortunate enough to be endowed with a highly intelligent brain
That's just taking it too far. By that same logic they were fortunate that, about 2 billion years, certain bacteria and algae began to appear and thus we have life on Earth today.
If you think did anything alone in your entire life, you are sorely mistaken.
We're all standing on the shoulders of the giants. That doesn't mean we should spend our time looking down and exclaiming "Wow, these guys sure are tall!" We should be aware of where we are, grateful that we're there and make the best of it. And that means look forward and up, not down.
Everybody around you deserves respect because they are the co-authors of your life.
That's where you're wrong. It's true that everything in my life factors into my personality and my measure of success. That doesn't automatically mean that everything and everyone around me deserves my respect.
Like it or not, certain levels of respect have to be earned. Likewise, respect can be easily squandered.
comment 14y ago · link · parent
Recently I have been seeing leaders in software communities regardless of being correct or not, basically blowing up on other software developers on the internet because of something _stupid_ they have done or said.
That's only because you've started paying attention recently and that is only because you, like so many people (myself included), get your dose of interesting news from places like Hacker News, instead of participating directly in, say, kernel development.
Let's face it, it has become trendy to criticize outstanding people with outstanding accomplishments for being rude. Yeah, okay, I get it: nobody likes being humiliated. Plus, everyone has been humiliated at some point in their life and isn't it just incredible how, after all that time, it still smarts to remember it?
It's easy to jump to conclusions and on the bandwagon, easy and righteous to join the mob with pitchforks and torches. It's a lot harder to put yourself in the shoes of "the rude dude" and wonder whether you have all the context you need in order to judge him or her.
REALLY?! Just because you were fortunate to work on something that is widely used and appreciated does that give you the right to openly belittle people's efforts and work.
The short answer? Yes. The long answer is a bit more complicated, but since you and so many others seem to like simplifying things, I thought I would offer the short answer first.
The long answer is that I've seen that kind of reaction firsthand from people who have built something incredibly complex from scratch, know it inside out and get the same well-intentioned but poorly thought-out suggestions all the freaking time. It doesn't stop there, unfortunately. Those kinds of things tend to get debated to death, because bikeshedding is so alluring. More often than not, the person who offered the suggestion in the first place will get offended when their suggestion gets tossed out summarily, without realizing that they're far from first to come up with that idea. And some of those who get offended will react badly and even abusively. So in the end, the guy who built the damn thing decides that maybe they don't have to take that shit anymore.
Yeah, I know, Mom and Dad taught me to be polite to everyone and never be rude and say "please" and "thank you" and two wrongs don't make a right and I shouldn't sink down to "their" level and all that. You know what? I can't imagine being as accomplished as Linus or Crockford and turning the other cheek all the time, not when there are people who will write stuff like "Just because you were fortunate to work on something that is widely used and appreciated". Nope, they were not fortunate. If you think that's luck, you should spend your time playing lottery.
And then there's the assumption that every time we see the kind of reaction Linus is famous for, it's because someone feels entitled to "belittle people's efforts and work". Never mind that it might be a situation in which no effort or actual work took place. Never mind that it might have been something truly dumb and a little research would have revealed it to be a staggeringly bad idea. Hell, never mind that it could have been a troll and that seeing a reply for which there is no original message should have indicated to you, as a reader, that there's a missing piece and that you simply don't have enough information.
No, let's all be self-righteous instead, because -- to paraphrase xkcd -- someone was rude on the Internet.
comment 14y ago · link · parent
Of course, you could throw TortoiseGit out of this whole story if you don't need that kind of stuff or if you're comfortable with using command line for certain details.
comment 14y ago · link · parent
comment 14y ago · link · parent
My initial assumption is: Linus/Crockford/whoever-else-is-coming-across-as-a-cranky-old-person has seen whatever-he-is-berating or something very similar before, not just once but ridiculously often. That makes the reaction quite understandable and justified.
Plus, let's face it, we all want to be free to react like that when it's deserved ;)
comment 14y ago · link · parent
comment 14y ago · link · parent
People tend to focus on the happy fact that you actually can change your fundamental assumptions in software without loud, ugly demolition sounds, but they tend to stay blind to the fact that it still involves a lot of work.
It's partly our fault, too. We're the ones who have been promising that "this time it'll all work out with this fancy new methodology we've discovered". I've seen a lot of people assume that "agile" means "clients can change their mind as often as they want and we'll take it in stride" and that we'll do so at zero cost.