Ein Sammelbecken für lustige Erlebnisse wahnwitziger Sinnlosigkeit in Swift.
(Also Themen wie zum Beispiel Swift Enums)
Echt jetzt? So wirklich ehrlich und wahrhaftig?
Ich meine, da ist ja Java schon weiter…
(Also Themen wie zum Beispiel Swift Enums)
Quellcode
- Playground execution failed: MyPlayground.playground:6:28: error: binary operator '+' cannot be applied to operands of type 'Int' and 'Float'
- let result:Float = integer + float
- ~~~~~~~ ^ ~~~~~
- MyPlayground.playground:6:28: note: overloads for '+' exist with these partially matching parameter lists: (Int, Int), (Float, Float), (Int, UnsafeMutablePointer<Memory>), (Int, UnsafePointer<Memory>)
- let result:Float = integer + float
- ^
Echt jetzt? So wirklich ehrlich und wahrhaftig?
Ich meine, da ist ja Java schon weiter…
java version "1.8.0_25" schrieb:
65.5
«Applejack» "Don't you use your fancy mathematics to muddle the issue!"
Iä-86! Iä-64! Awavauatsh fthagn!
Iä-86! Iä-64! Awavauatsh fthagn!
kmr schrieb:
Ach, Du bist auch so ein leichtgläubiger Zeitgenosse, der alles glaubt, was irgendwelche Typen vor sich hin brabbeln. :-P