News for hackers. Stuff that matters.
Re:A Clever Line of JavaScript by camus2 on Saturday December 02, 2017 @06:24AM (#15831436)
> It is possible to write simple and obvious code in C++. A lot of people just choose not to. ;-)

You still need to be C++ fluent enough to be able to read other people's code. And it's not like everybody has the same definition of "simple and obvious".

Re:A Clever Line of JavaScript by krylon on Saturday December 02, 2017 @01:59PM (#15833368)
> And it's not like everybody has the same definition of "simple and obvious".

That is a very good point. I had an interesting discussion with a Perl programmer once regarding the use of Perl's default variable $_ - to him, code that relied heavily on it was straightforward and readable. But to a newcomer, it can be very tricky to figure out what is going on. And even to an experienced Perl programmer, it can increase the mental overhead of parsing code significantly if s/he is not used to it.

Re:A Clever Line of JavaScript by coldtea on Saturday December 02, 2017 @08:09AM (#15831719)
>And it's not like everybody has the same definition of "simple and obvious".

No, but it's like we can expect of people to more or less agree on a definition of "simple and obvious" or else be outliers.