Good Coding Practice for AmiBroker AFL

Good coding practice เป็นการเขียนโค้ดที่เหมาะสม ซึ่งไม่ใช่แค่ให้โค้ดสามารถรันได้ แต่ต้องให้โค้ดที่เขียนขึ้นมานั้น สามารถอ่านได้ง่ายทั้งคนเขียนโค้ดเองและผู้อื่น วีดีโอสอน 4 ตัวนี้ถือว่าเป็นแนวทาง และเป็นประโยชน์ต่อโปรแกรมเมอร์รุ่นใหม่ที่ควรต้องใส่ใจ ในโค้ดของตนเอง
พื้นฐานเบื้องต้นในการเขียนโค้ดให้เหมาะสม หรือ Good Coding Practice แบ่งออกเป็น

  • Naming
  • Functions
  • Comments
  • Formatting

Good Coding Practice for Naming

Good Coding Practice for Functions

Good Coding Practice for Comments

Good Coding Practice for Formatting

 

Books for Good Coding Practice

  • Clean Code
  • The Pragmatic Programmer