Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,156,064 members, 7,828,768 topics. Date: Wednesday, 15 May 2024 at 01:51 PM

Stonehedge's Posts

Nairaland Forum / Stonehedge's Profile / Stonehedge's Posts

(1) (of 1 pages)

Programming / Re: C++ Or Java: Which Way To Go? by stonehedge: 4:09pm On Jun 27, 2009
Programming / Re: C++ Or Java: Which Way To Go? by stonehedge: 2:18pm On Jun 22, 2009
In programming and no matter the language the following are the same

a) an if will always evaluate to true/false
b) a while will always evaluate while a condition is true
c) a for will always evaluate from the start to the stop
d) an integer variable will hold a variable that is an integer. Scripting languages try to make this statement a little vague allowing an integer variable to hold a date, but you are warned about the consequences
e) division by 0 is not allowed
f) 1 + 1 will always be 2
g) to get data from a database:
i) connect to the database
ii) give ur selection command be it SQL, OOP, etc
iii) do what you want with the data
iv) whilst there is data, retrieve the next record/tuple/resultset/recordset/etc
h) whether u create the memory and free it or the OS/JVM/Runtime does it for you is immaterial, as long as you ensure it is freed. When its done depends on your applications needs
i) Everyloop must have a terminating point, else you have recursion
j) Every program can be written with every other programming language, just like every motor car can take you to any destination.
k) Every programming language you learn can earn you a job in any place in this world.

My point::
Forget the HYPE, learn programming and the job will come, whether in Nigeria or else where.

My 2 kobo worth.
Programming / Re: C++ Or Java: Which Way To Go? by stonehedge: 12:45pm On Jun 22, 2009
@wazobia-ng - He has basically hit the nail on the head.

@Chf.Priest - to add to what he has said,
Programming with:
A) C++ is like building a house with sand, cement, water and gravel. You have full control but it will take you more time
B) Pascal/Object Pascal like building a house with blocks/bricks. Pick the block size you want and start laying them. You still have control if you choose the right block size.
C) VB/.NET/JAVA is like building a house with prefab. You are stuck to the particular type of prefab you choose. Choose the wrong one at the beginning and you will have to restart if you are changing the pattern of the house.

All said learn programming and the language you use will not be a problem.

(1) (of 1 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.