The Python yield keyword explained
stackoverflow.com
The Python yield keyword explained
1–10 of 53 posts
Re: The Python yield keyword explained
#2Re: The Python yield keyword explained
#3It's a coroutine. Not exactly revolutionary.
Re: The Python yield keyword explained
#4What is a metaclass in Python - http://stackoverflow.com/questions/100003/what-is-a-metaclas...
Understanding Python decorators - http://stackoverflow.com/questions/739654/understanding-pyth...
Re: The Python yield keyword explained
#5It's a coroutine. Not exactly revolutionary.
Re: The Python yield keyword explained
#6It's a coroutine. Not exactly revolutionary.
I use yield and generators regularly. They just make sense, but I never knew what a coroutine is in an academic sense
Re: The Python yield keyword explained
#7Earlier quoted context omitted.
I use yield and generators regularly. They just make sense, but I never knew what a coroutine is in an academic sense
This is why you study CS at university before you start work as a programmer. Otherwise you end up being amazed by the basic CS concepts, or worse, you end up reinventing them badly.
Re: The Python yield keyword explained
#8Earlier quoted context omitted.
I use yield and generators regularly. They just make sense, but I never knew what a coroutine is in an academic sense
This is why you study CS at university before you start work as a programmer. Otherwise you end up being amazed by the basic CS concepts, or worse, you end up reinventing them badly.
Re: The Python yield keyword explained
#9Earlier quoted context omitted.
I use yield and generators regularly. They just make sense, but I never knew what a coroutine is in an academic sense
This is why you study CS at university before you start work as a programmer. Otherwise you end up being amazed by the basic CS concepts, or worse, you end up reinventing them badly.
Re: The Python yield keyword explained
#10Earlier quoted context omitted.
This is why you study CS at university before you start work as a programmer. Otherwise you end up being amazed by the basic CS concepts, or worse, you end up reinventing them badly.
Does studying CS at university make people as insufferably grumpy and unhelpful as you?
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 time I'm at a dinner at my college I'm going to ask him how the fuck did they pass you.
Our current trend of saying college doesn't matter really starts to be a problem when professional programmers (yeah I'm assuming that the guy in the question is) are asking basic questions like this. This shows that we do need college education for programmers.
It also irritates me - this guy could have taken the time to learn all these basics, but for whatever reason he thought it didn't matter, and now he's paying for it.