News for hackers. Stuff that matters.
Re:The Python yield keyword explained by johnsonqq on Sunday January 27, 2013 @02:37PM (#5125309)
It's precisely all the help you need to go and look up your notes on coroutines from college. You did go to college didn't you? Or are you an anti-college hipster, suddenly finding the limitations of that approach.
Re:The Python yield keyword explained by to3m on Sunday January 27, 2013 @02:58PM (#5125384)
I studied computer science at a university, not just a college, and coroutines weren't covered during the course. So even if you've got a degree, there's no guarantee you'll have met a coroutine!

(I do agree that a formal education is valuable, even if you already think (or know) you're good at programming. I learned a lot from my course. There's a lot to be said for being forced to learn a bunch of stuff, and when you're under 25 it's not like it's going to hurt.)

Re:The Python yield keyword explained by Leszek on Sunday January 27, 2013 @09:13PM (#5126715)
> at a university, not just a college

College is (most of the time) American for university.

Re:The Python yield keyword explained by eru on Wednesday January 30, 2013 @10:41AM (#5139906)
And in Britain it's even more complicated.
Re:The Python yield keyword explained by ineedtosleep on Sunday January 27, 2013 @02:40PM (#5125320)
This is probably the biggest jackass comment I've seen on HN in a while. Your college experience definitely shows.
Re:The Python yield keyword explained by micampe on Sunday January 27, 2013 @03:39PM (#5125566)
that is likely the reason why they felt the need to create a new account to post it.
Re:The Python yield keyword explained by phpnode on Sunday January 27, 2013 @03:02PM (#5125403)
stch - your account has been hell banned, for nearly a whole year.
Re:The Python yield keyword explained by phpnode on Sunday January 27, 2013 @06:06PM (#5126073)
(replying to myself because I can't reply to stch directly):

What does that mean/how does it affect me?

It means that only people who have specifically turned "showdead" on can see your posts. No one can reply to you posts directly. Your upvotes do nothing and don't count. But crucially, to you, everything seems completely normal.

And howd that happen?

An administrator decided that your first ever comment didn't fit the tone of this site (which it didn't, but well, you were new), so they decided to instantly and silently ban your account forever. So you have been commenting, for a year, and basically no one has seen your posts. I feel really bad about that and I hate this objectionable practise.

Re:The Python yield keyword explained by stch2 on Sunday January 27, 2013 @07:56PM (#5126480)
Wow, that's pretty ridiculous. You'd figure after a few months they'd tell me, right? Is that also why I get "Unknown or expired link" all the time and every page always takes 15-20 seconds to load? I noticed when I logged out that issue went away. I always just assumed the forum was really poorly designed. :o)
Re:The Python yield keyword explained by jlgreco on Monday January 28, 2013 @12:35AM (#5127307)
> Is that also why I get "Unknown or expired link"

No, that is just something HN does.

Re:The Python yield keyword explained by NullSet on Sunday January 27, 2013 @02:54PM (#5125374)
Seriously?