106
Comments
  • 31
    Or stairway to heaven?
  • 2
    Damn xD
  • 2
    Checkout async module
    Will solve your callback hell problem
  • 2
    Haha I'm glad I moved to elixir so I don't have to struggle with this insanity
  • 1
    CompletableFuture?
    JavaScript promise?
  • 1
    @nickhh I was about to say the same. With promises there's no problem with this.
  • 1
    @Divisionbyzero I've seen this hell with nested promises. The worst part was the guy saying that js and it's promises were hell. Poor guy.
  • 0
    Pyramid of doom in Swift
  • 0
    @siksik okay 🤔
  • 0
    Promises masterrace
  • 0
    @bdhobare go google promises for swift, if you got a lot of closure callbacks
  • 2
    Promises and async await, it's like callbacks never existed
  • 1
    I would go one step further than promises and look into the reactive programming paradigm (RxWhatever). Observables changed my outlook of programming things like UI from "I'll have the dreadfully boring spaghetti for lunch" to "activate exciting timelord streaming powers" 😁
  • 0
    Sorry dude, phone was dead.
Add Comment