are a set of guidelines for a specific programming language that recommend programming style, practices, and methods for each aspect of a program written in that language. These conventions usually cover file organization, indentation, comments, declarations, statements, white space, naming conventions, programming practices, programming principles, programming rules of thumb, architectural best practices, etc. These are guidelines for software structural quality. Software programmers are highly recommended to follow these guidelines to help improve the readability of their source code and make software maintenance easier. Coding conventions are only applicable to the human maintainers and peer reviewers of a software project. Conventions may be formalized in a documented set of rules that an entire team or company follows, or may be as informal as the habitual coding practices of an individual. Coding conventions are not enforced by compilers.
เป็นชุดของแนวทางที่เฉพาะเจาะจงภาษาการเขียนโปรแกรมที่แนะนำรูปแบบ , โปรแกรมการปฏิบัติและวิธีการสำหรับแต่ละด้านของโปรแกรมที่เขียนในภาษานั้น อนุสัญญาเหล่านี้มักจะครอบคลุมองค์กรไฟล์ , เยื้อง , ความคิดเห็น , การประกาศงบพื้นที่สีขาวตั้งชื่ออนุสัญญา การปฏิบัติ หลักการเขียนโปรแกรม การเขียนโปรแกรมที่กฎของหัวแม่มือ , สถาปัตยกรรมการปฏิบัติที่ดีที่สุด , ฯลฯ เหล่านี้เป็นแนวทางสำหรับซอฟต์แวร์ที่มีคุณภาพโครงสร้าง โปรแกรมเมอร์ซอฟต์แวร์จะแนะนำให้ปฏิบัติตามแนวทางเหล่านี้จะช่วยปรับปรุงการอ่านของรหัสแหล่งที่มาของพวกเขาและทำให้การบำรุงรักษาซอฟต์แวร์ได้ง่ายขึ้น การเข้ารหัสการประชุมเป็นเพียงสามารถใช้ได้กับผู้ดูแล มนุษย์และเพื่อนความคิดเห็นของโครงการซอฟต์แวร์ การประชุมอาจจะกล่าวในเอกสารชุดของกฎที่เป็นทีมหรือบริษัทดังต่อไปนี้ หรืออาจจะเป็นที่ไม่เป็นทางการเป็นนิสัยนะครับ การปฏิบัติของแต่ละบุคคล การเข้ารหัสการประชุมจะไม่บังคับใช้โดยคอมไพเลอร์ .
การแปล กรุณารอสักครู่..
