News for hackers. Stuff that matters.
Re:Anonymous programmers can be identified by analyzing codi... by GuiA on Thursday January 22, 2015 @02:16AM (#8927980)
Interesting to see this formalized. When I was in grad school and graded undergrad homework/exams, I could most definitely recognize the students by their coding styles after just a few assignments. Every student ends up developing their own habits, and they're quite easy to spot in something as repetitive as code.

I remember teaching a Matlab class for engineers and scientists that was about 50/50 male/female, and the women tended to have much neater code. Code written by males often had comments all jumbled up, inconsistent number of spaces between braces/operators/etc, incoherent variable names, worse names for functions, and so on.

Re:Anonymous programmers can be identified by analyzing codi... by digi_owl on Thursday January 22, 2015 @08:26AM (#8928990)
Reminds me of that story about why switchboard operators were women.

During the telegraph era, boys often hung around outside the office, as they could earn a bit of coin delivering telegrams.

With the introduction of the phone, they tried using those boys as switchboard operators. Problem was that they would prank the callers by either cross wiring calls or unplugging them mid-call.

So instead women were hired, as they didn't do that. Instead they would listen in on calls, and so became a source of gossip.

This was seen as an acceptable trade-off by the companies, as at least the calls where properly and reliably routed.

Re:Anonymous programmers can be identified by analyzing codi... by okasaki on Thursday January 22, 2015 @06:49AM (#8928648)
It's funny to think that if you reversed the genders the comment would at the bottom of the page rather than the top.
Re:Anonymous programmers can be identified by analyzing codi... by vertex-four on Thursday January 22, 2015 @07:44AM (#8928849)
On HN? Definitely not.
Re:Anonymous programmers can be identified by analyzing codi... by jrs99 on Thursday January 22, 2015 @07:55AM (#8928888)
could you spot plagiarism?