Clean code और refactoring
ऐसा code लिख पाओगे जिसे पढ़ना और बदलना आसान हो: साफ़ नाम, छोटे functions, कोई दोहराई हुई logic नहीं, और गड़बड़ code को tests के साथ safely refactor कर पाओगे।
Beginner 3 · Data and toolsabout 2 hours5 sections
सीधा जवाब
Clean code वो है जिसे आपका teammate बिना डरे पढ़ और बदल सके: साफ़ नाम, छोटे functions जो एक ही काम करें, और कोई दोहराई हुई logic नहीं। Refactoring उसकी बनावट सुधारती है, बिना ये बदले कि वो करता क्या है।
ये क्यों ज़रूरी है
Code लिखा कम जाता है, पढ़ा बहुत ज़्यादा जाता है। Clean code से reviews तेज़ होते हैं, bugs कम आते हैं और बदलाव सस्ते पड़ते हैं, और take-home assignments में code चलने के साथ-साथ इस पर भी नंबर मिलते हैं।
Sign up free to read the whole lesson
The rest of this lesson: 5 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.
Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.
Related
Software engineeringBeginner 3: Data and toolsVideo lessonsRefactoringCode smellUnit test