15

I FUCKING HATE SWIFT
THE SAME CODE DOESN'T COMPILE

Comments
  • 4
    Oh shit, `let x = Double(historySlider.value)` fixed issue
  • 5
    It should have given you an error that historySlider.value is not a double

    I sometimes get a crash and XCode points me to memory addresses instead of the line of crash, or sometimes take me to AppDelegate, like WTF does this has to do with the code caused the crash?
  • 6
    @gitpush sometimes it says "Ambiguous use of operator '+'" Come on, Swift, even JS does better!
  • 3
    @rostopira if you put in your code:
    let z= historyMarkers

    XCode will go crazy like how the fuck you do not put a space between z & = !!
Add Comment