- Varibles
- Keywords
- Operators
- Syntax
- Conditional statements
- Looping statements
- Predefined functions
- Garbage Collection (GC) --> It frees the memory of the unused variables.
- Data Structures
July 11, 2011
Things to remember while developing a New programming language
Advantages of OOPS
- Effective memory management
- Class
- Objects
- Encapsulation
- Polymorphism
- Reuse --> Time management, Resourse management
- Easy to Maintain/Understand/Implement
Disadvantages of Procedural languages
- Procedural languages are difficult to relate with the real world objects.
- Procedural codes are very difficult to maintain, if the code grows larger.
- Procedural languages does not have automatic memory management as like in Java. Hence, it makes the programmer to concern more about the memory management of the program.
- The data, which is used in procedural languages are exposed to the whole program. So, there is no security for the data.
Examples of Procedural languages :
- BASIC
- C
- Pascal
- FORTRAN
July 08, 2011
Points to remember while developing a program
- Don't Assume yourself about the result of the program.
- Donot call any function inside any loop.This may reduce the performance and processing speed of the program.
- Documenting the code is important when we design a program. It should be done before the classes and methods.
- Documentation helps to maintain the program and i'll help for the better understanding of program.
July 07, 2011
Points to consider while designing a Optimal solution
- The program should be opt for various Inputs.
- Minimize the number of loops in the program.
- Minimize the use of Variables.
- Consider the memory usage of the program.
- Do proper testing in the program.
Subscribe to:
Posts (Atom)
Connecting Java program to Database
It is very simple to establish a connection to the Database from a Java program Class.forName("com.mysql.jdbc.Driver...
-
Procedural languages are difficult to relate with the real world objects. Procedural codes are very difficult to maintain , if the code ...
-
It is very simple to establish a connection to the Database from a Java program Class.forName("com.mysql.jdbc.Driver...