author | Christian Urban <urbanc@in.tum.de> |
Wed, 20 Mar 2019 21:50:20 +0000 | |
changeset 264 | ecd989eee8bd |
parent 253 | ec7a12806c3f |
child 265 | 59779ce322a6 |
permissions | -rw-r--r-- |
264 | 1 |
Why functional programming? |
2 |
||
3 |
Nice article and pictures of multicores. |
|
4 |
||
5 |
https://sigma.software/about/media/pillars-functional-programming-part-1 |
|
6 |
||
7 |
||
8 |
===================== |
|
9 |
lectures on scala |
|
10 |
||
11 |
https://github.com/scalasummerschool/lectures |
|
12 |
||
13 |
||
14 |
===================== |
|
15 |
an argument for pure functions and programming |
|
16 |
||
17 |
https://dev.to/pietvandongen/pure-bliss-with-pure-functions-in-java-1mba |
|
18 |
||
19 |
===================== |
|
20 |
95 hardest sudoku problems |
|
21 |
http://www.dos486.com/sudoku/top95.txt |
|
22 |
||
23 |
||
24 |
===================== |
|
25 |
code example (bar code decoder) |
|
26 |
||
27 |
https://habr.com/en/post/439768/ |
|
28 |
||
29 |
===================== |
|
30 |
||
251 | 31 |
online tutorial for scala |
32 |
||
33 |
https://hub.mybinder.org/user/sbrunk-almond-examples-yw61qxqu/lab |
|
34 |
===================== |
|
35 |
||
253 | 36 |
Scala best practices |
37 |
https://nrinaudo.github.io/scala-best-practices/index.html |
|
38 |
===================== |
|
251 | 39 |
|
194 | 40 |
codejudge |
41 |
||
42 |
https://www.codejudge.net/docs/reference |
|
43 |
||
44 |
||
45 |
Race Track game |
|
46 |
Game of life |
|
229 | 47 |
|
48 |
=================== |
|
49 |
https://meta.plasm.us/posts/2013/03/28/better-scala-syntax-highlighting-for-hakyll/ |
|
194 | 50 |
|
51 |
=================== |
|
192 | 52 |
CS quotes |
53 |
https://henrikwarne.com/2016/04/17/more-good-programming-quotes/ |
|
54 |
https://henrikwarne.com/2017/09/16/more-good-programming-quotes-part-2/ |
|
55 |
||
181 | 56 |
|
192 | 57 |
=================== |
58 |
“To have another language is to possess a second soul.” |
|
59 |
||
60 |
― attributed Charlemagne, Emperor of the Carolingian Empire (Western Europe) |
|
191 | 61 |
|
62 |
||
192 | 63 |
------------------- |
64 |
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. |
|
65 |
------------------- |
|
66 |
||
67 |
8. Forced Null-Checks |
|
68 |
||
69 |
In Java, the method signature of a public method does not tell you if |
|
70 |
a returned value can be null or not. Take this signature for instance: |
|
71 |
||
72 |
public List<Item> getSelectedItems() |
|
181 | 73 |
|
192 | 74 |
What happens when no item is selected? Does this method then return |
75 |
null? Or does it return an empty list? We do not know for sure without |
|
76 |
looking into the implementation of this method (except we are very |
|
77 |
lucky in this case that the signature has a good javadoc description |
|
78 |
of the return type). There are two mistakes a developer could possibly |
|
79 |
make: (1)fForgetting to check the return value for null when it can be |
|
80 |
null, resulting in the famous NullPointerException, or; (2) checking |
|
81 |
it for null although it never can be null, resulting in needless code. |
|
181 | 82 |
|
192 | 83 |
|
140 | 84 |
|
85 |
||
122 | 86 |
why functional programming matters |
87 |
http://queue.acm.org/detail.cfm?id=2038036 |
|
88 |
||
192 | 89 |
why pure functions |
90 |
http://www.deadcoderising.com/2017-06-13-why-pure-functions-4-benefits-to-embrace-2/ |
|
122 | 91 |
|
92 |
||
93 |
BufferOverflow |
|
94 |
http://seclists.org/oss-sec/2017/q2/344 |
|
95 |
||
192 | 96 |
============ |
97 |
||
98 |
wartremover |
|
99 |
https://blog.knoldus.com/2017/06/15/remove-scala-warts-with-wartremover/ |
|
122 | 100 |
========= |
101 |
Intro Videos |
|
102 |
https://www.youtube.com/watch?v=ugHsIj60VfQ (30:00 slide about functions) |
|
103 |
||
104 |
https://www.youtube.com/channel/UC1VAdzkoY7M2e3msbW9Ur8w/videos?shelf_id=0&view=0&sort=dd |
|
105 |
||
106 |
||
107 |
=============== |
|
108 |
Scala warts |
|
109 |
http://www.lihaoyi.com/post/WartsoftheScalaProgrammingLanguage.html |
|
110 |
||
111 |
https://www.reddit.com/r/scala/comments/616n3y/could_anyone_recommend_scala_resources_that/ |
|
112 |
================ |
|
113 |
||
114 |
||
115 |
online compiler |
|
116 |
https://scalafiddle.io/ |
|
117 |
http://www.scala-lang.org/blog/2017/05/19/scastie.html |
|
118 |
||
119 |
||
120 |
------------------ |
|
121 |
Book |
|
122 |
http://twitter.github.io/effectivescala/ |
|
123 |
------------------- |
|
124 |
||
125 |
Very good explanation of what being functional programming means |
|
126 |
https://dotboris.github.io/2017/04/07/functional-programming/ |
|
127 |
||
128 |
||
95
4fa7231fede7
added link file
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
129 |
Source of exercises |
114 | 130 |
http://exercism.io |
122 | 131 |
https://www.scala-exercises.org/ |
132 |
http://www.sofiacole.com/technology/adopting-scala-the-next-steps/ |
|
114 | 133 |
|
134 |
||
115 | 135 |
https://medium.com/@markcanlasnyc/scala-saturday-functions-for-the-object-oriented-4218f9ed192b#.dw8x8zxvb |
136 |
||
137 |
-------------------- |
|
138 |
Map-Reduce in Scala |
|
139 |
||
140 |
https://madusudanan.com/blog/scala-tutorials-part-9-intro-to-functional-programming/ |
|
141 |
||
142 |
||
143 |
-------------------- |
|
144 |
bash scripting |
|
145 |
||
146 |
https://likegeeks.com/bash-script-easy-guide/ |
|
120 | 147 |
https://likegeeks.com/linux-bash-scripting-awesome-guide-part3/ |
148 |
||
149 |
||
150 |
------------------- |
|
151 |
collatz |
|
122 | 152 |
http://codepen.io/benlorantfy/pen/KWzXoX |
153 |
||
154 |
------------------- |
|
155 |
cheat sheets |
|
156 |
||
157 |
https://mbonaci.github.io/scala/ |
|
158 |
http://alvinalexander.com/downloads/scala/Scala-Cheat-Sheet-devdaily.pdf |
|
159 |
http://homepage.cs.uiowa.edu/~tinelli/classes/022/Fall13/Notes/scala-quick-reference.pdf |
|
160 |
||
161 |
https://www.youtube.com/watch?v=RZEZp8fqn_0 |
|
162 |
||
163 |
------------------- |
|
164 |
scala books |
|
165 |
http://underscore.io/training/ |
|
166 |
||
167 |
------------------- |
|
168 |
dependent types in Scala |
|
169 |
https://stepik.org/course/ThCS-Introduction-to-programming-with-dependent-types-in-Scala-2294/ |
|
170 |
||
171 |
||
172 |
-------------------- |
|
173 |
chess engine in scala |
|
174 |
http://marianogappa.github.io/software/2017/03/24/ostinato-a-chess-engine-written-in-scala-that-runs-on-the-browser-docker-and-the-repl/ |
|
175 |
https://en.lichess.org |
|
176 |
||
177 |
--------------------- |
|
178 |
scala code quality |
|
179 |
https://www.reddit.com/r/scala/comments/616n3y/could_anyone_recommend_scala_resources_that/ |