@aral Using Objective-C ;)
-
-
-
@pilky But… but… I. Can’t. Go. Back. (Too soon to feel that way? Maybe I should for bits.) -
@aral I used it for a few days before realising it won't be ready for at least a few years, and went straight back to Obj-C -
@pilky Argh, it just seems like everything I need right now is “unavailable”—NSMethodSignature being the latest. -
@aral@pilky have you seen this post on Apple's Swift blog: https://developer.apple.com/swift/blog/?id=19 … -
New conversation -
-
-
@aral yeah, public all the things. https://github.com/artsy/eidolon/commit/82dad0aa11c5a405f0e45362fdc7071cbe4f6d9c … -
@orta Hah, yes :)
End of conversation
New conversation -
-
-
@aral It's not the only thing that's broken in Swift ATM. Try debugging mixed ObjC/Swift code. IMHO Swift is not ready for production yet. -
@mrtoto Trying to keep as much in Swift as I can but not always practical. Thankfully haven’t run up against anything yucky there yet…
End of conversation
New conversation -
-
-
@aral for private methods I like this approach: http://www.quora.com/Should-you-unit-test-private-methods-on-a-class … -
@ijansch Yeah, agree on (not) testing private methods; big fan of BDD, but marking everything explicitly public just for testing feels wrong
End of conversation
New conversation -
-
-
@aral Have you seen this? http://stackoverflow.com/q/24994593 -
@awendt Yep — thanks :)
End of conversation
New conversation -
-
-
@aral If you see access to private/internal parts as a requirement for unit testing, then yes, it's broken.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral Add a public _test_normalFunctionName for each thing you want to expose that calls proper func. Types trickier, maybe public subclass.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral testing behaviour of class' public interface should be enough. Testing private implementation details makes tests more fragile.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral ... and the most likely solution is the D in SOLID.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.