結果 : function oriented approach and object oriented approach