דילוג לתוכן הראשי
0

השיעור הזה זמין כרגע באנגלית.

Write it once, use it everywhere

Copy-pasting code means copying its bugs too. A function gives a piece of logic a name, so you can call it from anywhere and fix it in one place.