``` fun hoisting() { doFirsThing() thenSec...
# announcements
v
Copy code
fun 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 */ }
}