Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		
- 
				
				 thealex10967y@ruhe That would be too obvious, they needed the assignment to trick me into believing that the function does something 😀 thealex10967y@ruhe That would be too obvious, they needed the assignment to trick me into believing that the function does something 😀
- 
				
				 ruhe8967y@PrivateGER that's a very philosophical question. ruhe8967y@PrivateGER that's a very philosophical question.
 Does it return all_lines countless times or does it return not at all?
- 
				
				 BigBoo22677y@ruhe It's not philosophical. The function has to be evaluated before returning. So it will just deepdive and go bye bye. BigBoo22677y@ruhe It's not philosophical. The function has to be evaluated before returning. So it will just deepdive and go bye bye.
- 
				
				not used to python but isnt that just a setter that also returns the resulting state? could be useful... if the assignment of all_lines is somehow changing the data... the function/variable names are confusing as hell though.
Related Rants




 Map, Filter and reduce explained!
Map, Filter and reduce explained!

 How do functions breakup...
How do functions breakup...
When you tell students to use functions...
joke/meme
functions
you tried