diff --git a/README-Persian.md b/README-Persian.md new file mode 100644 index 0000000..14aa44a --- /dev/null +++ b/README-Persian.md @@ -0,0 +1,39 @@ +# کد تمیز در پایتون + +[![Build Status](https://travis-ci.com/zedr/clean-code-python.svg?branch=master)](https://travis-ci.com/zedr/clean-code-python) +[![](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/download/releases/3.8.3/) + +## فهرست مطالب + 1. [مقدمه](##مقدمه) + 2. [متغیرها](##) + 3. [تابع‌ها](##) + 4. [شی‌ها و ساختمان داده](##) + 5. [کلاس‌ها](##) + 1. [S: قاعده تک وظیفه‌ای (SRP)](##) + 2. [O: قاعده باز و بسته (OCP)](##) + 3. [L: قاعده جایگزینی لیسکوف (LSP)](##) + 4. [I: قاعده جداسازی رابط (ISP)](##) + 5. [D: قاعده وارونگی وابستگی (DIP)](##) + 6. [خودت را تکرار نکن](##) + 7. [ترجمه](##) + +## مقدمه + +# clean-code-python + +[![Build Status](https://travis-ci.com/zedr/clean-code-python.svg?branch=master)](https://travis-ci.com/zedr/clean-code-python) +[![](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/download/releases/3.8.3/) + +## Table of Contents + 1. [Introduction](#introduction) + 2. [Variables](#variables) + 3. [Functions](#functions) + 4. [Objects and Data Structures](#objects-and-data-structures) + 5. [Classes](#classes) + 1. [S: Single Responsibility Principle (SRP)](#single-responsibility-principle-srp) + 2. [O: Open/Closed Principle (OCP)](#openclosed-principle-ocp) + 3. [L: Liskov Substitution Principle (LSP)](#liskov-substitution-principle-lsp) + 4. [I: Interface Segregation Principle (ISP)](#interface-segregation-principle-isp) + 5. [D: Dependency Inversion Principle (DIP)](#dependency-inversion-principle-dip) + 6. [Don't repeat yourself (DRY)](#dont-repeat-yourself-dry) + 7. [Translation](#translation)