| author | Christian Urban <urbanc@in.tum.de> | 
| Thu, 15 Nov 2018 03:35:38 +0000 | |
| changeset 202 | 3b40cc2a938a | 
| parent 194 | 2e373c31baed | 
| child 229 | cfcaf4a5e5b4 | 
| permissions | -rw-r--r-- | 
| 194 | 1  | 
codejudge  | 
2  | 
||
3  | 
https://www.codejudge.net/docs/reference  | 
|
4  | 
||
5  | 
||
6  | 
Race Track game  | 
|
7  | 
Game of life  | 
|
8  | 
||
9  | 
||
10  | 
===================  | 
|
| 192 | 11  | 
CS quotes  | 
12  | 
https://henrikwarne.com/2016/04/17/more-good-programming-quotes/  | 
|
13  | 
https://henrikwarne.com/2017/09/16/more-good-programming-quotes-part-2/  | 
|
14  | 
||
| 181 | 15  | 
|
| 192 | 16  | 
===================  | 
17  | 
“To have another language is to possess a second soul.”  | 
|
18  | 
||
19  | 
― attributed Charlemagne, Emperor of the Carolingian Empire (Western Europe)  | 
|
| 191 | 20  | 
|
21  | 
||
| 192 | 22  | 
-------------------  | 
23  | 
FP strongly discourages changing the state of a variable once initialized. This has a profound effect upon concurrency. If you can’t change the state of a variable, you can’t have a race condition. If you can’t update the value of a variable, you can’t have a concurrent update problem.  | 
|
24  | 
-------------------  | 
|
25  | 
||
26  | 
8. Forced Null-Checks  | 
|
27  | 
||
28  | 
In Java, the method signature of a public method does not tell you if  | 
|
29  | 
a returned value can be null or not. Take this signature for instance:  | 
|
30  | 
||
31  | 
public List<Item> getSelectedItems()  | 
|
| 181 | 32  | 
|
| 192 | 33  | 
What happens when no item is selected? Does this method then return  | 
34  | 
null? Or does it return an empty list? We do not know for sure without  | 
|
35  | 
looking into the implementation of this method (except we are very  | 
|
36  | 
lucky in this case that the signature has a good javadoc description  | 
|
37  | 
of the return type). There are two mistakes a developer could possibly  | 
|
38  | 
make: (1)fForgetting to check the return value for null when it can be  | 
|
39  | 
null, resulting in the famous NullPointerException, or; (2) checking  | 
|
40  | 
it for null although it never can be null, resulting in needless code.  | 
|
| 181 | 41  | 
|
| 192 | 42  | 
|
| 140 | 43  | 
|
44  | 
||
| 122 | 45  | 
why functional programming matters  | 
46  | 
http://queue.acm.org/detail.cfm?id=2038036  | 
|
47  | 
||
| 192 | 48  | 
why pure functions  | 
49  | 
http://www.deadcoderising.com/2017-06-13-why-pure-functions-4-benefits-to-embrace-2/  | 
|
| 122 | 50  | 
|
51  | 
||
52  | 
BufferOverflow  | 
|
53  | 
http://seclists.org/oss-sec/2017/q2/344  | 
|
54  | 
||
| 192 | 55  | 
============  | 
56  | 
||
57  | 
wartremover  | 
|
58  | 
https://blog.knoldus.com/2017/06/15/remove-scala-warts-with-wartremover/  | 
|
| 122 | 59  | 
=========  | 
60  | 
Intro Videos  | 
|
61  | 
https://www.youtube.com/watch?v=ugHsIj60VfQ (30:00 slide about functions)  | 
|
62  | 
||
63  | 
https://www.youtube.com/channel/UC1VAdzkoY7M2e3msbW9Ur8w/videos?shelf_id=0&view=0&sort=dd  | 
|
64  | 
||
65  | 
||
66  | 
===============  | 
|
67  | 
Scala warts  | 
|
68  | 
http://www.lihaoyi.com/post/WartsoftheScalaProgrammingLanguage.html  | 
|
69  | 
||
70  | 
https://www.reddit.com/r/scala/comments/616n3y/could_anyone_recommend_scala_resources_that/  | 
|
71  | 
================  | 
|
72  | 
||
73  | 
||
74  | 
online compiler  | 
|
75  | 
https://scalafiddle.io/  | 
|
76  | 
http://www.scala-lang.org/blog/2017/05/19/scastie.html  | 
|
77  | 
||
78  | 
||
79  | 
------------------  | 
|
80  | 
Book  | 
|
81  | 
http://twitter.github.io/effectivescala/  | 
|
82  | 
-------------------  | 
|
83  | 
||
84  | 
Very good explanation of what being functional programming means  | 
|
85  | 
https://dotboris.github.io/2017/04/07/functional-programming/  | 
|
86  | 
||
87  | 
||
| 
95
 
4fa7231fede7
added link file
 
Christian Urban <christian dot urban at kcl dot ac dot uk> 
parents:  
diff
changeset
 | 
88  | 
Source of exercises  | 
| 114 | 89  | 
http://exercism.io  | 
| 122 | 90  | 
https://www.scala-exercises.org/  | 
91  | 
http://www.sofiacole.com/technology/adopting-scala-the-next-steps/  | 
|
| 114 | 92  | 
|
93  | 
||
| 115 | 94  | 
https://medium.com/@markcanlasnyc/scala-saturday-functions-for-the-object-oriented-4218f9ed192b#.dw8x8zxvb  | 
95  | 
||
96  | 
--------------------  | 
|
97  | 
Map-Reduce in Scala  | 
|
98  | 
||
99  | 
https://madusudanan.com/blog/scala-tutorials-part-9-intro-to-functional-programming/  | 
|
100  | 
||
101  | 
||
102  | 
--------------------  | 
|
103  | 
bash scripting  | 
|
104  | 
||
105  | 
https://likegeeks.com/bash-script-easy-guide/  | 
|
| 120 | 106  | 
https://likegeeks.com/linux-bash-scripting-awesome-guide-part3/  | 
107  | 
||
108  | 
||
109  | 
-------------------  | 
|
110  | 
collatz  | 
|
| 122 | 111  | 
http://codepen.io/benlorantfy/pen/KWzXoX  | 
112  | 
||
113  | 
-------------------  | 
|
114  | 
cheat sheets  | 
|
115  | 
||
116  | 
https://mbonaci.github.io/scala/  | 
|
117  | 
http://alvinalexander.com/downloads/scala/Scala-Cheat-Sheet-devdaily.pdf  | 
|
118  | 
http://homepage.cs.uiowa.edu/~tinelli/classes/022/Fall13/Notes/scala-quick-reference.pdf  | 
|
119  | 
||
120  | 
https://www.youtube.com/watch?v=RZEZp8fqn_0  | 
|
121  | 
||
122  | 
-------------------  | 
|
123  | 
scala books  | 
|
124  | 
http://underscore.io/training/  | 
|
125  | 
||
126  | 
-------------------  | 
|
127  | 
dependent types in Scala  | 
|
128  | 
https://stepik.org/course/ThCS-Introduction-to-programming-with-dependent-types-in-Scala-2294/  | 
|
129  | 
||
130  | 
||
131  | 
--------------------  | 
|
132  | 
chess engine in scala  | 
|
133  | 
http://marianogappa.github.io/software/2017/03/24/ostinato-a-chess-engine-written-in-scala-that-runs-on-the-browser-docker-and-the-repl/  | 
|
134  | 
https://en.lichess.org  | 
|
135  | 
||
136  | 
---------------------  | 
|
137  | 
scala code quality  | 
|
138  | 
https://www.reddit.com/r/scala/comments/616n3y/could_anyone_recommend_scala_resources_that/  |