Photo by Alexander Shatov on Unsplash

Project

Description


The old way: Closures

// Controller
viewmodel.requestData { data in (...) }
// ViewModel
func requestData(completion: @escaping () -> Void) { service.requestData { response in
response.getData …


The Tools

Jest

CodeClimate


Handling unmaintainable code. Credits: Giphy(https://gph.is/2CDvWUp)

Marcel Kulina

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store