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