Previous in Forum: Unbalanced Load   Next in Forum: Super Fast Cable Modem
Close
Close
Close
17 comments
Rate Comments: Nested
Anonymous Poster

Programming Language : Undergraduate Electrical Engineer

05/09/2007 9:38 AM

Hello All,

I'm currently an undergraduate electrical engineering student. I am planning to learn another programming language just to build up my CV and my skills for the future.

What language do you guys believe will be the way to go for electrical engineers in the future?

C?
C++?
Java?
VB?
or even VHDL?

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: El Lago, Texas, USA
Posts: 2639
Good Answers: 65
#1

Re: Programming Language : Undergraduate Electrical Engineer

05/09/2007 11:38 AM

I vote for C++ and VHDL. If you can do these two, you'll be able to do just about anything.

Reply
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#2

Re: Programming Language : Undergraduate Electrical Engineer

05/09/2007 4:18 PM

It really depends on what area of engineering you are looking at and what applications you will be dealing with. The different languages have their advantages and disadvantages. C++ is nice, but I would suggest you learn a second language that allows you to cover a large area of applications rather than just learning C and C++. Specialisation is nice but flexibility is better.

I am just happy I don't have to write code in Hexadecimal anymore. Hooray for compilers!

Java? not my cup of tea

__________________
jack of all trades
Reply
Guru
Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: El Lago, Texas, USA
Posts: 2639
Good Answers: 65
#3
In reply to #2

Re: Programming Language : Undergraduate Electrical Engineer

05/09/2007 4:36 PM

And the important thing is not so much to learn to program, but to learn how to learn to program, since new languages come into vogue every few years.

Fortran, anyone?

Reply
Anonymous Poster
#9
In reply to #3

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 11:46 AM

I still remember how to code in Fortran.... Damn I'm old.

Reply
Guru
Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: El Lago, Texas, USA
Posts: 2639
Good Answers: 65
#10
In reply to #9

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 11:49 AM

I don't remember much, but I'm sure I could still manage to put the printer feeder in an infinite loop.

Reply
Anonymous Poster
#4

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 1:52 AM

C++ will give you a good grounding in the basics. As an Elec Eng you'll have to learn new languages and dialects all the time anyway. Jeff

Reply
Commentator

Join Date: Apr 2007
Posts: 55
#5

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 2:21 AM

If you are interested in embedded programming. C as a scaffold for assembly is the way to go. You only need assembler for 5% or less of the code and sometimes none at all but first you need to learn to write fast clean code and profile it to really understand what it does. GNUCC without the latest open source restrictions is what I would use. It is portable over almost everything.

If you want to add C++ on to that you can but be aware of what everything you add to a program costs in memory and processor cycles. The day will come when the boss wants faster code it won't be yours than need fixing.

I recommend Java as the language to use to as human interface and to use Berkley sockets to interface between the processes. Read up on distributed processing and ways to make it happen

I would try to learn languages and tools that are common to Windows, Unix, Linux and an embedded CPUs. Being married to one OS is not a good thing for an engineer who should select thing on their merit for the task at hand not what he know how to use.

Good luck
Gordon

Reply
Power-User
Technical Fields - Education - New Member Technical Fields - Technical Writing - New Member

Join Date: Sep 2006
Posts: 367
Good Answers: 1
#6

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 8:36 AM

Java

Reply
Member

Join Date: May 2007
Posts: 6
#7

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 10:04 AM

FORTRAN - Over fifty and still kicking butt.

Reply
Power-User

Join Date: Dec 2006
Location: Buffalo, New York
Posts: 142
Good Answers: 1
#8

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 10:22 AM

Any "high level" language will do. It's not so much as to the programming language, but if you have a good understanding of a "high level" language, like FORTRAN, C, etc., you will understand programming in PLC a lot easier when you're in the field.

MidniteFighter

__________________
My mind is full of useful knowledge, I just don't know how it applied.
Reply
Anonymous Poster
#11

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 11:50 AM

C++ is definately the way to go. Like previous posters have stated, you will eventually have to learn other languages/dialects etc. C++ or C# will give you all the CORE knowledge and teach you good programming fundamentals that will carry on to any language you learn. Oh yea, SAVE Everything and keep your program/module names discriptive. I still use a generic algorithm that I made back in my junior year.

Reply
Commentator

Join Date: Apr 2007
Posts: 55
#12
In reply to #11

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 4:07 PM

I strongly disagree with any old thing will do. Understanding how to write small, tight fast code in C or assembly is important before you learn to use the the OO stuff. It is easy to add feature to fast code when you need them.

It is pure Hell to scrub slow code that has call the floating point library 3 different ways, used floating point to calculate money[count pennies] or time[ count seconds or milliseconds. I have what recommendation code that ran a less than 4 iteratIons per second because carelessly using floating point and had it running 200 times a second in 4 hours after the fellow working on it quit after two months of trying it to run a 10 times a second.
weren't
You need a high levels language to interface with humans but it doesn't take much code to the do that most of the time. I have seen far too may OO programs that tried to include realtime actions in with different degrees of success. I found it far better to have one program to deal with people and one for machines. Sometimes you need one or two in between to make things flow smoothly.

My first software went to market in in 1978 and I have has something on the market almost every day since then. Some were really good and some weren't.

People that can work directly with software and hardware will always be in demand. If you can do analog hardware you will be in even more demand. You can always find someone that can write high level programs that interact with people and spit out the I/O you need for the hard stuff. But when it comes to making engine or process controllers and such work it really easy to tell if the do what the are supposed to or not.

Don't try to compete with the Computer Science guys go for what you can do better than they can. An EE that spends 5 years leaning electronics doesn't need the same toolset a CS guy need to write yet another book keeping system. We need to make a seamless connection between hardware and software on a very low level.

Gordon

Reply
Associate

Join Date: Feb 2007
Location: India
Posts: 37
#13

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 5:31 PM

First choose which field you are going to make your future. then select the programing language according to that.

Today almost in every company they ask questions on C and C++ in both Interview and in Technical Test so become expert in it.

If you want to make career around a particular field then learn the related programing languages example..

VLSI design - VHDL, Verilog, etc...

Embedded - C, C++, Embedded C, RTOS, etc....

Web developing - VB.net, ASP.net,AJAX, LAMP,JAVA etc...

for more information visit some job websites and search a job in particular field and see the current trend according to current trend update your knowledge.

All the best..........Bye.............!

__________________
Mohamed Thalib
Reply
Power-User
Technical Fields - Education - New Member Technical Fields - Technical Writing - New Member

Join Date: Sep 2006
Posts: 367
Good Answers: 1
#14

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 10:16 PM

OK, some languages were already listed.

Most applications for so called real world are made using PLC software as Logix for Rockwell Automation h/w. It is trend in Open PLC that has a few ways to program including Ladder Logic approach.

Electronics Engineering, Instrumentation and Process Control (including DAQ =Data Acquisition or SCADA) use LabVIEW - G-graphical programming

Reply
Active Contributor
Popular Science - Weaponology - New Member

Join Date: Feb 2007
Posts: 14
#15
In reply to #14

Re: Programming Language : Undergraduate Electrical Engineer

05/10/2007 10:50 PM

Thanks for replying everyone..

Guest was me, I just couldn't be bothered signing in..

Reply
Anonymous Poster
#16

Re: Programming Language : Undergraduate Electrical Engineer

05/11/2007 1:53 AM

i think it is the matter of first importrance for us bcz every modern electonics circut have at least this requirement

Reply
Anonymous Poster
#17

Re: Programming Language : Undergraduate Electrical Engineer

05/20/2007 1:28 AM

I recommend C&VHDL

Reply
Reply to Forum Thread 17 comments
Copy to Clipboard

Users who posted comments:

Anonymous Poster (5); bhankiii (3); Gordon Couger (2); jack of all trades (1); lucky86 (1); MidniteFighter (1); mohammadthalif (1); southern123 (2); T-man (1)

Previous in Forum: Unbalanced Load   Next in Forum: Super Fast Cable Modem

Advertisement