5 Haziran 2015 Cuma

BAZI TERİMLER

The rules that determine what is allowed are called the syntax of the language.Syntax rules specify the basic vocabulary of the language and how programs can be constructed using things like loops, branches, and subroutines.However, syntax is only part of the story. It's not enough to write a program that will run.You want a program that will run and produce the correct result! That is, the meaning of the program has to be right. The meaning of a program is referred to as its semantics. More correctly,the semantics of a programming language is the set of rules that determine the meaning of a program written in that language. A semantically correct program is one that does what you want it to.Furthermore, a program can be syntactically and semantically correct  but still be a pretty bad program. Using the language correctly is not  the same as using it well. For example, a good program has "style." It is written in a way that will make it easy for people to read and to understand.  It follows conventions that will be familiar to other programmers. And it has an overall design that will make sense to human readers. The computer is completely oblivious to such things, but to a human reader, they are paramount. These aspects of programming are sometimes referred to as pragmatics.

Hiç yorum yok:

Yorum Gönder