-
-
Save HaMster21/c9648b150acca0b9bf31 to your computer and use it in GitHub Desktop.
Revisions
-
HaMster21 revised this gist
Jul 3, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,5 +24,5 @@ #####Best Practices * ([DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)) did you use unnecessary repetition? * ([KISS](https://en.wikipedia.org/wiki/KISS_principle)) can your code be written in a more obvious way? Are functions doing trivial things? * ([SOLID](https://en.wikipedia.org/wiki/SOLID)) are you following SOLID principles? -
HaMster21 revised this gist
Jul 3, 2014 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ #####General * Are all files added that are needed to build the code? * Does the change comply to project conventions (naming, repo structure, license, documentation, etc.)? -
HaMster21 revised this gist
Jul 3, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,4 +27,4 @@ #####Best Practices * ([DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)) did you use unnecessary repetition? * ([KISS](https://en.wikipedia.org/wiki/KISS_principle)) can your written in a more obvious way? Are functions doing trivial things? * ([SOLID](https://en.wikipedia.org/wiki/SOLID)) are you following SOLID principles? -
HaMster21 revised this gist
Jul 3, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,4 +27,4 @@ #####Best Practices * ([DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)) did you use unnecessary repetition? * ([KISS](https://en.wikipedia.org/wiki/KISS_principle)) can your written in a more obvious way? Are functions doing trivial things? * ([SOLID](https://en.wikipedia.org/wiki/SOLID_(object-oriented_design)) are you following SOLID principles? -
HaMster21 revised this gist
Jul 3, 2014 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,4 +25,6 @@ * Can the livetime and and scope of the ressource be further restricted? #####Best Practices * ([DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)) did you use unnecessary repetition? * ([KISS](https://en.wikipedia.org/wiki/KISS_principle)) can your written in a more obvious way? Are functions doing trivial things? * ([SOLID])(https://en.wikipedia.org/wiki/SOLID_(object-oriented_design)) are you following SOLID principles? -
HaMster21 revised this gist
Jul 3, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,3 +24,5 @@ * Can the ressource be allocated on the stack? * Can the livetime and and scope of the ressource be further restricted? #####Best Practices * ([DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)) did you use unnecessary repetition? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,5 +24,3 @@ * Can the ressource be allocated on the stack? * Can the livetime and and scope of the ressource be further restricted? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 16 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,28 @@ ### Commit / Pull Request checklist #####General * Are all files added that are needed to build the code? * Does the change comply to project conventions (naming, repo structure, license, documentation, etc.)? #####Tests * Is the code tested? * Are the tests showing the intention how to use the code? * Is the expected behavior clear? * Are there gaps that also need testing? #####Functions and Methods * Is the name reflecting the behavior / expected result? * Are parameters validated, if any? * Do parameters make sense? Or is there a way to get rid of them? * Does the return value make sense? * Is global state changed? Are pure/safe/trusted functions declared as such? * Can the function / method take the parameter by reference? Is the parameter mutated? #####Objects * Are referenced ressources cleaned up? * Where and when are `null` references possible? Are those circumstances evaluated and / or tested? * Can the ressource be allocated on the stack? * Can the livetime and and scope of the ressource be further restricted? - [ ] __Conventions Consistency__ Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. - [ ] __Security__: There is a whole threat and mitigation review process that falls under this bucket. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ ### Commit / Pull Request checklist #####Tests * Is the code tested? * Are the tests showing the intention how to use the code? * Is the expected behavior clear? * Are there gaps that also need testing? #####Functions and Methods * Is the name reflecting the behavior / expected result? * Are parameters validated, if any? * Do parameters make sense? Or is there a way to get rid of them? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ ### Commit / Pull Request checklist #####Tests * Is the code tested? * Are the tests showing the intention how to use the code? * Is the expected behavior clear? * Are there gaps that also need testing? ######Functions and Methods * Is the name reflecting the behavior / expected result? * Are parameters validated, if any? * Do parameters make sense? Or is there a way to get rid of them? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ### Commit / Pull Request checklist ####Tests * Is the code tested? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ ## General ####Tests * Is the code tested? * Are the tests showing the intention how to use the code? * Is the expected behavior clear? * Are there gaps that also need testing? ####Functions and Methods * Is the name reflecting the behavior / expected result? * Are parameters validated, if any? * Do parameters make sense? Or is there a way to get rid of them? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ ## General ###Tests * Is the code tested? * Are the tests showing the intention how to use the code? * Is the expected behavior clear? * Are there gaps that also need testing? ###Functions and Methods * Is the name reflecting the behavior / expected result? * Are parameters validated, if any? * Do parameters make sense? Or is there a way to get rid of them? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,12 @@ ## General - Tests * Is the code tested? * Are the tests showing the intention how to use the code? * Is the expected behavior clear? * Are there gaps that also need testing? - Functions and Methods * Is the name reflecting the behavior / expected result? * Are parameters validated, if any? * Do parameters make sense? Or is there a way to get rid of them? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,18 @@ ## General - __tests__ * Is the code tested? * Are the tests showing the intention how to use the code? * Is the expected behavior clear? * Are there gaps that also need testing? - __functions and methods__ * Is the name reflecting the behavior / expected result? * Are parameters validated, if any? * Do parameters make sense? Or is there a way to get rid of them? * Does the return value make sense? * Is global state changed? Are pure/safe/trusted functions declared as such? * Can the function / method take the parameter by reference? Is the parameter mutated? - [ ] __Null References__ (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. - [ ] __Conventions Consistency__ Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ ## General - [ ] __tests__ * Is the code tested? * Are the tests showing the intention how to use the code? * Is the expected behavior clear? * Are there gaps that also need testing? - [ ] __functions and methods__ - Is the name reflecting the behavior / expected result? -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 9 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,19 @@ ## General - [ ] __tests__ - Is the code tested? - Are the tests showing the intention how to use the code? - Is the expected behavior clear? - Are there gaps that also need testing? - [ ] __functions and methods__ - Is the name reflecting the behavior / expected result? - Are parameters validated, if any? - Do parameters make sense? Or is there a way to get rid of them? - Does the return value make sense? - Are pure/safe/trusted functions declared as such? Is global state changed? - Can the function / method take the parameter by reference? Is the parameter mutated? - [ ] __Null References__ (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. - [ ] __Conventions Consistency__ Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. - [ ] __Disposables__ Make sure disposable things are disposed. Look for usages of resources that should be disposed but are not. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,10 @@ ## General - [ ] __Unit tests__ - Is the code tested? - Are the tests showing the intention how to use the code? - Is the expected behavior clear? - Are there gaps that also need testing? - [ ] __Method arguments__ Make sure arguments to methods make sense and are validated. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,9 @@ ## General - [ ] __Unit tests__ Is the code tested? Are the tests showing the intention how to use the code? Are there gaps that also need testing? Is the expected behavior clear? - [ ] __Method arguments__ Make sure arguments to methods make sense and are validated. - [ ] __Null References__ (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 7 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,10 @@ ## General - [ ] __Unit tests__ Is the code tested? Are the tests showing the intention how to use the code? Are there gaps that also need testing? Is the expected behavior clear? - [ ] __Method arguments__ Make sure arguments to methods make sense and are validated. - [ ] __Null References__ (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. - [ ] __Conventions Consistency__ Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. - [ ] __Disposables__ Make sure disposable things are disposed. Look for usages of resources that should be disposed but are not. - [ ] __Security__: There is a whole threat and mitigation review process that falls under this bucket. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## General - [ ] __Unit tests__: Is the code tested? Are the tests showing the intention how to use the code? Are there gaps that also need testing? Is the expected behavior clear? - [ ] __Method arguments__" Make sure arguments to methods make sense and are validated. - [ ] __Null References__" (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. - [ ] __Conventions Consistency__" Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 6 additions and 13 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,8 @@ ## General - [ ] __Unit tests__: Review unit tests first. Unit tests are a fantastic way to grasp how code is meant to be used by others and to learn what the expected behavior is. Are there any test gaps that should be there? - [ ] __Method arguments__" Make sure arguments to methods make sense and are validated. - [ ] __Null References__" (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. - [ ] __Conventions Consistency__" Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. - [ ] __Disposables__: Make sure disposable things are disposed. Look for usages of resources that should be disposed but are not. - [ ] __Security__: There is a whole threat and mitigation review process that falls under this bucket. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## General [ ] __Unit tests__: Review unit tests first. Unit tests are a fantastic way to grasp how code is meant to be used by others and to learn what the expected behavior is. Are there any test gaps that should be there? 2. __Method arguments__" Make sure arguments to methods make sense and are validated. 3. __Null References__" (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. 4. __Conventions Consistency__" Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## General [ ] __Unit tests__: Review unit tests first. Unit tests are a fantastic way to grasp how code is meant to be used by others and to learn what the expected behavior is. Are there any test gaps that should be there? 2. __Method arguments__" Make sure arguments to methods make sense and are validated. 3. __Null References__" (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. 4. __Conventions Consistency__" Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. -
HaMster21 revised this gist
Jul 2, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## General [ ] __Unit tests__: Review unit tests first. Unit tests are a fantastic way to grasp how code is meant to be used by others and to learn what the expected behavior is. Are there any test gaps that should be there? 2. __Method arguments__" Make sure arguments to methods make sense and are validated. 3. __Null References__" (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. 4. __Conventions Consistency__" Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. -
haacked created this gist
Oct 28, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ ## General 1. __Unit tests__: Review unit tests first. Unit tests are a fantastic way to grasp how code is meant to be used by others and to learn what the expected behavior is. Are there any test gaps that should be there? 2. __Method arguments__" Make sure arguments to methods make sense and are validated. 3. __Null References__" (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically. 4. __Conventions Consistency__" Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect. 5. __Disposables__: Make sure disposable things are disposed. Look for usages of resources that should be disposed but are not. 6. __Security__: There is a whole threat and mitigation review process that falls under this bucket. ## WPF + ReactiveUI 1. __Updating UI__: Make sure view model properties are updated on the main scheduler (UI thread). This is because we bind the UI to these properties and the UI can only be updated on the UI thread. 2. __ObserveOn__: When kicking off truly async operations, make sure we `ObserveOn(RxApp.DeferredScheduler)` soon after (related to previous). 3. __Over subscriptions__: Make sure we're not over subscribing to deferred observables etc that could lead to multiple operations. 4. ???