-
Notifications
You must be signed in to change notification settings - Fork 5
Reformat
raisercostin edited this page Sep 16, 2018
·
9 revisions
- Always use spaces in original files. The formatting is kept this way. In html/javascript this might generate an increase in the filesize but don't optimize for that.
- Use the convention to always convert
tabsto2 spacesthat will allow a lot of levels of imbrication.
Depending on the Operating System the end of line (EOL) is encoded with different characters.
- windows (CR+LF)
- linux (LF)
- old mac (CR)
-
\nmight refer to\r\nin some cases - end of line for windows -
\nrefers to just LF on linux
- Make a convention to use across your projects one specific type like the windows or linux convention
- Configure git with
autocrlf = false: Intro to Git to disable automatic correction at commit/checkout time
- https://www.hanselman.com/blog/DeathToCarriageReturnsAndLinefeeds.aspx
- https://en.wikipedia.org/wiki/Newline
- UTF8
- Ascii
- Java
- Xml
- Java
- Xml
- https://eclipsesource.com/blogs/2013/07/09/invisible-chaos-mastering-white-spaces-in-eclipse/
- ant tasks: https://ant.apache.org/manual/Tasks/fixcrlf.html
- http://code.revelc.net/formatter-maven-plugin/examples.html#Custom_Configuration_File
- configure checkstyle to reject specific EOLs
- eclipse source formatting - https://www.ralfebert.de/archive/java/source_formatting/
- http://www.jillesvangurp.com/2015/01/29/enforcing-code-conventions-in-java/
- https://stackoverflow.com/questions/1955514/best-practices-for-code-formatting-on-large-projects
- eclipse checkstyle integration - http://eclipse-cs.sourceforge.net/#!/
- convert from checkstyle to eclipse formatter: Doesn't work for now. https://stackoverflow.com/questions/8327498/converting-an-eclipse-formatter-file-to-a-checkstyle-file
- checkstyle config https://stackoverflow.com/questions/34591512/configure-automatically-tab-character-for-eclipse-formatter-from-checkstyle-conf
- config of checkstyle and java formatter https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/Java-code-Formater-and-Checkstyle-configuration-for-development
- sample sortpom - https://github.com/revelc/formatter-maven-plugin/blob/master/pom.xml
- http://www.jillesvangurp.com/2015/01/29/enforcing-code-conventions-in-java/
- eclipse code formatter for intelij https://blog.jetbrains.com/idea/2014/01/intellij-idea-13-importing-code-formatter-settings-from-eclipse/
- https://stackoverflow.com/questions/12872283/using-checkstyle-to-format-code
- http://wiki.pentaho.com/display/PEOpen/Code+Formatting+and+CheckStyle
- http://maven.apache.org/plugins/maven-checkstyle-plugin/plugin-info.html
- compatible eclipse cleanup with checkstyle - https://stackoverflow.com/questions/21211586/is-there-an-eclipse-clean-up-profile-that-matches-the-checkstyle-format-rules
- https://stackoverflow.com/questions/5003830/automatic-eol-conversion-in-eclipse
- https://github.com/google/styleguide
- sonar - http://centrumsystems.com.au/coding-standards-harmony/
- https://stackoverflow.com/questions/21211586/is-there-an-eclipse-clean-up-profile-that-matches-the-checkstyle-format-rules
- google java guide - https://google.github.io/styleguide/javaguide.html
- maven-checkstyle-plugin-2.17 depends on checkstyle-6.11.2 with default google_checks.xml https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-6.11.2/src/main/resources/google_checks.xml
- Home
- Advices
- Development Algorithm
- Who's who
- Software Books
- Career, salary, salariu, brut, net, Levels
-
Tools
- Health
- Physical Tools
- Environment Tools
- File Tools
- Source Tools
- Information Tools
- Collaboration Tools
- Infrastructure Tools
- Language Tools
-
Concepts as Tools spec maturity
- Classes of Objects, Development Algorithm/mantra/practices
- Streaming Tools
- Process Tools psychology, analytical paralysis
- Special
- fiddler kotlin,javascript,scala
- translator scala->kotlin, java->kotlin
- Guides
- Asking for Help
- Aspects
- Security
- Server & Networking load balancing,
-
Principles & Guidelines
- PLS - Principle of Least Surprise (aka no puzzlers)
- SRP - Single Responsibility Principle
- KISS - Keep It Simple
- YAGNI - You aint gona need it
- DRY - Dont Repeat Yourself
- Fail Fast
- OCP - Open Closed
- POE - Premature Optimization is Evil
- LSP - Liskov Substitution Principle
- DIP - Dependency Inversion Principle / Inversion of Control
- Hollywood Principle - Don't call us We call you
- Tell Don't Ask
- Event sourcing
- NIHS - Not invented here syndrome
- Patterns - idioms, best practices, code smells
-
Intro to Problems - common problems: cache, logging, config, representing date, time, money
- Intro to Libraries - reactive, reactor, commons, collections, apache, guava, logging, config, time, test, junit, vavr, immutable, lombok, mapping, mapstruct, time, joda, cache, Guava, Caffeine, and cache2k
- Intro to DateTime
- Intro to Logging
- Intro to Concurrency - thread, parallelism
- Intro to I18N - internationalization, encoding, unicode, big indian, little indian, ascii, utf, utf8, utf16, formatting, parsing, transliteration, charset, localization, time, timezone, zone id, zone offset, GMT
- Intro to Numbers - rounding, ceil, floor, base, integer, decimal, precision, mantis, exponent, significant, statistics
- Java Idioms
- Concepts
- Code Changes refactor, format, eol, bugfix, newfeature
- Convention Over Configuration
- Continuous Integration
- Continuous Delivery
- Code License
- Fluent Interface
- Semantic Versioning
- Take It Offline
- Flow
- Languages
- Hardening
- Smells
-
Intros
- Intro to Paradigms Object Oriented, Functional, Procedural, Asynchronous
- Intro to Logic
- Intro to Product UX, UI, business, technical, backend, frontend
- Intro to Roles
- Intro to Decision Levels : business, financials, domain, product, architecture, high level design, low level design, coding, debugging, quality, roles, stakeholders
- Intro to Steps
- Intro to Software Architecture
- Intro to Software Design
- Intro to UML state machine diagram, class diagram, sequence diagram
- Intro to Graphical Design
- Intro to Performance bigO, algorithm complexity
- Intro to Agile
- Intro to Scripting
- Intro to Shell execution, environment, registry, powershell, cmd, cmder, linux, bash, ash, csh, zsh, ksh
- Intro to Wiki
-
Intro to Building
- Intro to DevMachine
- Intro to Git
- Intro to Maven
- Intro to Docker
- Intro to Hosting Deploy, nameserver, hostname, registrar, ssl, ddns, dns, naked domain, wildcard domain, email, smtp, pop3, imap, DKIM, SPF, spam
-
Intro to Landscapes Language Environments, Web Landscape
- Intro to JVM Landscape
-
Intro to Javascript Landscape
- Intro to Javascript
- Intro to Typescript binding, implicit, explicit, default (global), callsite, lambda, callback, function, promise, async await
- Intro to Node javascript, npm, yarn
- Intro to DotNet Landscape C# csharp
- Intro to Golang
- Intro to Ruby
- Intro to Python
- Coding Style
- Phases
-
Intro to Quality - QA, Quality Assurance, code quality, bugs, bug levels, metabugs
- Intro to Tests
-
Test Driven Development TDD, mantra
- Domain-and-Test-Driven-Design Advanced topics
- Intro to Coding defensive, offensive, preconditions, postconditions
- Intro to Debugging
- Intro to Profiling, Intro to Performance
- Intro to Code Review
-
Intro to Quality - QA, Quality Assurance, code quality, bugs, bug levels, metabugs
- Intro to Functional
- Intro to Computers memory, cpu, hardware, neuman, computer science, devices
- Intro to OFM
- Intro to Databases Intro to Database Migration ORM, ObjectRelationalMapping, Hibernate, JPA, ebeanorm
- Advanced in Databases - optimistic lock, pessimistic lock
- Intro to WebDevelopment - tcp, http
- Data Structures & money
- Intro to Virtualization
- Admin section
- Intro to Types value, record, case class, alias
- Intro to Layers - frontend,ui,ux
- Intro to Culture - teams, psychology, principles, behaviour
- Intro to 41 - aboriginal linux, google whitepapers
- Intro to Security - ssl, handshake, tsl, https, basic auth, tokens, refresh, jwt tokens, access, refresh
- Intro to Crypto
- Advanced
- Advanced Java
- Circuit Breaker, retry, bulkhead, RateLimit, resilience
- Immutable, purity, pure functions, functional style
- Identification Surrogate vs Natural Keys, database, rest, microservice
- Infrastructure devops, docker, containers, kubernetes, k8s, private cloud, continous deployment
- Resources
- Project Templates
- Ships
- Ship10 - 2021-Aug
- Ship 1 - 2017-May
- Ship 2 - 2017-June
- Ship 3 - 2017-July
-
Ship 4 - 2017-September
- Team 4
- Team 4 Reloaded
- Backlog 4
- Sprint 4.1 old
- Sprint 4.1 Home old
- Sprint 4.2 old
- Sprint 4.2 Home old
- Sprint 4.3 old
- Sprint 4.3 Home old
- Sprint 4.4 old
- Sprint 4.4 Home old
- Sprint 4.5 old
- Sprint 4.5 Home old
- Sprint 4.6 old
- Sprint 4.6 Home old
- Sprint 4.7 old
- Sprint 4.7 Home old
- Sprint 4.8 old
- Sprint 4.8 Home old
-
Non software
- Physical Tools - home tooling