Which Language Approach For a Computer Science Degree?
wikid_one writes "I recently went back to college to finish my CS degree, however this time I moved to a new school. My previous school taught only C++, except for a few higher level electives (OpenGL). The school I am now attending teaches what seems like every language in the book. The first two semesters are Java, and then you move to Python, C, Bash, Oracle, and Assembly. While I feel that it would be nice to get a well-rounded introduction to the programming world, I also feel that I am going to come out of school not having the expertise required in a single language to land a good job. After reading the syllabi, all the higher level classes appear to teach concepts rather than work to develop advanced techniques in a specific language. Which method of teaching is going to better provide me with the experience I need, as well as the experience an employer wants to see in a college graduate?"
After reading the syllabi, all the higher level classes appear to teach concepts rather than work to develop advanced techniques in a specific language.
It's great that you have it like that. Its the concepts that matter more than just teaching some language dependant pack of tricks. Languages can always be learnt afterwards and quickly, and they also tend to change during years. Concept stay somewhat the same, and those are what you need to understand. I wish I would had the same kind of program in school.
I also feel that I am going to come out of school not having the expertise required in a single language to land a good job.
Usually programmers are quite self-taught. Schools can teach you concepts and languages, but the real knowledge comes from when you're interested in it and try out and do stuff. Yes, this means you should have some interest in coding at home for your pleasure too, as a hobby. I would think that programming would being really really boring if you dont have the interest to learn yourself or even program your own stuff at home.
You didn't mention if you do programming yourself, but if you dont you should start to. Start coding some games yourself or stuff you think are useful to you. Or learn PHP and start coding websites. You can even start to make some cash out of it, either by selling your software/game, running websites or coding as a freelancer. Try out things.
However the most stupid approach is to think you should be awesome in one language and lack everything else. Usually you need combination of different languages and better understanding generally. Read some programmer job listings and you see how they always contain lots of different thingies and qualities they're looking for. Programming languages used at work will most likely change aswell (Java was hot in some apps programming years ago, but C# and other languages have been stealing position from it). This is why you want to have the general understanding instead of just knowing tricks&tips of one language.
A CS degree is not about making you a monkey that can program only one language. It is about learning how to think. The multi-language approach will ensure that you are exposed to many ways of representation.
The "real" world will train you how to be a monkey well enough.
If knowing one language well enough to get a job, a certification in Java, C# or whatever will serve your simian side better. Use the knowledge in the diversity in languages to tell potential employer that you can quickly learn to program in whatever environment is required.
They shouldn't teach any language. Seriously. Maybe a hypothetical one like MIX or MMIX, but not an actual language. They should teach math instead.
Find a serious computer science course.
The choosing among languages will be more a matter of taste than of actual contents.
Maybe Computers will never be as intelligent as Humans.
For sure they won't ever become so stupid. [VR-1988]
New school teaches every language + programmming concepts and our poster complains - maybe the new gen kids are unteachable.
This is not a signature.
I should add that, back when I got my (math) degree, the school offered 1/4 credit courses in particular programming languages. Popular back then were PL/I and IBM 370 assembly language. You can see why it's silly to waste time learning a particular programming language! But my skills in math--statistics, computational geometry, calculus--save my butt every day!
I always thought that learning the concepts was the majority of a CS program while learning how to design and write software was what Software Engineering was all about. Obviously both degrees involve a bit of both, but it seems Sofware Eng. involves more practical courses, and material on managing large software projects, etc. From your post I get the impression that the problem isn't the number of languages learned, but the lack of teaching the "work to develop advanced techniques" regardless of the language taught.
I studied EE, so I'm not the best source; but maybe you should give Software Engineering a look, it may be more what you're looking for.
Despite what many believe, a CS degree is not about learning to program. A CS degree is about learning the theoretical and mathematical constructs that programming is based on.
If you know those basics, the language is largely irrelevant.
C is Pascal is Java is JavaScript is VB is C# is C++ - it's mostly syntactic sugar if you ignore the objects, and even the objects are similar. If you can't swap {} for () or begin-end or whatever, you have no hope of being a decent programmer.
If you're looking for vocational programming training, find a vocational school. It's that simple.
The preferred solution is to not have a problem.
OK, let me put it to you this way:
Let's say I'm a hiring manager and conducting interviews for junior programmers.
If you get your degree from the first school, I'm only going to hire you if I need a person who's going to write the code he's told to write. I'm never going to assign stuff to you that requires you to do any kind of analysis.
If you get your degree from the school to which you transferred, you are far more likely to get hired into a position with a lot of growth opportunities. You will have not only know some of several languages, you will also have a good background in abstract concepts.
The problem with most schools today is that they focus far too narrowly on one topic instead of teaching the concepts necessary to handle what tasks are placed in front of the graduates. There have been several articles about the "Java schools" and how the graduates of them can barely program their way out of a paper bag because they don't have the broader information necessary to do a proper analysis. Sure, with modern languages you can often "ignore" things like memory management and code optimization. Unfortunately, all too often I've seen what happens when things are written by people who have no understanding of how to apply basic concepts... when something should be a compiled application... when something should be a simple shell script (mind you, the person who did this thinks that a compiled program with calls to "system()" make this a "system program" and doesn't even know how to write a shell script... I am going to have to clean up that mess in the near future)... and even when to use what language.
No one language is the be-all and end-all of programming. Each language is a tool. You don't normally use a screwdriver to hammer in a nail or as a chisel... so why should you use C or C++ to write what is better written as a shell script? Why would you use Java to write something that requries careful memory management? (Yes, I know some people would just put the question mark after "Java"... :) )
Because it's all you know how to do? Guess what... either you're not getting the
job for which you just interviewed or I'm going to have to go hire someone else to
augment my team to do what you should've been able to do... which means when it
comes time for RIFs, you're name is going to go towards the top of the list because
you can only minimally contribute to the team.
OCO is Loco
Not unless trade schools suddenly get better, and software engineering programs suddenly become ubiquitous.
And not while most students learn better by implementing parts of the theory. And not while employers expect them to be half-competent coders.
And, well, not :)
Chinese, Tagalog, Vietnamese, or whatever the hell those Indian tech support people speak (claimed to be English, but clearly not). Seriously, you'll need to know one of those languages so you can move to where all the programming jobs will be.
I make the hiring decisions at my company. I check to see if people can solve complex problems. I don't care what language you know. You can learn PHP in a couple of hours. Sure, your first 5.000 SLOC are going to look like whatever language you know best, but right out of college your first 5.000 SLOC are going to suck anyway.
Learning a bunch of languages has the advantage that you learn what concepts are universal to programming and what are just entrenched in the language, but what really matters is learning to think algorithmically, no matter how many languages you know, be it one or one thousand.
It sounds like you've already made your decision about which school you're attending, you just want some assurance that this education won't be wasted. Let me assure you that it won't.
I've been a SQL
Stop right there. This is probably some of the best advice you'll get.
Of course, it depends on what you want to do. But for the standard, current-track Internet/Cloud/Distributed blah blah blah, many people are dreadfully bad at SQL for how much it applies to their job.
That said, haven't we had enough of these language posts? You can google this and you'll see the same arguments spread out since the birth of the Intarwebs. Everyone has doubts about the language that their using when they don't know many, and want to know what to use.
Just be glad that you didn't attend a program that only taught you Java and never showed you how operating systems really work or what a pointer is. That is a great start.
As someone whose worked in a few of the largest software companies, I can tell you that this really isn't a big concern. You won't get tested on the vagaries of a programming language in an interview. They want to know exactly what you're being taught: that you understand the theories and concepts underlying what you are doing. Projects never use only one language. You often need some glue (Perl, Python, Ruby, etc) and some 'lower-level' code (C++, Java), some data storage (SQL), and maybe a dynamic web page or two (PHP).
Get an internship. This was the best way for me to learn where I fit in on a development team, what sort of thing I felt inadequate at compared to my co-workers, and learned the place of programming language in the work environment. By the time you've gotten your second or third job, most people don't list languages on their resumes anymore.
Once you know a few languages, it shouldn't take you more than a week or two to pick up a new language. On the topic of being an 'expert' at a language, that probably isn't important for your first job. What you need is strong foundations, a good attitude, and hopefully avoiding a tendency to break all the existing code.
If you're really passionate about programming, you'll probably pick up a few languages and be enthusiastic about one or another at a time. I'm currently on a big C++ and Perl kick, as well as loving debuggers in lieu of print statements.
If you're not passionate about this and you want a good 40 hour a week job where you only need to know a thing or two, I don't know what to tell you. I've found this field rewarding because the limit is only how much I'm able to learn and apply. And I've found my employers have recognized that.
Use the right tool for the job. Write readable code in whatever language you write in. Good code is easy to understand, efficient, and concise.
Put on your flame-retardant mecha-suits, this thread is about to get spicy.
Final note: Do everyone a favor and learn how to use grep and other Unix tools to do simple data transformation tasks.
Long live the BSD license
That's like saying an Art MFA shouldn't teach any actual art in any particular medium, just hypothetical art.
There IS a distinction between the "craft" of programming in any particular language and software engineering, but in order to become a software engineer, you need to work through the medium of the language. That's the only way to access it. Knowing how to paint in oils doesn't make you a good artist, but you do have to start making art in some manner in order to get there.
Learn how to work on a team, work with QA, and learn how to deliver products.
That's what you need to be asking.
- Zav - Imagine a Beowulf cluster of insensitive clods...
If after a year or more of college, you think OpenGL and Oracle are programming languages, maybe CS isn't the right major for you.
As others have suggested, try a trade school or community college. They will be happy to teach you to be a single language code monkey, without bogging you down with complicated high-level concepts like "what is a programming language?"
All that we see or seem is but a dream within a dream.
Learn about Binary Search Trees, Red Black Trees, Bubble Sort, Quick Sort, Heaps, etc. Those are the important things to know. Bob Dylan is not famous for knowing English grammar and spelling. He is famous for what he does with them. Teach him Chinese, and he can most likely make amazing songs in Chinese as well. You didn't go to college to learn grammar and spelling. You can learn that in elementary school. Instead, you're going to college to learn how to use the language to create amazing things. It is an abstract level above the syntax level you see on the computer screen, and it is something crucial that anyone learning anything in college _must_ understand.
They should teach math instead.
Good god, man, have you seen a mathematician's code? It's worse than that of electrical engineers!
Programming is a craft, and it requires study, it requires practice, and it requires a holistic perspective. It is more akin to architecture than mathematics, despite the fact that is so heavily reliant on mathematical theory.
As a Perl lover it really pains me to say it, but Python appears to be really taking off. You're going to start seeing Python used by businesses in the same way that they've been using Java over the past decade.
$x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
$x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
But timothy didn't ask about a software engineering degree. He asked about a computer science degree. Computer science is the study of the topics of mathematics that relate to computation. CS programs should teach theory, algorithms, data structures, complexity, computability, logic, and the like. I disagree with themeparkphoto, though, because I think that programming languages are a very useful tool to teach these concepts. But they aren't the goal, they are only the means.
Do not take this golden opportunity and flush it down the toilet. A specific programming language is irrelevant to skill in programming.
(Writing as someone who has interviewed programmers for positions before).
With only one language, chances are that that most graduates' knowledge of basic concepts will be too biased by the lens of their single language. How easy is it to think of functions as parameters coming from a language without closures? If everything you do is compiled, how can design by capability ever make sense? Not to say about how little one can teach about maintainability and readability if one is stuck in one language.
While it's silly to force students to use a different language in every single course, making sure that every student has tried to use at least a few different languages: An assembly, a C descendent and a dynamically typed language. Competence in 3 languages is probably not too much to ask from graduates, and still provides more perspective than a single language education
University does *not* teach you to program. Employers know (or should know) this, so don't worry about that.
My gut feeling is that the more languages you learn, the less you are locked into one way of thinking. The only language that every computer science major needs to learn is assembler. Many Universities do not teach assembler and the students come out with some weird ideas about how computers actually work.
Most of my work is in C, and my concept of hell is teaching pointers to comp sci students who have only worked in java :(
I'd say Python. I grew up on C++ and Java. VB .NET was the next step. At the moment I'm infatuated with Erlang. I've dabbled in Python, but ever since I discovered Erlang I dropped it.
Python is a nice way to start things off. It's very powerful and yet very easy to build simple applications. It's great to learn new stuff in and has plenty of reference material online and in stores.
I'd recommend you pick something up that teaches you about parallel processing (Erlang or just general message queuing systems.) The reason being is that with even more cores, this will be the next big problem to overcome (on a daily basis) in computing.
Close. Bible bashing is a heated argument between two people of differing faiths where they each try to win by claiming specific passages in the Bible that back them up. It usually gets ugly. The Bible is reinterpreted and misinterpreted so thoroughly that it cannot be used to quell such a discussion. To use a net term - Bible bashing is a religious flame war where the ammo of choice is scripture.
It's a bad practice (I believe: an evil one). It should be avoided.
Your definition of Bible thumping is common and appropriate. I think the etymology of the term is different from those who engage in the practice, though. Many pastors literally slam their Bible into the podium as they preach (Making a loud "thump"). On the other hand, I don't think the major proselytizing religions usually do that. I'm not sure why that term stuck to the wrong group of people. (probably historical significance somewhere)
I won't join Slashcott. OTOH, If Beta goes live, I just won't be back until it's fixed. Sorry Dice.
Or do you mean for a job?
The two are not necessarily the same.
I found languages like Lisp, Prolog, and Smalltalk to be of the most use for learning the science. These are not your sweatshop languages, though.
On the plus side, if you learn the science, learning a new language isn't tough.
-- Cerebus
When Perl 6 comes out, there will be a tsunami of developers falling over themselves to abandon everything else and port everything over to the new uber scripting language.
No, there won't. Few people, outside the inner circle who are actually developing the language and building its tools, care about Perl 6 at all. Once it's released in a stable form, some people will switch to Perl 6, but other people will switch to other languages (since existing code won't be entirely compatible anyway). Many will just continue using Perl 5, because it's good enough. And of course, most people who are using other languages will continue to do so.
$x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
$x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;