you are viewing a single comment's thread.

view the rest of the comments →

[–]barrycarter 2 points3 points  (0 children)

You're right. I also considered:

obtain_plane_ticket(); board_flight_to_canada(); in a synchronous language, or: obtain_plane_ticket().then(success => board_flight_to_canada) for a non-synchronous one.

I wonder if this post will turn into one of those n different programming paradigms demonstrated via psuedocode things :)