News for hackers. Stuff that matters.
Re:C++ confessions of a C developer by pjmlp on Sunday December 04, 2016 @12:09PM (#13100639)
Does anyone know everything about Python 3.5, language and libraries, including evolution issues when having to handle old code?

What about style guides to forbid people to use generators, metaclasses or other advanced features?

Just to pick a language most people think it is easier than C++.

Re:C++ confessions of a C developer by witty_username on Sunday December 04, 2016 @12:38PM (#13100788)
Are generators really an advanced feature? I've used them pretty often (instead of returning a list) and they're pretty simple.
Re:C++ confessions of a C developer by pjmlp on Sunday December 04, 2016 @02:22PM (#13101300)
For many types of programmers that would be happy with something like C or Go, most likely yes, given that they already allow for some interesting patterns. Also because they changed a bit, in the early days you could not pass arguments back to them.

However, when I wrote generators I was actually thinking about comprehensions.

Re:C++ confessions of a C developer by witty_username on Monday December 05, 2016 @01:46AM (#13103793)
I think comprehensions are less advanced (they're a specialized case of iterators) and very commonly used.

> Also because they changed a bit, in the early days you could not pass arguments back to them.

Sending arguments is certainly advanced.