News for hackers. Stuff that matters.
Re:The case against Kotlin by buremba on Saturday July 29, 2017 @03:42PM (#14882722)
You know, there is a joke that 90% of the developers think that they're better than average. :)
Re:The case against Kotlin by szemet on Saturday July 29, 2017 @04:33PM (#14882893)
"90% of the developers think that they're better than average"

Median. It can happen that 90% of programmers literally better than the average.

Re:The case against Kotlin by raverbashing on Saturday July 29, 2017 @06:07PM (#14883215)
> It can happen that 90% of programmers literally better than the average.

While mathematically true, in practice almost impossible

Re:The case against Kotlin by buremba on Saturday July 29, 2017 @05:07PM (#14883011)
This is part of the joke. It can be true but it's almost impossible to have this kind of distribution among developers.
Re:The case against Kotlin by mnm2 on Saturday July 29, 2017 @05:01PM (#14882988)
The few bad/worse developers are then 10% and would have to be really bad
Re:The case against Kotlin by emodendroket on Saturday July 29, 2017 @06:39PM (#14883318)
Is that unbelievable?
Re:The case against Kotlin by mbreese on Saturday July 29, 2017 @04:22PM (#14882855)
Another way to think about it - 50% of programmers think they are better than average. And the other 50% are. [1]

[1] this assumes programmer skill is normally distributed, which I doubt.

Re:The case against Kotlin by orclev on Sunday July 30, 2017 @02:49AM (#14884743)
Anecdotally my experience is that for every one really good developer there's about 25 or 30 mediocre ones, and 5 or so really terrible ones. This is based mostly around what I've seen conducting interviews in my area. That is also highly variable, I did some interviews for another office (in another country) and saw ratios more like for every three good developers there were two mediocre ones, and no terrible ones. Maybe we just had a much better recruiter feeding us candidates in the other country, or maybe they just have exceptional programmers living there.
Re:The case against Kotlin by et2o on Sunday July 30, 2017 @11:45AM (#14886413)
Just symmetrically distributed, doesn't have to be Gaussian. I will crawl back into my hole of pedantry now.
Re:The case against Kotlin by zem on Saturday July 29, 2017 @03:53PM (#14882754)
you can thank that one guy who wrote a 10000 line php function to validate email addresses.
Re:The case against Kotlin by sethrin on Saturday July 29, 2017 @07:08PM (#14883442)
10000 lines might not be enough. I'm not sure that it's possible to determine whether something is a valid email address other than trying to send mail to it. If you haven't read the RFCs, they're pretty much a nightmare. The HTML5 spec has this little gem:

> This requirement is a willful violation of RFC 5322, which defines a syntax for e-mail addresses that is simultaneously too strict (before the "@" character), too vague (after the "@" character), and too lax (allowing comments, whitespace characters, and quoted strings in manners unfamiliar to most users) to be of practical use here.[0]

[0] https://www.w3.org/TR/html5/forms.html#e-mail-state-(type=em...

Re:The case against Kotlin by sethrin on Sunday July 30, 2017 @08:11AM (#14885610)
As an aside, if anyone has ever actually used comments, whitespace, or quoted strings in an email address, that would be be extremely interesting to hear about.
Re:The case against Kotlin by eropple on Saturday July 29, 2017 @04:03PM (#14882784)
That's why I said "probably." ;)
Re:The case against Kotlin by edem on Saturday July 29, 2017 @04:37PM (#14882905)
This comment is useless since you don't state anything, don't refute anything and add no value.