Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-07-2011, 08:06 AM   #11
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: 11-year old mediocre programmer

Looking back to the original post - you can get into bad habits in any language. Visual Basic just makes it incredibly easy to get into those habits, other languages like Java discourage this far more.

What are these bad habits? Well it varies, but code duplication, case insensitive and the general "let's hack it until it works" approach are on the top list. Why is this such a bad thing if it works? One word - maintainability. In the real world the vast majority of a system's life cycle is spent in maintenance and upgrading it, not in writing it. This job is made incredibly difficult if the code is written poorly to start with - hence the need to get into good programming habits from day 1! Trust me, when you're presented with huge amounts of poorly written code in the real world you'll see what I mean
__________________

__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 04-07-2011, 10:19 PM   #12
Daemon Poster
 
GibsonSGKing's Avatar
 
Join Date: Jan 2009
Posts: 1,384
Default Re: 11-year old mediocre programmer

Quote:
Originally Posted by berry120 View Post
Looking back to the original post - you can get into bad habits in any language. Visual Basic just makes it incredibly easy to get into those habits, other languages like Java discourage this far more.

What are these bad habits? Well it varies, but code duplication, case insensitive and the general "let's hack it until it works" approach are on the top list. Why is this such a bad thing if it works? One word - maintainability. In the real world the vast majority of a system's life cycle is spent in maintenance and upgrading it, not in writing it. This job is made incredibly difficult if the code is written poorly to start with - hence the need to get into good programming habits from day 1! Trust me, when you're presented with huge amounts of poorly written code in the real world you'll see what I mean
Not to mention debugging becomes nearly impossible when writing the program for the first time....
__________________

__________________
C2Q Q9400 @ 3.2GHZ | Zalman 9900 LED HeatSink | Asus P5E3 Pro Motherboard | CM Storm Scout case | 1TB Caviar Black HDD | GTX760 4GB | 23" Acer [1920x1080] & 21.6" Asus [1920x1080] monitors
GibsonSGKing is offline   Reply With Quote
Old 04-07-2011, 11:33 PM   #13
In Runtime
 
FORDSVTPARTS's Avatar
 
Join Date: Mar 2011
Posts: 258
Send a message via AIM to FORDSVTPARTS
Default Re: 11-year old mediocre programmer

I Am 13 And Visual Basic Is Cool... I Have Been Programming For about 3 Years or so...

I Have Also Found this Website Called SIGOPS Pretty cool I created my own OS with it...
SIGOPSCreate Your Own Operating System Adventure
FORDSVTPARTS is offline   Reply With Quote
Old 04-12-2011, 09:07 PM   #14
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: 11-year old mediocre programmer

Quote:
I Am 13 And Visual Basic Is Cool... I Have Been Programming For about 3 Years or so...
Sorry, but in the grand scheme of things that's nothing at all. Get a few years experience in a variety of languages, then come back to visual basic and tell me it's cool
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 04-12-2011, 10:38 PM   #15
Daemon Poster
 
GibsonSGKing's Avatar
 
Join Date: Jan 2009
Posts: 1,384
Default Re: 11-year old mediocre programmer

Quote:
Originally Posted by berry120 View Post
Sorry, but in the grand scheme of things that's nothing at all. Get a few years experience in a variety of languages, then come back to visual basic and tell me it's cool
Yeah.... I really can't wait to get into college and try my hand at Java to be quite honest
__________________
C2Q Q9400 @ 3.2GHZ | Zalman 9900 LED HeatSink | Asus P5E3 Pro Motherboard | CM Storm Scout case | 1TB Caviar Black HDD | GTX760 4GB | 23" Acer [1920x1080] & 21.6" Asus [1920x1080] monitors
GibsonSGKing is offline   Reply With Quote
Old 04-13-2011, 06:49 AM   #16
Daemon Poster
 
wmorri's Avatar
 
Join Date: May 2007
Posts: 1,066
Send a message via AIM to wmorri
Default Re: 11-year old mediocre programmer

~Darkseeker~, the Linux Kernel is written in C with small sections written in assembly language. For more on that see the Wikipedia article.
__________________
LEARN BY DOING NOT BY FOLLOWING DIRECTIONS!
Linux Forever!

I thought you were a hispanic/african american? Who is the white guy in the pictures?
wmorri is offline   Reply With Quote
Old 04-14-2011, 01:13 AM   #17
Solid State Member
 
Join Date: Feb 2011
Posts: 17
Default Re: 11-year old mediocre programmer

IMO, stay away from visual basic. HORRIBLE LANGUAGE. Anyways if you want to do OS programming learn C and Assembly. If you want to do higher level tasks Java is good, but a really heavy language (I run Arch, so to me heavy == the devil). I suggest trying out a few to see what you like. You could also try interpreted languages and weakly typed (eg Python which is both and MAGIC to code in). If you are interested in developing good habits because you should "always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live", code in C, it forces good habits. People might hate on the low level nature of C, but its a good starting point if you want to continue into C++.

PS MY GOD this thread makes me feel old
hamalnamal is offline   Reply With Quote
Old 04-14-2011, 07:27 AM   #18
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: 11-year old mediocre programmer

Quote:
code in C, it forces good habits.
I wouldn't necessarily agree. C lets you do pretty much anything you want, whether it's a good habit, something that will generate a bug or something that will definitely crash as soon as you run your code.

There's another argument for staying away from C these days and that is it doesn't teach any of the higher level programming constructs that you WILL need to use if you go into this field. Object orientation is out, as are generics, closures, annotations, enums, etc. All of these things are in more modern, higher level languages but missing from C, and all of these things are things you'll need to understand.
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 04-15-2011, 09:21 PM   #19
Solid State Member
 
Join Date: Feb 2011
Posts: 17
Default Re: 11-year old mediocre programmer

Quote:
Originally Posted by berry120 View Post
I wouldn't necessarily agree. C lets you do pretty much anything you want, whether it's a good habit, something that will generate a bug or something that will definitely crash as soon as you run your code.
True, but that's why I think C forces good habits. Other languages baby you, but in C you have to be conscious of good practices, otherwise not even you will be able to make heads or tails of your code and why it's not working as it should.

I don't think C is something to code in for years before you progress to another language, but it helps you understand the underlying structure behind the things it doesn't have (as you have to make it yourself if you want it).
hamalnamal is offline   Reply With Quote
Old 05-14-2011, 03:56 AM   #20
Solid State Member
 
Join Date: May 2011
Posts: 11
Default Re: 11-year old mediocre programmer

It's made in a primarily graphic interface, and is very basic. You would be /much/ better off learning C++, as it gives you a better idea of how other languages work in my opinion
__________________

Johnwalton is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 10:36 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0