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