Programming Language Specialization Dilemma
aremstar writes "I'm a final-year Computer Science student from the UK. During my studies, we covered 3 programming languages: C, C++ and Java. The issue is that we didn't cover any of these languages in sufficient depth for me to claim that I have commercial-ready experience. It's one thing being able to write simple programs for class assignments, but those are quite different from writing something as complex as the Linux kernel or a multi-threaded banking app. I'm thinking of spending a few weeks/months studying in order to specialize in one of those languages. Fortran also entered my consideration, as it is great for numerical computing and used by many financial institutions, banks, etc. In terms of skill requirements in job ads, my (brief) experience suggests that most programming jobs require C++, with Java a close second. C — unfortunately — doesn't appear as much. My question is: if you were in my shoes, which language would win your time investment? My heart suggests C, with a little bit of Fortran to complement it, but I'm a bit worried that there might not be enough demand in the job market."
Nobody expects a recent graduate to write a kernel or a banking app!
So, do whatever makes you happy until you get a job.
Do daemons dream of electric sleep()?
All kidding aside, you should invest a good amount of time learning all three of the languages. In my high school we have an intensive technology program which teaches VB, C, C++, Java, Java Script, MIA and CAD. Not to long ago I asked my teacher why we needed to learn all these programs and languages. He responded by simply saying in his technology career, he's never had a job that used just one language. He also added that since the economy is shit employers will hire the people with the most experience and knowledge. Another instance would be an uncle of mine who works at Goldman Sachs. He had to master the Linux kernel as well as VB because these are the languages the servers run on. In the end, I think you should spend more time mastering what you know and then expanding your horizon.
"The difference between genius and stupidity is that genius has it's limits" - Albert Einstein
I would go for C++ because it is very rich and powerful. Once you got that in depth, manipulating languages such as Java or C# would be a breeze, because their object model is simplier than C++'s. C is nice but I feel it is part of history now.
Oh, and FWIW, it's best to learn several languages -- for example, Java / C# / C++ (and even C) are all fairly similar so they're easy to learn together. Once you learn one of them well, the others should come much more easily.
It's sad to see programs that purport to be about computer science cover only a few popular procedural languaages.
Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
To succeed, you need a competency in far more than just a language. I'm sorry, its not that easy.
Get at least a basic level of understanding in the following :
* how to talk to and effectively use databases
* how to talk to hardware
* networking
* sys admin work
* presentation work
* regular expressions
* grep/find
* create a simple web page
* run a basic web server
* file permissions and ACLs
* build system
* shell
* source control systems
* the relationship of assembly to C
* that memory and processing power are limited resources
Pick a scripting language to know at a reasonable level. It will come in use when you want to quickly transform data or even write some of your program that's in your favorite language. That is the equivalent of your swiss army knife and duct tape kit.
As for a language, strongly know the basics for any OOP language, procedural language and functional language.
Don't expect to be spoon fed details of what you have the program. Learn why this program is being written. If you are programming a spectral analysis program, learn about that subject enough to know how your program is going to be used.
Learn to understand why the program is written, and what the audience will use it for.
Learn to communicate clearly.
Learn to ask questions when you are not sure.
This is the right answer of course. However, I'm worried about any computer science grad that hasn't been doing this all along. If you don't do computer programming for fun, are you sure you even want to get into programming?
-- these are only opinions and they might not be mine.
I think you are asking the wrong question. Your problem is to get a job from which you can become a fully experienced programmer. That possibly means getting a job working in support or relatively low level IT and progressing from there. So you need to put that several months of effort into job finding.
Unless you are a really gifted programmer - in which case, quite honestly, you would not need to be asking the question - your main problem is to learn enough about some business area so that you can actually contribute. If you get a job in a company that uses Delphi, or does everything with stored procedures in SQL, learn Delphi or SQL and be thankful.
Someone with a computer science degree should be able to pick up any technology to solve a problem in an appropriate way. You are supposed to understand the concepts behind problem solving, algorithms, data lifecycles and persistence, man/machine interaction, communications protocols, and other stuff like that at an abstract level. Then you look for a problem to solve where you can apply the concepts to design a solution. Your question - C++, Java or C - is like an engineer graduating from Purdue and asking "I want a job in engineering. Should I learn Bridgport, Haas or Hurco machining centers?" The answer of course is "Whatever your employer uses".
From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
I dunno.. I'd be careful of web work. Once you get pegged as a "web developer" it can be hard to get a traditional programming job.
That's not to say you shouldn't pursue a career in web stuff if you have an interest.. but having 5 years as a PHP developer on your resume is a hard stigma to shake if you decide you want to get into more traditional programming languages.
In other words... I'd think long and hard about taking a web programming job if it's not really what your interested in. Sure.. it means money for the short term.. but you might get stuck there.
Seriously, I am getting really tired of reading incoherent code written by coders with post-grad degrees. This code is like:
"When the box disk smiles, go down to the
hairy river,
axe
the question, be not
sequitur music library))
Or like this: i ( a n 0 ][ ][H1 NK strat
Learn literate programming, world modeling using occam's razor, appropriate
factoring and abstraction, elegance and analogy, then really learn at least one language and its libraries like the back of your hand.
C++ = fast and ugly, and dangerous, unless you
really work against it to make it beautiful and safe.
Java = a beautiful baby that grew up into an old man before its time, burdened by layer upon heavy
layer of painful baggage from a failed enterprise.
Python or Ruby = really nimble and powerful if you are good enough to avoid making a godawful mess, because they won't protect you from yourself.
Where are we going and why are we in a handbasket?
Do not worry about language knowledge as much as domain knowledge. The thing that prevents you from writing an OS kernel is not that you do not know C well enough, it is that you do not know enough about what it is than an operating system must do.
Languages are easy to learn and they come and go with the times so there is no point in specializing in any particular one. Where you really want to specialize in is the domain you will program in.
If you will go into networking, then you need to know all about how protocols and networks work. If you go into the financial field, you will need to know the financial models. If you go into an embedded field, you will need to understand the OS kernel, and drivers, and power management.
Languages are the easy stuff; it is the domain knowledge that is difficult. It is also the domain knowledge that makes you really valuable to businesses.
The problem with this is that the other major programming paradigms work in ways that can be absolutely baffling if you don't work in them at all. Sure its great to be able to learn on your own, but I think that programs should at least try to give you at least a rudimentary base in all the major paradigms. This not only widens your skill set, but often can help you solve problems in ways that would not be apparent to people who have never worked outside one paradigm.
What you need to do is really take a step back and ask yourself, "What sort of programming do I want to do ...what really excites me? Device driver development? Multimedia application development such as an MPEG encoder? Game Development? GUI Application Development? Web-based development? Firmware development? Engineering and scientific applications?"
The languages typically used are very different for each of the different programming focus areas listed above.
The most helpful thing to remember is that different programming languages are different tools that fit different types of jobs (especially when you're under time and other resource constraints in the real world), therefore you should be careful not to get too attached and/or biased towards a favorite language. However, it is okay to have a favorite, since being really good in one language makes it much easier to pick up other languages.
you can master any language withing a matter of weeks
Not really, but you can be *proficient* and a *productive contributor* in a matter of weeks.
Mastery of a language takes longer because it's more about mastering of all of the little quirks, warts, conventions and whatnot that only come with experience with a certain platform than it is about syntax and transliteration of general programming techniques to the new language.
Still, I agree with the overall sentiment: Focus on being a good programmer and learning new languages (and being a valuable contributor) takes care of itself.
We are agents of the free
These are probably the most important "skills" any recent graduate can have. Companies expect new graduates to be a blank slate. College, especially a BS, is just to give you the background your going to need. After that, it's a question of acknowledging when you don't know something, finding someone who can help you, and, whenever you have down time, finding someone you can help.
In fact, one of the best things you can do during an interview when asked a hard technical question is to admit you don't know, and say that if faced with that problem in real life, you'd ask a coworker for help.
It's sad to see programs that purport to be about computer science cover only a few popular procedural languaages.
"we covered 3 programming languages: C, C++ and Java"
Could you perhaps expand on how C++ and Java are "procedural" languages, rather than, say, object-oriented or generic programming languages?
I'm a CS student and I learned python well enough to migrate a mysql database in under week.
CS shouldn't be about the programming but problem solving.
Non impediti ratione cogitationus.
I'm a little surprised that you weren't taught any functional languages, like Lisp, Scheme, or ML. It seems like a tragic hole in your college education. From a practical standpoint, it won't necessarily effect your ability to get hired at a bank, but it is surprising. Practically, unless you are working on low-level hardware or kernel code, I would focus on a high-level language like C++, Java, or C#. For C# you can download the free version of Visual Studio; for Java download Eclipse or NetBeans; for C++ learn to love emacs.
More importantly, join a mid-size to large open source project and contribute code. This will teach you important skills that you can only get by programming with other people: the need to use revision control, how to code to different coding standards, and the necessity of coding reviews.
A thorough understanding of revision control is a fundamental part of any professional programmer's skill set. If you have a chance, learn more than one revision control system.
You might want to spend some time learning about relational databases. You should have a good understanding of SQL and concepts like normalization and joins. On the open source side, you can learn about concepts using PostgreSQL or MySQL with InnoDB. On the closed source side, you can download Microsoft's SQL Server Express or Oracle. Both are free for personal development purposes.
Again, a good way to learn professional software development is to work in an public open source project. You'll work with people of different backgrounds and different skill levels. As an added bonus, it's an easy way to show your work (and code) to a prospective employer.
--Sam
If you're doing this to gain experience that will help you land a job, forget about C or Fortran.
Otherwise, it depends on what kind of software job you're looking for. Games and application development tend to be C++. Web-related software is more likely to involve Java.
It's sad to see programs that purport to be about computer science cover only a few popular procedural languaages.
I get your point, but I'd go one further. It's sad to see computer science being equated to programming.
Nursing will be overpopulated? When it costs at least half what a medical degree costs, but pays substantially less?
$_ = "wftedskaebjgdpjgidbsmnjgcdwatb"; tr/a-z/oh, turtleneck Phrase Jar!/; print
I would also check out a few projects on Slashdot, play around with a few and start contributing to them. Some project leaders are out to sea, so do one where you can contribute and the team leaders appreciate help. Put it on your resume. You'll learn a lot.
How much do you enjoy purely programming? Just cranking out code with nothing else to do?
If the answer is, "I live for it, bring it on" then either C# or Java will get you many opportunities. In my world, Education, the dominate language is Java. But really, studying for a few months won't get you up to speed at all. You just need to find a programming job that is willing to hire a newbie and let him learn on the job.
If the answer is, "Well I enjoy it, but I'm not sure I want to get locked in a code monkey cubicle just yet", then find a more generic programming/analyst job.
That is what I did fresh out of college some 11 years ago. Smaller IT shop, but for a big company who's business was not IT. It allowed me to learn multiple languages and systems, learn about the business world, learn what I liked and didn't like, but most importantly, the assignments were varied, so I never got bored.
One month, the project would be, make the VMS Lab system with database X, feed data to the Windows NT machine with database Y, based on some trigger event in database X, using any language you want. We don't care, just do it.
Next month, make a web site that allows managers to enter their budget information and save it as an excel spreadsheet, and also put it in our SQL server, and generate reports x y and z on spending for us. Oh, and we don't have any web servers yet, so you need to install us one.
I'm a final-year Computer Science student from the UK. During my studies, we covered 3 programming languages: C, C++ and Java.
And the other two languages were...?
Beetle B.
+1 to "learn new stuff quickly". +1 to "a little assembler". +1 "really messed up language ... to see the other side".
Languages themselves matter little. Biggest hurdles are the custom libraries and business case of the company. With libraries, one has no choice other than sit down and read all the code. With business case ... well one can only understand that with time: few people/few companies would openly admit that their business case e.g. is selling cheap buggy software (and that's about 90% of software development market).
My only personal advise would be to refrain as much as possible from: (1) Windows and (2) Java. They both have the effect of BASIC on programmers, rendering them impotent few years later. Or in other words: do not start career on Windows or with Java, they both quickly make developers incapable of looking outside of a box.
All hope abandon ye who enter here.
The next major release of Java (Java 7) is going to be 100% open source. Even if Sun (or IBM for that matter) drops the language, which is very unlikely, Java is going to persist as it has a strong community.
I don't think IBM would let Java drop and die. Nor would Google, for that matter. Both have invested too much into it. But neither seem to be particularly interested in evolving it further as a language or a platform. Today, Java is the conservative choice - that's part of its strength, but that's also what spells out its eventual demise. There's nothing wrong with that - there's always a need for a stable "legacy" platform, even if it's outdated, and Java is a good candidate for that role. But it's something worth keeping in mind when making career choice.
Note that it wasn't my argument, anyway. I foresee Java to be supported for decades to come. Just not in a dominant ("forall X. Must be written (X) => let's write X in Java!") role it used to be.
OSS - yes, that's a strong argument in favor of Java, but on its own it's not sufficient. If it's not good enough, who cares if it's OSS or not?
) It's true that the evolution of the Java language has been quite slow and conservative in the past. But I believe that the rise of new dynamic and hip languages with indeed cool features didn't pass Sun without notice. Java 7 is going to have closures, for example.
I'm sorry to tell you, but Java 7 won't have closures. It won't have a lot of other stuff that was hoped for, either - e.g. no RAII in form of "do" blocks (similar to C# "using"), no generics reification, no properties... basically it's going to be a very minor change as far as language is concerned. And there is no plan to have those in Java 8 either (indeed, there's no Java 8 schedule for now at all!). In fact, we don't even have a JSR for Java 7 yet, so God knows when that is going to be released, even...
It may come as a further blow that the guy who had the most deep and thought-out proposal for closures in Java - Neal Gafter - has joined Microsoft to work on .NET languages. Here's what he had to say about closures in Java, and Java in general, since then.
As for Groovy (and I think you should've mentioned Scala). It's all great, but the tooling is nowhere near as mature as that of Java - I mean IDE, debugging, and so on. Meanwhile, in .NET land, I have first-class lambdas complete with type inference in C#, so the question of support doesn't even enter into it - it just works.
Well said.
I would also suggest that any new graduate be prepared to do a lot of after hours studying to bone up on whatever frameworks, architectures, and tools your company is using. Your first couple of years of work in the corporate world should involve well over the 40 hours you're required to spend in the office (or whatever the norm is in the UK). Think of yourself as a sponge. I know this sucks because you might be a bit tired of all the studying from your college work but you'll be glad you did and so will your employer. You never stop learning in this profession but the initial load is usually pretty intense so brace for it.
One final bit of advice...
Do not worry about compensation at all. The best thing you can do is to find a place that has great mentors and a great environment. You want to come away from your interview with the impression that these people know what they are doing. Most developers are defined by their early experience and if it sucks then they tend to suck through their career (at least that's what I typically see in my many years in this business). Once you get good, the money will come later (trust me).
Good luck to you and welcome to the wonderful world of bit twiddling!
Are agnostics skeptical of unicorns too?
...as a former math student now back in the gentle arms of programming ;) I'd recommend learning math, or more specifically logic. Forget assembly, forget C, forget specific programming languages, making a computer do what you want isn't as important as knowing what you need done in the first place.
No, I won't suggest that picking up a new language is trivial, or even easy. They all have their own individual warts that are sometimes difficult to deal with, styles of programming they encourage and others they actively discourage. But a poorly-structured program is a poorly-structured program in any language, and learning to pre-visualize how it all comes together is a skill that transfers between all languages and programming styles, in my experience.
No problem is insoluble in all conceivable circumstances.
I've totally lost count of how many languages I know...but a quick count says it's at least 30.
(sarcasm)Did you applied for a position at my company last week? Expert in 30 languages, diverse technologies too...(/sarcasm)
I have used 30+ "languages" in my life, but there's a world of difference between using and knowing in depth. Anyone who presents themselves as "expert" in more than a half-dozen evolving technologies has revealed a great deal about what a low standard they hold for an "expert" ranking.
Most software is still embedded. Combine that with, any joker can become competent with Java or C#. There are a lot of low paying jobs dealing with Java or C# that you see advertised. Competent C and C++ developers are harder to find and consequently earn more money. I constantly am getting calls from recruiters looking to bring me in on C/C++ jobs, especially, for medical devices and military systems. This stimulus bill that Captain dumbshit just rammed through the legislative branch contains a lot of funding earmarks for medical and military. So I expect that this trend will only increase. Get familiar with the MISRA coding standard and understand how to design reliable systems in C and C++.
Sorry my bullshit sensor overloaded.
They're all the same. Okay, there are some minor differences, but they're all based on the same concepts and principles. There's one thing I've learned over the years- it's that if you understand the concepts of computer science and programming in general, you can use any programming language. When I interview candidates for a job, I don't focus too much on what languages they know... I want to know how they think. I want to hire the person who can grab a good reference book and know what to search for when they want to do something. Learning the syntax of a language is trivial, learning the concepts of computing is not. Some people have it, most don't. I hope that's what you got out of your education. The syntax, tips, tricks, and gotchas of any language can be picked up pretty quickly if so.
"False hope is why we'll never run out of natural resources!" - Lewis Black