After 4 happy years of coding in compiled languages of C and C++, the time has come to make a transition to the interpreted language of Java. The change is more of an imposed one than desired. And I am not getting drawn into the subject of compilers vs. interpretors, mainly because of my lack of experience with the latter category.
Starting the next week, I shall join the FICO, Bangalore. I am quite excited about the oppurtunity as I have received excellant inputs from my seniors and their friends regarding the kind of work that people do over there. Also I need a change from an university-like environment.
Now at Fair Isaac, apparently, people prefer Java over C++. Navin sir said that there are a group of people using C++, but the bulk of libraries and code is in Java. So it will be easier if I switch over to Java than C++, though it shouldn’t be a lot tougher sticking with it. And after giving it a thought, I have decided to learn Java. Learning a new programming language is all about going through its libraries and adapting them. It should be an easy enough task. Also since I have a basic understanding of objects, classes, inheritance and theior abstract nature, it should be easy enough.
The only thing I shall miss are the pointers. Sadly Java does not allow pointer access to programmers like the C does. I do not know the reason behind this restriction, but it sure makes me sad. Of late, most of my variables were being referenced by address and I was really getting into the habbit of using pointers. They make complicated things so easy to manage.
And then another thing is the usage of WIndows. I would really prefer Ubuntu for coding. I do not thing there should be any problem with using ubuntu. I just do not want to START to TURN OFF windows
.
and
. To make them work, I defined a global variable –
. The
which is the amount of spaces with which the indentation should take place. I like the value to be 2. The two macros are
which would print the number of spaces to produce the required indentation.
is a globally declared temporary variable and
is the file pointer to the file where the log has to be written. I initialize the
part of my program.
statement using the
command. I call my logger as
. Its declaration is as follows
Recent Comments