Page 1 of 1 [ 6 posts ] 

no_reason91
Butterfly
Butterfly

User avatar

Joined: 9 Aug 2006
Gender: Female
Posts: 12

18 Oct 2007, 11:30 pm

i dont know if this post belongs in here.but i dont know any other catagories to put it in.
i am in majoring in Computer science and engineering.but i am terrible at programming.though i find harware interesting.now i am really frustated over not being able to be a good programmer.i have spend 1 year in this major but still is a novice.i find very atached to anything related to computer but not the things that might get me through a good career.
i dont know what to do.



iceb
Veteran
Veteran

User avatar

Joined: 26 Apr 2007
Age: 68
Gender: Female
Posts: 1,562
Location: London UK

19 Oct 2007, 12:45 am

Being good with hardware is a good start, I'm not bad at programming but am a bit slow I also have a marked preference for lower level languages my favorite being C I have to say some languages I find incredibly difficult like Prologe but I have mastered them maybe not very well.

Percevearence!

Good old fasiond BASIC is a good language to begin with.

Don't expect to do to great things at first start by keeping it simple.

Write lots of comments.
I was taught the technique of writing my program in psudocode comments to begin with.

Keep trying and good luck!


_________________
Wisdom must be gathered, it cannot be given.


MysteryFan3
Veteran
Veteran

User avatar

Joined: 8 Jun 2007
Age: 68
Gender: Male
Posts: 1,156
Location: Indiana

19 Oct 2007, 2:29 am

My first language was BASIC in 1974. I was awful at it. By the time I got my Associate's Degree I had programmed in 9 computer languages and was still not very good. It took me a couple of years on the job as a COBOL programmer to develop a sensible coding style by trial and error. I was a programmer for 24 years and loved it.

Use detailed comments, put white space between functions, use each variable for one purpose only (no recycling), give each function a separate routine and give each routine a separate set of scratchpad variables. Reusing variables "to save space" is the biggest cause of program bugs. Don't be wasteful or careless, but don't spend five hours to save ten bytes of storage on systems with multi-gigabyte RAM and multi-terabyte hard drives. This isn't 1967. :D


_________________
To eliminate poverty, you have to eliminate at least three things: time, the bell curve and the Pauli Exclusion Principle. Have fun.


hyperbolic
Veteran
Veteran

User avatar

Joined: 14 Aug 2006
Gender: Male
Posts: 1,869

19 Oct 2007, 5:07 pm

Computer science at my college was all about programming. The functional programming required for my first C and first C++ class was fine, but I found that the object-oriented programming (which is required for modern software engineering) in the second year C++ programming class was difficult and not very interesting to me. I ended up switching majors. If you don't like programming, I would definitely not recommend computer science as your major.

It is true that computer science can get you a good-paying job. However, you are also an engineering major. In the US, at least, engineers can get good-paying jobs too.

Good luck to you in your endeavors.



geek
Veteran
Veteran

User avatar

Joined: 11 Mar 2007
Age: 67
Gender: Male
Posts: 723
Location: Elsewhere

19 Oct 2007, 7:33 pm

hyperbolic wrote:
If you don't like programming, I would definitely not recommend computer science as your major.


Or at least find a good teacher and a good book, and see if that helps. I've known others who could get nowhere with programming until they found a good teacher, then did very well afterwards.



-Main
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

User avatar

Joined: 10 May 2007
Age: 35
Gender: Male
Posts: 69

20 Oct 2007, 3:18 am

I know one Uni that offerers a computer engineering course. It's all hardware, no programming necessary. If you hate programming and need it to pass, then don't take computer science. Maybe focus on the engineering more, if that's what you enjoy.

And, you need a good teacher and a good book. Without a good mentor and a good reference, you won't get anywhere with programming. I program with an IDE in front of me and a PDF/Web page/actual book or some other reference in front of me as well.