vgrechka
08/30/2016, 1:13 PMfun hoisting() {
doFirsThing()
thenSecond()
andSomethingMore()
fun doFirsThing() { /* Long function goes here */ }
fun thenSecond() {
foo()
bar()
fun foo() {
baz()
qux()
fun qux() {
}
}
fun bar() {
}
}
fun andSomethingMore() { /* Long function goes here */ }
}