├── .gitignore ├── .vscode ├── .ropeproject │ ├── config.py │ └── objectdb └── settings.json ├── 1 - coupling and cohesion ├── coupling-cohesion-after.py └── coupling-cohesion-before.py ├── 10 - object creation ├── object-pool-context.py ├── object-pool.py └── singleton.py ├── 2 - dependency inversion ├── dependency-inversion-after.py └── dependency-inversion-before.py ├── 3 - strategy pattern ├── strategy-after-fn.py ├── strategy-after.py └── strategy-before.py ├── 4 - observer pattern ├── .DS_Store ├── api │ ├── __init__.py │ ├── plan.py │ └── user.py ├── api_v2 │ ├── __init__.py │ ├── email_listener.py │ ├── event.py │ ├── log_listener.py │ ├── plan.py │ ├── slack_listener.py │ └── user.py ├── lib │ ├── __init__.py │ ├── db.py │ ├── email.py │ ├── log.py │ ├── slack.py │ └── stringtools.py ├── observer-after.py └── observer-before.py ├── 5 - unit testing ├── .DS_Store ├── vehicle_info_after.py ├── vehicle_info_before.py └── vehicle_info_test.py ├── 6 - template method & bridge ├── trading-after.py ├── trading-before.py └── with-bridge.py ├── 7 - dealing with errors ├── advanced │ ├── logging-decorator.py │ └── retry-decorator.py ├── after-context │ ├── app.py │ ├── application.db │ ├── create-db.py │ ├── db.py │ ├── error-handling-context.py │ └── error-handling.py ├── after │ ├── app.py │ ├── application.db │ ├── create-db.py │ ├── db.py │ └── error-handling.py ├── before │ ├── app.py │ ├── application.db │ ├── create-db.py │ ├── db.py │ └── error-handling.py └── monadic-error-handling │ ├── application.db │ └── example.py ├── 8 - mvc ├── mvc-after-strategy.py ├── mvc-after.py └── mvc-before.py ├── 9 - solid ├── dependency-inversion-after.py ├── dependency-inversion-before.py ├── interface-segregation-after-comp.py ├── interface-segregation-after.py ├── interface-segregation-before.py ├── liskov-substitution-after.py ├── liskov-substitution-before.py ├── open-closed-after.py ├── open-closed-before.py ├── single-responsibility-after.py └── single-responsibility-before.py ├── LICENSE ├── README.md ├── better-rust ├── Cargo.lock ├── Cargo.toml ├── coupling_and_cohesion │ ├── Cargo.toml │ └── src │ │ ├── coupling_cohesion_after.rs │ │ ├── coupling_cohesion_before.rs │ │ └── main.rs ├── macros │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── solid │ ├── Cargo.toml │ └── src │ │ ├── dependency_inversion_after.rs │ │ ├── dependency_inversion_before.rs │ │ ├── interface_segregation_after.rs │ │ ├── interface_segregation_before.rs │ │ ├── lib.rs │ │ ├── liskov_substitution_after.rs │ │ ├── liskov_substitution_before.rs │ │ ├── main.rs │ │ ├── open_closed_after.rs │ │ ├── open_closed_before.rs │ │ ├── single_responsibility_after.rs │ │ └── single_responsibility_before.rs └── src │ └── main.rs └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- 1 | # misc 2 | .DS_Store 3 | *.pyc 4 | /better-rust/target 5 | -------------------------------------------------------------------------------- /.vscode/.ropeproject/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/.vscode/.ropeproject/config.py -------------------------------------------------------------------------------- /.vscode/.ropeproject/objectdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/.vscode/.ropeproject/objectdb -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /1 - coupling and cohesion/coupling-cohesion-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/1 - coupling and cohesion/coupling-cohesion-after.py -------------------------------------------------------------------------------- /1 - coupling and cohesion/coupling-cohesion-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/1 - coupling and cohesion/coupling-cohesion-before.py -------------------------------------------------------------------------------- /10 - object creation/object-pool-context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/10 - object creation/object-pool-context.py -------------------------------------------------------------------------------- /10 - object creation/object-pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/10 - object creation/object-pool.py -------------------------------------------------------------------------------- /10 - object creation/singleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/10 - object creation/singleton.py -------------------------------------------------------------------------------- /2 - dependency inversion/dependency-inversion-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/2 - dependency inversion/dependency-inversion-after.py -------------------------------------------------------------------------------- /2 - dependency inversion/dependency-inversion-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/2 - dependency inversion/dependency-inversion-before.py -------------------------------------------------------------------------------- /3 - strategy pattern/strategy-after-fn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/3 - strategy pattern/strategy-after-fn.py -------------------------------------------------------------------------------- /3 - strategy pattern/strategy-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/3 - strategy pattern/strategy-after.py -------------------------------------------------------------------------------- /3 - strategy pattern/strategy-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/3 - strategy pattern/strategy-before.py -------------------------------------------------------------------------------- /4 - observer pattern/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/.DS_Store -------------------------------------------------------------------------------- /4 - observer pattern/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /4 - observer pattern/api/plan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/api/plan.py -------------------------------------------------------------------------------- /4 - observer pattern/api/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/api/user.py -------------------------------------------------------------------------------- /4 - observer pattern/api_v2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /4 - observer pattern/api_v2/email_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/api_v2/email_listener.py -------------------------------------------------------------------------------- /4 - observer pattern/api_v2/event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/api_v2/event.py -------------------------------------------------------------------------------- /4 - observer pattern/api_v2/log_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/api_v2/log_listener.py -------------------------------------------------------------------------------- /4 - observer pattern/api_v2/plan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/api_v2/plan.py -------------------------------------------------------------------------------- /4 - observer pattern/api_v2/slack_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/api_v2/slack_listener.py -------------------------------------------------------------------------------- /4 - observer pattern/api_v2/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/api_v2/user.py -------------------------------------------------------------------------------- /4 - observer pattern/lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /4 - observer pattern/lib/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/lib/db.py -------------------------------------------------------------------------------- /4 - observer pattern/lib/email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/lib/email.py -------------------------------------------------------------------------------- /4 - observer pattern/lib/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/lib/log.py -------------------------------------------------------------------------------- /4 - observer pattern/lib/slack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/lib/slack.py -------------------------------------------------------------------------------- /4 - observer pattern/lib/stringtools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/lib/stringtools.py -------------------------------------------------------------------------------- /4 - observer pattern/observer-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/observer-after.py -------------------------------------------------------------------------------- /4 - observer pattern/observer-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/4 - observer pattern/observer-before.py -------------------------------------------------------------------------------- /5 - unit testing/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/5 - unit testing/.DS_Store -------------------------------------------------------------------------------- /5 - unit testing/vehicle_info_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/5 - unit testing/vehicle_info_after.py -------------------------------------------------------------------------------- /5 - unit testing/vehicle_info_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/5 - unit testing/vehicle_info_before.py -------------------------------------------------------------------------------- /5 - unit testing/vehicle_info_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/5 - unit testing/vehicle_info_test.py -------------------------------------------------------------------------------- /6 - template method & bridge/trading-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/6 - template method & bridge/trading-after.py -------------------------------------------------------------------------------- /6 - template method & bridge/trading-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/6 - template method & bridge/trading-before.py -------------------------------------------------------------------------------- /6 - template method & bridge/with-bridge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/6 - template method & bridge/with-bridge.py -------------------------------------------------------------------------------- /7 - dealing with errors/advanced/logging-decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/advanced/logging-decorator.py -------------------------------------------------------------------------------- /7 - dealing with errors/advanced/retry-decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/advanced/retry-decorator.py -------------------------------------------------------------------------------- /7 - dealing with errors/after-context/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after-context/app.py -------------------------------------------------------------------------------- /7 - dealing with errors/after-context/application.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after-context/application.db -------------------------------------------------------------------------------- /7 - dealing with errors/after-context/create-db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after-context/create-db.py -------------------------------------------------------------------------------- /7 - dealing with errors/after-context/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after-context/db.py -------------------------------------------------------------------------------- /7 - dealing with errors/after-context/error-handling-context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after-context/error-handling-context.py -------------------------------------------------------------------------------- /7 - dealing with errors/after-context/error-handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after-context/error-handling.py -------------------------------------------------------------------------------- /7 - dealing with errors/after/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after/app.py -------------------------------------------------------------------------------- /7 - dealing with errors/after/application.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after/application.db -------------------------------------------------------------------------------- /7 - dealing with errors/after/create-db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after/create-db.py -------------------------------------------------------------------------------- /7 - dealing with errors/after/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after/db.py -------------------------------------------------------------------------------- /7 - dealing with errors/after/error-handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/after/error-handling.py -------------------------------------------------------------------------------- /7 - dealing with errors/before/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/before/app.py -------------------------------------------------------------------------------- /7 - dealing with errors/before/application.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/before/application.db -------------------------------------------------------------------------------- /7 - dealing with errors/before/create-db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/before/create-db.py -------------------------------------------------------------------------------- /7 - dealing with errors/before/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/before/db.py -------------------------------------------------------------------------------- /7 - dealing with errors/before/error-handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/before/error-handling.py -------------------------------------------------------------------------------- /7 - dealing with errors/monadic-error-handling/application.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/monadic-error-handling/application.db -------------------------------------------------------------------------------- /7 - dealing with errors/monadic-error-handling/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/7 - dealing with errors/monadic-error-handling/example.py -------------------------------------------------------------------------------- /8 - mvc/mvc-after-strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/8 - mvc/mvc-after-strategy.py -------------------------------------------------------------------------------- /8 - mvc/mvc-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/8 - mvc/mvc-after.py -------------------------------------------------------------------------------- /8 - mvc/mvc-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/8 - mvc/mvc-before.py -------------------------------------------------------------------------------- /9 - solid/dependency-inversion-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/dependency-inversion-after.py -------------------------------------------------------------------------------- /9 - solid/dependency-inversion-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/dependency-inversion-before.py -------------------------------------------------------------------------------- /9 - solid/interface-segregation-after-comp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/interface-segregation-after-comp.py -------------------------------------------------------------------------------- /9 - solid/interface-segregation-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/interface-segregation-after.py -------------------------------------------------------------------------------- /9 - solid/interface-segregation-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/interface-segregation-before.py -------------------------------------------------------------------------------- /9 - solid/liskov-substitution-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/liskov-substitution-after.py -------------------------------------------------------------------------------- /9 - solid/liskov-substitution-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/liskov-substitution-before.py -------------------------------------------------------------------------------- /9 - solid/open-closed-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/open-closed-after.py -------------------------------------------------------------------------------- /9 - solid/open-closed-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/open-closed-before.py -------------------------------------------------------------------------------- /9 - solid/single-responsibility-after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/single-responsibility-after.py -------------------------------------------------------------------------------- /9 - solid/single-responsibility-before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/9 - solid/single-responsibility-before.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/README.md -------------------------------------------------------------------------------- /better-rust/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/Cargo.lock -------------------------------------------------------------------------------- /better-rust/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/Cargo.toml -------------------------------------------------------------------------------- /better-rust/coupling_and_cohesion/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/coupling_and_cohesion/Cargo.toml -------------------------------------------------------------------------------- /better-rust/coupling_and_cohesion/src/coupling_cohesion_after.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/coupling_and_cohesion/src/coupling_cohesion_after.rs -------------------------------------------------------------------------------- /better-rust/coupling_and_cohesion/src/coupling_cohesion_before.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/coupling_and_cohesion/src/coupling_cohesion_before.rs -------------------------------------------------------------------------------- /better-rust/coupling_and_cohesion/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/coupling_and_cohesion/src/main.rs -------------------------------------------------------------------------------- /better-rust/macros/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/macros/Cargo.toml -------------------------------------------------------------------------------- /better-rust/macros/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/macros/src/lib.rs -------------------------------------------------------------------------------- /better-rust/solid/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/Cargo.toml -------------------------------------------------------------------------------- /better-rust/solid/src/dependency_inversion_after.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/dependency_inversion_after.rs -------------------------------------------------------------------------------- /better-rust/solid/src/dependency_inversion_before.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/dependency_inversion_before.rs -------------------------------------------------------------------------------- /better-rust/solid/src/interface_segregation_after.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/interface_segregation_after.rs -------------------------------------------------------------------------------- /better-rust/solid/src/interface_segregation_before.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/interface_segregation_before.rs -------------------------------------------------------------------------------- /better-rust/solid/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/lib.rs -------------------------------------------------------------------------------- /better-rust/solid/src/liskov_substitution_after.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/liskov_substitution_after.rs -------------------------------------------------------------------------------- /better-rust/solid/src/liskov_substitution_before.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/liskov_substitution_before.rs -------------------------------------------------------------------------------- /better-rust/solid/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/main.rs -------------------------------------------------------------------------------- /better-rust/solid/src/open_closed_after.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/open_closed_after.rs -------------------------------------------------------------------------------- /better-rust/solid/src/open_closed_before.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/open_closed_before.rs -------------------------------------------------------------------------------- /better-rust/solid/src/single_responsibility_after.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/single_responsibility_after.rs -------------------------------------------------------------------------------- /better-rust/solid/src/single_responsibility_before.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArjanCodes/betterpython/HEAD/better-rust/solid/src/single_responsibility_before.rs -------------------------------------------------------------------------------- /better-rust/src/main.rs: -------------------------------------------------------------------------------- 1 | 2 | fn main() { 3 | println!("Hello, world!"); 4 | } 5 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | flask 2 | returns 3 | --------------------------------------------------------------------------------