結果 : declarative vs imperative programming swift