Abstract Confusions

Complexity is not a cause of confusion. It is a result of it.

Category Archives: Python

Haskell – A Functional Programming Language

Functions in mathematics are like building blocks in many fields. Functions are also widely used in physics and other branches of engineering. In computer science, functions play a major role.  When you have a mathematical function and want to write a program for that, most of the time you do it line by line, with the program constructs like looping, conditional looping and other control structures. This could run to several lines of code.

Functional Programming

Unlike the programming languages like Pascal, C, C++ and all other higher programming languages thereof, are known as imperative programming or structured programming languages. Imperative program is executed using statements described steps after steps. Functional programming is programming executed by evaluating expressions (or functions).  There are no variable assignments, on the higher side, functional program contains no side effect at all. Read more of this post

Dynamic Typing – New Feature in C# 4.0

Microsoft has released a new version of its flagship product .NET. Visual Studio is highly productive environment for professional to develop and deploy .NET frame work applications. But it still lacked few features which if present would have been better. One of those features is ‘dynamic programming or dynamic typing’. A new version Visual Studio 2010 is released recently. C# 4.0 has this feature.

Dynamic Typing / Dynamic Programming

Dynamic typing as it is known famously has more advantages over static typing. More often people note that, in a statically typed language, a variable – the name, is bound to an object and also bound to a data type. The data type a variable takes needs to be known at the compile time itself. It is true in Java, C and C++.

In a dynamically typed language, the variable, the name is bound to only object. The data type is not declared up front. All happens in runtime. Pretty much true with programming language Python. Now, with Visual studio 2010 release, we will have C# 4.0. C# 4.0 also has dynamic typing feature now. Read more of this post