It's a coroutine. Not exactly revolutionary.
That's not exactly helpful if you don't know what coroutines are and how they work.
The Python yield keyword explained
11–20 of 53 posts
Re: The Python yield keyword explained
#12Earlier quoted context omitted.
That's not exactly helpful if you don't know what coroutines are and how they work.
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
#13Earlier quoted context omitted.
That's not exactly helpful if you don't know what coroutines are and how they work.
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
#14Earlier quoted context omitted.
Does studying CS at university make people as insufferably grumpy and unhelpful as you?
Come on, I've got a reasonable point here. People post on forums asking these questions which should have been answered during their educations. If civil engineers had a forum site and someone asked "how do I calculate the load a simple beam", people would say, what the fuck are you doing in your job if you don't know that? Who is employing you and why? Where did you go to college? Who was your tutor because next tim…
Re: The Python yield keyword explained
#15Earlier quoted context omitted.
That's not exactly helpful if you don't know what coroutines are and how they work.
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
#16Earlier quoted context omitted.
That's not exactly helpful if you don't know what coroutines are and how they work.
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.
(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
#17Earlier quoted context omitted.
Does studying CS at university make people as insufferably grumpy and unhelpful as you?
Come on, I've got a reasonable point here. People post on forums asking these questions which should have been answered during their educations. If civil engineers had a forum site and someone asked "how do I calculate the load a simple beam", people would say, what the fuck are you doing in your job if you don't know that? Who is employing you and why? Where did you go to college? Who was your tutor because next tim…
Why do you look down on all these people?
Re: The Python yield keyword explained
#18Earlier quoted context omitted.
That's not exactly helpful if you don't know what coroutines are and how they work.
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
#19It's a coroutine. Not exactly revolutionary.
Re: The Python yield keyword explained
#20Earlier quoted context omitted.
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.
This is probably the biggest jackass comment I've seen on HN in a while. Your college experience definitely shows.