Skip to content

宿題024-関数型言語とLamda式 #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
domanthan opened this issue Sep 4, 2018 · 0 comments
Open

宿題024-関数型言語とLamda式 #24

domanthan opened this issue Sep 4, 2018 · 0 comments

Comments

@domanthan
Copy link
Contributor

domanthan commented Sep 4, 2018

関数型言語とLamda式

© 2018 Gridscale Inc. http://www.gridscale.com

前振り

Pythonはマルチパラダイム言語です。関数型プログラミングを行うことは可能です。
難しい呼び方である関数型プログラミングはなんの為でしょうか。
1)形式的に証明可能性
  これは実用性はない。覚えなくでいい

2)モジュラー性
  問題を細かく分割し、定義する。
  
3)デバグやテストの簡単さ
  関数単位をテストし、正しくすれば、プログラムの品質は高くなる。

4)高階関数
  関数を作る関数ができる。
  関数をパラメータにすることできる。
  これによって、プログラムの再利用性が高まる。

5)Lambda式
  def文がなくても、関数を定義でき、呼び出すことが可能。

6 ) operator モジュール
  

要件説明

reference

宿題学習ポイント(Concept)

https://docs.python.jp/3/howto/functional.html

参考実装

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# What we learn here: xxxxx

言語リファレンス

https://docs.python.org/ja/3/reference/index.html

宿題の提出について

githubに宿題をコミットする際、必ず下記の様なフォルダ構成にしたがって欲しいです。
宿題を完成させたエビデンスファイルも合わせて出してください。できれば。

     ---- 「ご自分のgithubid]  
         ---   less001  
               -- file001.py  
               -- evidence001.txt  
@domanthan domanthan changed the title 宿題024-関数型言語 宿題024-関数型言語とLamda式 Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant