| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:f1736e9a-1079-14ba-99fe-54b48a1a4f22 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | AAB0:1873F7:168272B:1F0E445:6B05800C |
| html-safe-nonce | d8da893c1e471c8bf930251ac6dda71f34a9cbc404d398ee48cfa53f58497770 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUIwOjE4NzNGNzoxNjgyNzJCOjFGMEU0NDU6NkIwNTgwMEMiLCJ2aXNpdG9yX2lkIjoiMTIwMjE3Mzc4NjE3MTIxMTc4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 93eea4e7b17e91bf990d403a4bcc7e1033601f395da41050297e331791c212f4 |
| hovercard-subject-tag | repository:134946110 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Vatavuk/coding-guidelines |
| twitter:image | https://opengraph.githubassets.com/f417f90a55b51efb1dba91113c38bc346b4fd00fdbff27748e55502f9c0e35ab/Vatavuk/coding-guidelines |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f417f90a55b51efb1dba91113c38bc346b4fd00fdbff27748e55502f9c0e35ab/Vatavuk/coding-guidelines |
| og:image:alt | Contribute to Vatavuk/coding-guidelines development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-cache |
| go-import | github.com/Vatavuk/coding-guidelines git https://github.com/Vatavuk/coding-guidelines.git |
| octolytics-dimension-user_id | 2067023 |
| octolytics-dimension-user_login | Vatavuk |
| octolytics-dimension-repository_id | 134946110 |
| octolytics-dimension-repository_nwo | Vatavuk/coding-guidelines |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 134946110 |
| octolytics-dimension-repository_network_root_nwo | Vatavuk/coding-guidelines |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/Vatavuk/coding-guidelines#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FVatavuk%2Fcoding-guidelines |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FVatavuk%2Fcoding-guidelines |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=Vatavuk%2Fcoding-guidelines |
| Reload | https://github.com/Vatavuk/coding-guidelines |
| Reload | https://github.com/Vatavuk/coding-guidelines |
| Reload | https://github.com/Vatavuk/coding-guidelines |
| Vatavuk | https://github.com/Vatavuk |
| coding-guidelines | https://github.com/Vatavuk/coding-guidelines |
| Code | https://github.com/Vatavuk/coding-guidelines |
| Issues | https://github.com/Vatavuk/coding-guidelines/issues |
| Pull requests | https://github.com/Vatavuk/coding-guidelines/pulls |
| Actions | https://github.com/Vatavuk/coding-guidelines/actions |
| Projects | https://github.com/Vatavuk/coding-guidelines/projects |
| Security and quality | https://github.com/Vatavuk/coding-guidelines/security |
| Insights | https://github.com/Vatavuk/coding-guidelines/pulse |
| https://github.com/Vatavuk/coding-guidelines |
| coding-guidelines | https://github.com/Vatavuk/coding-guidelines |
| Notifications | https://github.com/login?return_to=%2FVatavuk%2Fcoding-guidelines |
| Fork0 (0) | https://github.com/login?return_to=%2FVatavuk%2Fcoding-guidelines |
| Star6 (6) | https://github.com/login?return_to=%2FVatavuk%2Fcoding-guidelines |
| Readme | https://github.com/Vatavuk/coding-guidelines#readme-ov-file |
| Activity | https://github.com/Vatavuk/coding-guidelines/activity |
| 0 forks | https://github.com/Vatavuk/coding-guidelines/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FVatavuk%2Fcoding-guidelines&report=Vatavuk+%28user%29 |
| Branches | https://github.com/Vatavuk/coding-guidelines/branches |
| Tags | https://github.com/Vatavuk/coding-guidelines/tags |
| https://github.com/Vatavuk/coding-guidelines/branches |
| https://github.com/Vatavuk/coding-guidelines/tags |
| 28 Commits | https://github.com/Vatavuk/coding-guidelines/commits/master/ |
| https://github.com/Vatavuk/coding-guidelines/commits/master/ |
| fake-objects | https://github.com/Vatavuk/coding-guidelines/tree/master/fake-objects |
| fake-objects | https://github.com/Vatavuk/coding-guidelines/tree/master/fake-objects |
| http-server | https://github.com/Vatavuk/coding-guidelines/tree/master/http-server |
| http-server | https://github.com/Vatavuk/coding-guidelines/tree/master/http-server |
| images | https://github.com/Vatavuk/coding-guidelines/tree/master/images |
| images | https://github.com/Vatavuk/coding-guidelines/tree/master/images |
| test-assertions | https://github.com/Vatavuk/coding-guidelines/tree/master/test-assertions |
| test-assertions | https://github.com/Vatavuk/coding-guidelines/tree/master/test-assertions |
| .gitignore | https://github.com/Vatavuk/coding-guidelines/blob/master/.gitignore |
| .gitignore | https://github.com/Vatavuk/coding-guidelines/blob/master/.gitignore |
| pom.xml | https://github.com/Vatavuk/coding-guidelines/blob/master/pom.xml |
| pom.xml | https://github.com/Vatavuk/coding-guidelines/blob/master/pom.xml |
| readme.adoc | https://github.com/Vatavuk/coding-guidelines/blob/master/readme.adoc |
| readme.adoc | https://github.com/Vatavuk/coding-guidelines/blob/master/readme.adoc |
| README | https://github.com/Vatavuk/coding-guidelines |
| https://github.com/Vatavuk/coding-guidelines#coding-guidelines |
| 1. Literature | https://github.com/Vatavuk/coding-guidelines#literature |
| 2. Immutability | https://github.com/Vatavuk/coding-guidelines#immutability |
| 2.1. When to Use Mutable Objects | https://github.com/Vatavuk/coding-guidelines#when-to-use-mutable-objects |
| 2.2. References | https://github.com/Vatavuk/coding-guidelines#references |
| 3. Program to an Interface | https://github.com/Vatavuk/coding-guidelines#program-to-an-interface |
| 3.1. When to inject concrete class | https://github.com/Vatavuk/coding-guidelines#when-to-inject-concrete-class |
| 3.2. References | https://github.com/Vatavuk/coding-guidelines#references-1 |
| 4. Instanceof and Type Casting | https://github.com/Vatavuk/coding-guidelines#instanceof-and-type-casting |
| 5. Utility Classes | https://github.com/Vatavuk/coding-guidelines#utility-classes |
| 5.1. Problem | https://github.com/Vatavuk/coding-guidelines#problem |
| 5.2. Example | https://github.com/Vatavuk/coding-guidelines#example |
| 5.3. When It’s Safe to Use Utility Classes | https://github.com/Vatavuk/coding-guidelines#when-its-safe-to-use-utility-classes |
| 6. Null Handling | https://github.com/Vatavuk/coding-guidelines#null-handling |
| 6.1. Example | https://github.com/Vatavuk/coding-guidelines#example-1 |
| 6.2. Reference | https://github.com/Vatavuk/coding-guidelines#reference |
| 7. Class Naming Conventions | https://github.com/Vatavuk/coding-guidelines#class-naming-conventions |
| 7.1. References | https://github.com/Vatavuk/coding-guidelines#references-2 |
| 8. Comments in Code | https://github.com/Vatavuk/coding-guidelines#comments-in-code |
| 8.1. Javadoc | https://github.com/Vatavuk/coding-guidelines#javadoc |
| 8.2. Reference | https://github.com/Vatavuk/coding-guidelines#reference-1 |
| 9. Class Inheritance in Tests | https://github.com/Vatavuk/coding-guidelines#class-inheritance-in-tests |
| 9.1. Problem | https://github.com/Vatavuk/coding-guidelines#problem-1 |
| 9.2. When to Use Inheritance | https://github.com/Vatavuk/coding-guidelines#when-to-use-inheritance |
| 9.3. Reference | https://github.com/Vatavuk/coding-guidelines#reference-2 |
| 10. Test Naming | https://github.com/Vatavuk/coding-guidelines#test-naming |
| 11. Test Assertions | https://github.com/Vatavuk/coding-guidelines#test-assertions |
| 12. Fake Objects | https://github.com/Vatavuk/coding-guidelines#fake-objects |
| 12.1. References | https://github.com/Vatavuk/coding-guidelines#references-3 |
| https://github.com/Vatavuk/coding-guidelines#1-literature |
| Code Complete, second edition | http://aroma.vn/web/wp-content/uploads/2016/11/code-complete-2nd-edition-v413hav.pdf |
| Clean Code | https://www.investigatii.md/uploads/resurse/Clean_Code.pdf |
| Effective Java, third edition | https://github.com/muhdkhokhar/test/blob/master/Joshua%20Bloch%20-%20Effective%20Java%20(3rd)%20-%202018.pdf |
| Elegant Objects (vol I and II) | https://www.amazon.com/Elegant-Objects-1-Yegor-Bugayenko/dp/1519166915 |
| Growing Object-Oriented Software, Guided by Tests | https://www.oreilly.com/library/view/growing-object-oriented-software/9780321574442/ |
| Working Effectively With Legacy Code | https://www.amazon.com/Working-Effectively-Legacy-Michael-Feathers/dp/0131177052 |
| No Code | https://github.com/kelseyhightower/nocode |
| https://github.com/Vatavuk/coding-guidelines#2-immutability |
| smaller | https://github.com/yegor256/size-vs-immutability |
| gradients of immutability | https://www.yegor256.com/2016/09/07/gradients-of-immutability.html |
| https://github.com/Vatavuk/coding-guidelines#21-when-to-use-mutable-objects |
| https://github.com/Vatavuk/coding-guidelines#22-references |
| Objects should be immutable | https://www.yegor256.com/2014/06/09/objects-should-be-immutable.html |
| VIDEO - The Power and Practicality of Immutability by Venkat Subramaniam | https://www.youtube.com/watch?v=FQERMVABRrQ |
| VIDEO - Refactoring to Immutability by Kevlin Henney | https://www.youtube.com/watch?v=APUCMSPiNh4 |
| https://github.com/Vatavuk/coding-guidelines#3-program-to-an-interface |
| dependency injection | https://en.wikipedia.org/wiki/Dependency_injection |
| loose coupling | https://en.wikipedia.org/wiki/Loose_coupling |
| dependency inversion | https://en.wikipedia.org/wiki/Dependency_inversion_principle |
| decoration | https://en.wikipedia.org/wiki/Decorator_pattern |
| https://github.com/Vatavuk/coding-guidelines#31-when-to-inject-concrete-class |
| https://github.com/Vatavuk/coding-guidelines#32-references |
| What does it mean to program to an interface | https://stackoverflow.com/questions/383947/what-does-it-mean-to-program-to-an-interface |
| Design Patterns - Gang of Four, Chapter 1 | https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612 |
| https://github.com/Vatavuk/coding-guidelines#4-instanceof-and-type-casting |
| code smells | https://www.yegor256.com/2015/04/02/class-casting-is-anti-pattern.html |
| polymorphism | https://en.wikipedia.org/wiki/Polymorphism_(computer_science) |
| https://github.com/Vatavuk/coding-guidelines#5-utility-classes |
| https://github.com/Vatavuk/coding-guidelines#51-problem |
| tight coupling | https://en.wikipedia.org/wiki/Coupling_(computer_programming) |
| single-responsibility principle | https://en.wikipedia.org/wiki/Single-responsibility_principle |
| https://github.com/Vatavuk/coding-guidelines#52-example |
| https://github.com/Vatavuk/coding-guidelines#53-when-its-safe-to-use-utility-classes |
| https://github.com/Vatavuk/coding-guidelines#6-null-handling |
| https://github.com/Vatavuk/coding-guidelines#61-example |
| https://github.com/Vatavuk/coding-guidelines#62-reference |
| The Billion Dollar Mistake | https://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare/ |
| Clean Code: Chapter 7 | https://github.com/SaikrishnaReddy1919/MyBooks/blob/master/%5BPROGRAMMING%5D%5BClean%20Code%20by%20Robert%20C%20Martin%5D.pdf |
| Why Null is Bad | https://www.yegor256.com/2014/05/13/why-null-is-bad.html |
| https://github.com/Vatavuk/coding-guidelines#7-class-naming-conventions |
| https://github.com/Vatavuk/coding-guidelines/blob/master/images/naming.png |
| https://github.com/Vatavuk/coding-guidelines/blob/master/images/naming_ext.png |
| ER ending names | https://www.yegor256.com/2015/03/09/objects-end-with-er.html |
| https://github.com/Vatavuk/coding-guidelines#71-references |
| VIDEO - Giving code a good name by Kevlin Henney | https://www.youtube.com/watch?v=CzJ94TMPcD8 |
| Ubiquitous language the joy of naming | https://blog.carbonfive.com/ubiquitous-language-the-joy-of-naming/ |
| VIDEO - Don’t Create Objects That End With -ER by Yegor Bugayenko | https://www.youtube.com/watch?v=WpP4rIhh5e4 |
| Your coding conventions are hurting you | http://www.carlopescio.com/2011/04/your-coding-conventions-are-hurting-you.html |
| https://github.com/Vatavuk/coding-guidelines#8-comments-in-code |
| https://github.com/Vatavuk/coding-guidelines#81-javadoc |
| https://github.com/Vatavuk/coding-guidelines#82-reference |
| Clean Code chapter 4 | https://www.investigatii.md/uploads/resurse/Clean_Code.pdf |
| https://github.com/Vatavuk/coding-guidelines#9-class-inheritance-in-tests |
| https://github.com/Vatavuk/coding-guidelines#91-problem |
| God object | https://en.wikipedia.org/wiki/God_object |
| composition over inheritance | https://en.wikipedia.org/wiki/Composition_over_inheritance |
| global variables | https://en.wikipedia.org/wiki/Global_variable |
| https://github.com/Vatavuk/coding-guidelines#92-when-to-use-inheritance |
| https://github.com/Vatavuk/coding-guidelines#93-reference |
| Why extends is evil - Allen Holub | https://www.javaworld.com/article/2073649/why-extends-is-evil.html |
| Where does this concept of favor composition over inheritance comes from | https://softwareengineering.stackexchange.com/questions/65179/where-does-this-concept-of-favor-composition-over-inheritance-come-from |
| Inheritance in java | https://www.geeksforgeeks.org/inheritance-in-java/ |
| https://github.com/Vatavuk/coding-guidelines#10-test-naming |
| https://github.com/Vatavuk/coding-guidelines#11-test-assertions |
| Hamcrest library | http://hamcrest.org/JavaHamcrest/tutorial |
| complete example | https://github.com/Vatavuk/oop-examples/tree/master/test-assertions |
| https://github.com/Vatavuk/coding-guidelines#12-fake-objects |
| mockito | https://site.mockito.org/ |
| fake objects | https://www.yegor256.com/2014/09/23/built-in-fake-objects.html |
| example | https://github.com/Vatavuk/oop-examples/tree/master/fake-objects |
| https://github.com/Vatavuk/coding-guidelines#121-references |
| Built in fake objects | https://www.yegor256.com/2014/09/23/built-in-fake-objects.html |
| Stop mocking start testing | https://nedbatchelder.com/blog/201206/tldw_stop_mocking_start_testing.html |
| Test Doubles — Fakes, Mocks and Stubs | https://blog.pragmatists.com/test-doubles-fakes-mocks-and-stubs-1a7491dfa3da |
| Prefer fakes over mocks | https://tyrrrz.me/blog/fakes-over-mocks |
| Readme | https://github.com/Vatavuk/coding-guidelines#readme-ov-file |
| Activity | https://github.com/Vatavuk/coding-guidelines/activity |
| 0 forks | https://github.com/Vatavuk/coding-guidelines/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FVatavuk%2Fcoding-guidelines&report=Vatavuk+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |