Coding Styles, guidelines and conventions are soimportant in Software Engineerin
ID: 3607924 • Letter: C
Question
Coding Styles, guidelines and conventions are soimportant in Software Engineering. In this reference answer thefollowing queries about it:-
a. Why we use Coding Conventions? 2Marks
b. Why Code conventions areimportant to programmers for a number of reasons. 5Marks
c. How Quality of the endproduct is much dependent on coding styles. 3Marks
You know about 2 programming Languages C# and Java. Hereyou are required to write at least 10 differences in terms ofCoding Styles / Conventions of these 2 languages: - 20Marks
Explanation / Answer
C# does not include checked exceptions. Some would argue thatchecked exceptions are very helpful for good programming practice.Others, including Anders Hejlsberg, chief C# language architect,argue that they were to some extent an experiment in Java and thatthey haven't been shown to be worthwhile.
Java requires that a source file name must match the only publicclass inside it, while C# allows multiple public classes in thesame file.
C# allows the use of pointers . Pointers also greatly complicatetechnologies such as Java's RMI where program objects resident onone computer can be referenced within a program running on anentirely separate computer. Some have speculated that the lack ofmemory pointers in Java was a nod towards the coming of gridcomputing, where a single application may be distributed acrossmany physical pieces of hardware.
I hope it is useful to you.