3,297 karma · joined Nov 15, 2012 (14y ago) · 1,171 submissions
comment 13y ago · link · parent
A team lead that can't code is like an Army officer that can't pass his physical tests or clean his rifle. He will not have the respect of the rank and file. A team lead (as opposed to a project manager) that can't code is doomed.
(Notice I don't mention language, a good programmer can be coding in something new within a week or maybe two and after a couple of months should be completely fluent.)
comment 13y ago · link · parent
I have a feeling that a C/pthreads or Go program probably would have been much easier to troubleshoot (and likely faster as well).
comment 13y ago · link · parent
Nothing is worse than seeing a "r" in the body of some function or as a struct member and not knowing if it is a reader, response, request so rather than using "r", I'll go with rdr, resp, req or this (were applicable). That is hardly verbose and our code is immensely more readable than something "idiomatic" like the Go standard library IMHO. I think this really should not be considered an issue of idiomaticness, if is was gofmt or go vet should care.
The short is if you like Go and not single letter var names, great use Go with longer variables names! I realize this is a religious issue so I can already feel the flames burning :)
comment 13y ago · link · parent
Maybe your product needs to be very high performance so you hire a team of C programmers. What you might find is that their idea of iterating quickly is on a different timescale than yours, due to the low-level and unforgiving nature of C perhaps your team tends to be pedantic (by your standards) or correctness/detail oriented (by theirs).
In this situation your team, influenced by your technology choice, is bringing a different value set than your own to the table. BUT this is not (necessarily) a bad thing, if C really is be best tech for your product your team can strive merge both your and their values; however, my point is without you actively trying to do that, your tech just defined the value set, not you. (In this case it also possible that maybe Rust or Go would have been better tech, but that is a different conversation)
comment 13y ago · link · parent
People are crazy to think that Google should not just have one account that spans all their services, it makes business and technical sense; however, if you don't like G+ just don't use it- your Google account just might mean you have a blank place holder page there.
comment 13y ago · link · parent
comment 13y ago · link · parent
C++ is too complex of a language IMHO. Complexity is bad for new people as it takes a long time to know the entire language. And its bad for existing people as it provides too many ways to do the same thing. Rusts features look to be a superset of C++... You could substitute "too complex" with "too big".
>>Anyhow, no reason to have a flame war on the subject. Rust isn't a hammer and neither is Go. :)
I thought this was an interesting and friendly conversion, not a flame war. I do think everyone involved in this conversion probably agrees with each other in general, just maybe not particulars.
And yes everyone has their favorite hammer, that doesn't mean its not worth discussing which hammers are best for which tasks.
comment 13y ago · link · parent
>>which means we can control safety and performance much better, but at the cost of the programmer having to think more
Outside of systems software, there is no room for this. If the top 5% of programmers wrote all the software in the world Rust would be great, but that is just not the case.
comment 13y ago · link · parent
I think Go could replace Java/C++ for server applications and Rust could replace C/C++ for systems applications. I think each is better suited for those domains.
>>Go has some cool features... but I have yet to find a really compelling reason to use it over anything else.
To me its all the good parts of C/Java with all the bad stuff left out + easy concurrency, uber fast compile times, duck/structural typing and a minimalistic ideal.
>>I also find it to be kinda gross looking. (But maybe I am just weird in that respect?)
I think it is the most beautiful language I have ever seen- It reminds me a really really clean clear C, only better. (But maybe I am just weird in that respect?)
comment 13y ago · link · parent
This is the way it should be. You will learn new tech as needed your entire career, if you have the right preparation it should be a no brainer. You need to learn the theory once. Outside of the west coast most companies realize this and invest in training as needed.
It is the hipster too cool for school startup kids that have things wrong. They never went to school, they don't realize that picking up their favorite $language is trivial for anyone with the proper background and just a means to an ends, writing useful software.
>>Startups don't hire new grads because they can ramp up faster, they hire them because they don't have families to take up their time, so they don't mind working 80 hours a week for peanuts.
This, although foreign workers can be appealing for some of the same reasons.
comment 13y ago · link · parent
In regards to the whole neuroplasticity/cognitive decline, I think this varies a lot by person and their environment. I know people in their 60s who are much more agile thinkers than other I know in their 40s.
comment 13y ago · link · parent
comment 13y ago · link · parent
The future is now!
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
It is almost always the first language ported to any system, almost every computer science program at least covers the basics, it has been in 1st/2nd place on the TIOBE index for over a decade, its the 5th most popular language on github by commits and it is over 40 years old.
But- I'm willing to accept there might be people on Hacker news that don't know C, thats why I gave suggestions to the author to expand on the content and make it interesting to a wider audience. That was the point of my post.
comment 13y ago · link · parent
This might have been mildly interesting if there had been the assembly for a few different architectures (x86, MIPS, ARM, PowerPC, etc) showing how the C code was translated to assembler for each. And could have been very interesting with an additional discussion of memory barriers and atomic operations in C and their relation to assignments and pointers.
comment 13y ago · link · parent
Not really, it has nothing to do with being effective or loud, they go for the option that spreads the most terror... For example poison city water supply or send letter bomb. The flasher option here spreads less terror. The goal of a terrorist is to force political change though terror.
comment 13y ago · link · parent
Silly quibble- same difference, there are few things better for getting "panicky attention" than randomly taking lives or maiming people.
I agree with your other points.
comment 13y ago · link · parent
The terrorists want my life; its the government that wants my freedom. I'll keep my freedom, thank you, and take my chances with my life. My chance of being injured by terrorism is infinitesimal compared to the very real chance of losing civil rights and privacy I value.
As Patrick Henry said: "Give me Liberty, or Give me Death!"
comment 13y ago · link · parent
>>It's a strategy. Yes it is. It is a strategy to avoid over looking awesome female candidates, intentionally or otherwise. Calling this a strategy is fair, calling is hypocrisy is not.
>>She's in there not because she's a great engineer, but because she is a woman who happens to be a great engineer.
No, she is there because she is a member of a group you think you may be discriminating against AND she is a member of the group you are seeking to hire for. Like you said it is a strategy.
You seem offended by what I think are very pragmatic ways to deal with the issue, care to suggest your alternatives? If you recall the OP is looking for legal ways to address the issue-
comment 13y ago · link · parent
I think that is your own projection; The OP already mentioned that his female engineer is an awesome engineer, so I'm assuming she is qualified to be there from an engineering perspective (and I'm not saying she needs to be the only engineer there). And the organization is looking for a check to make sure the hiring team is not discriminating against women, having a woman there hopefully should help. At a minimum it would prevent outright sexist remarks during the discussion of candidates as making them in her presence would reasonably constitute sexual harassment. Also not to be over looked, the presence of a successful female engineer from the hiring organization may also make female candidates more comfortable.
As for dedication, I mean dedication to not over looking awesome female candidates, intentionally or otherwise.
comment 13y ago · link · parent
Put another way, rather than trying to explicitly seek awesome female employees, just make sure the awesome female candidates don't slip through. I think execs often mistakenly think they can fix cultural issues by fiat, when what is really needed is dedication and time.
I think what constitutes imbalance also needs to be defined. If 10% of qualified engineering candidates are female does having 10% of your engineering staff be female constitute balance? I think the case could be made it does; however, in relation the birth ratio of our species is it certainly imbalance.
comment 13y ago · link · parent
Also of interest: https://code.google.com/p/go/issues/detail?id=5323
1: https://groups.google.com/forum/?fromgroups=#!topic/golang-n...
2: https://github.com/go-sql-driver/mysql/pull/52 https://github.com/go-sql-driver/mysql/pull/55