Skip to main content

The Language Evaluation Criteria

There are a vast amount of programming language that we are using. Some are designed to accomplish some specific task. Some are for common uses. Any way the below described is a short ‘summery’ of the criteria we followed to evaluate the language.


1.       Readability
a.       Overall Simplicity
b.      Orthogonality
c.       Data Types
d.      Syntax Design
2.       Writability
a.       Simplicity and Orthogonality
b.      Support for Abstraction
c.       Expressivity
3.       Reliability
a.       Type Checking
b.      Exception Handling
c.       Aliasing
d.      Readability and Writability
4.       Cost

1.     Readability

It is the ease with which programs can be read and understood.

·        Overall Simplicity.

o   A manageable set of features and constructs
o   Few feature multiplicity (means of doing the same operation)
o   Minimal operator overloading
o   Function overloading

·        Orthogonality

o   A relatively small set of primitive constructs can be combined in a relatively small number of ways.
o   Every possible combination is legal.

·        Control statements.

o   The presence of well-known control structures (e.g., while statement).
o   Data types and structures.
o   The presence of adequate facilities for defining data structures.

·        Syntax considerations

o   Identifier forms: flexible composition.
o   Special words and methods of forming compound statements.
o   Form and meaning: self-descriptive constructs, meaningful keywords.

2.     Writability

It is the easiness with which a program can be created.

·        Simplicity and Orthogonality

o   Few constructs, a small number of primitives, a small set of rules for combining them.

·        Support for abstraction

o   The ability to define and use complex structures or operations in ways that allow details to be ignored.

·        Expressivity

o   A set of relatively convenient ways of specifying operations.
o   Example: the inclusion of for statement in many modern languages.

3.     Reliability

It is the ability of a programming language to perform to its specifications.

·        Type checking

o   Testing for type errors.

·        Exception handling

o   Intercept run-time errors and take corrective measures.

·        Aliasing

o   Presence of two or more distinct referencing methods for the same memory location.

·        Readability and Writability

o   A language that does not support “natural” ways of expressing an algorithm will necessarily use “unnatural” approaches, and hence reduced reliability.

4.   Cost

o   Training programmers to use language.
o   Writing programs (closeness to particular applications).
o   Compiling programs.
o   Executing programs.
o   Language implementation system: availability of free compilers, libraries.
o   Reliability: poor reliability leads to high costs.

o   Maintaining programs.


Popular posts from this blog

How to pass variables to res.render() in Node.js

I was trying to figure out how to render a view inside a view, as I was stuck with this issue.

Horrible Effects of Misplaced Extensions ;)
I was using Node.js platform with ejs template engine.

My index.ejs file has an included header.ejs file.
Everything works well except that I can't pass values to the variable status in header.ejs.

Here is my abstract code...




The most funniest solution ever!
The solution is as easy as this.
Just remove .ejs extension from the include command.
I spent at least an entire night to figure it out.

Talky Messenger Documentation & Setup

Just created a chat app that runs in Node and Socket. By the Grace of God, this attempt was worthy.

Talky is a messenger app built with Node, Express, Socket, Angular & Bootstrap.
It's like a server-client structure. (But obviously not like the one we done at OS lab using shared memory). It has a broadcasting structure. Talky does not keep a log on chat. i.e., It doesn't have a memory or database. When we close the browser window, chat history is lost. There I also added a basic console, protected by a password, to send real-time notifications to active clients.

The name 'Talky' was suggested by a friend of mine. (hey, thank you for that. The fact is that I am not really good at naming...😝)

What if sometimes your college blocks WhatsApp? Try Talky.

(There is also a website on internet in the name of 'Talky' which has no connection with this one.)

Download Talky Messenger To use Talky, all you need is 3 things:

Node serverSource code.Three commands.