News for hackers. Stuff that matters.
Re:Async/Await will make code simpler by whipoodle on Monday August 21, 2017 @03:42PM (#15067193)
You may not care, but the computer does!
Re:Async/Await will make code simpler by yarg on Monday August 21, 2017 @06:35PM (#15068336)
Perhaps it does, but my point was it does not need to. The only thing that needs to be ensured is that calls to the object are not issued before the result is returned and assigned - for all code that occurs between the call to get the object and the first actual access of the object, it does not matter.
Re:Async/Await will make code simpler by miguelrochefort on Monday August 21, 2017 @03:50PM (#15067270)
Why doesn't the computer do it for me?
Re:Async/Await will make code simpler by whipoodle on Monday August 21, 2017 @04:13PM (#15067457)
Agreed.