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