Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
Education Java Programming

Ask Slashdot: "Real" Computer Scientists vs. Modern Curriculum? 637

An anonymous reader writes At work yesterday, I overheard a programmer explaining his perception of the quality of the most recent CS grads. In his opinion, CS students who primarily learn Java are inferior because they don't have to deal with memory management as they would if they used C. As a current CS student who's pursing a degree after 10 years of experience in the IT field, I have two questions for my fellow Slashdoters: "Is this a common concern with new CS grads?" and, if so, "What can I do to supplement my Java-oriented studies?"
This discussion has been archived. No new comments can be posted.

Ask Slashdot: "Real" Computer Scientists vs. Modern Curriculum?

Comments Filter:
  • by Kenja ( 541830 ) on Wednesday August 06, 2014 @01:08PM (#47615667)
    Difference is the "real" ones have beards and wear suspenders.
    • by ThatsDrDangerToYou ( 3480047 ) on Wednesday August 06, 2014 @01:14PM (#47615729)

      Difference is the "real" ones have beards and wear suspenders.

      Kids these days with their "showers" and "grooming" and "social media" and whatnot... Where's the *science*?

      • by Xaedalus ( 1192463 ) <> on Wednesday August 06, 2014 @05:50PM (#47618191)
        but gawddamn, if I meet ONE more unshaven skinny ratty-haired white dev/programmer in his late twenties/early thirties with an aversion to water, soap, matching colors and food (what is it with devs and eating disorders???) here in Seattle, I might just have to defenestrate the fucker to save my sanity. Preferably out an upper window at the downtown Macy's, so that said dev/programmer might actually observe cleanliness and fashion through visual osmosis prior to becoming one with pavement. I don't care if said beautiful mind is autistic, aspie, or what-not--Hygiene is source code!!!!!! Execute it on a daily basis! And if the sensory stimulus is THAT much of an overload then spend some of your six figure salary to get therapy and coaching on how to minimize input while maximizing the ability to incorporate the close proximity of other people!!! I much prefer the Indian and Chinese devs and programmers, not least because they don't have eating disorders and they both understand and practice a minimal standard of hygiene.
    • by lgw ( 121541 ) on Wednesday August 06, 2014 @01:31PM (#47615895) Journal

      Java schools are a menace, but since it's nearly impossible to find grads with a "real" programming curriculum any more, I think we've just sort of given up and accepted our fate as needing to teach new college hires everything.

      If you can code - really write code beyond simple toy assignments - in any language, you're already doing above average. But if you want to be top tier, you really need to understand the crufty details of what compilers do and how they do it. While there are no lack of Java jobs, you're really missing something if you don't have a good mental model of computers at the machine language level, and if you've never done any "bit bashing" (working with unsigned ints as arrays of bits, not as numbers).

      My suggestion for getting a rounded education is to go write some C code. Write code to count the '1' bits in an unsigned int -- no googling the answer! -- and then keep brainstorming for ways to optimize that (when you can snatch the bitcount with "n%63", you will be ready to leave the temple). Write code to do other bit-bashing - reverse the bits in a word, find the base-2 log of an int, and so on. Write your own "bignum" implantation from scratch, to have a larger problem to solve with lots of corner cases and ugly cruft.

      These are toy problems, and they won't teach you all the stuff you can learn in Java about "software engineering", but they'll cover and important gap. Most importantly of all - debug through all your solutions and get comfortable with debugging. Debug through the generated object code, stepping through one instruction at a time until you understand what's happening. Debug through the object of non-optimized vs highly optimized code.

      Don't stop until you're totally comfortable with bit-bashing, with pointers and pointer-array equivalency, and so on. Once you start debugging through C code, especially the object, natural geek curiosity will serve you well to cover the gaps in a Java-only background.

      • Don't stop until you're totally comfortable ... with pointers and pointer-array equivalency ...

        ...which includes being aware that arrays in C are not just syntactic sugar around pointers.

        This includes understanding what this means:

        Except when it is the operand of the sizeof operator or the unary & operator, or is a string literal used to initialize an array, an expression that has type ‘‘array of type’’ is converted to an expression with type ‘‘pointer to type’’ that points to the initial element of the array object and is not an lvalue. If the

      • by frank_adrian314159 ( 469671 ) on Wednesday August 06, 2014 @02:11PM (#47616307) Homepage

        I can't believe that you can graduate with a CS degree today without having at least one assembly language class which should show you about bit-twiddling and memory management just a bit. Not to mention an OS class that would expose you to exercises to modify a Linux kernel - written in C.

        What do they actually teach in a CS degree these days? Don't tell me... Gamification, HTML, CSS, and Javascript, right? Do they actually make you take a database or an algorithms class any more?

        • My first language at 14 was a year of CECIL a simplified Assembly language before they let us move onto Basic - and I was in the lower streamed class !!!!!
        • by AmiMoJo ( 196126 ) *

          Modern CS degrees are focused on building applications from blocks, kinda like Lego with some glue logic. Students do a lot of database stuff (SQL) and a lot of OO concept stuff. "Hard" things like calculating a CRC or efficiently sorting an array are usually covered by library functions.

          I know what the OP is getting at - some of these people don't know what a function is (they only know about methods) and see C as some kind of black magic operating system code that only gurus understand. That is by no mean

        • They still have all of that stuff, or at least did when I got my CS degree, but the problem is that there aren't a lot of jobs where you'll need to use that kind of stuff. A lot of the jobs are using Java, Python, C#, or other languages that deal with those many of the low-level things for a person. Sure there are still jobs out there that require C and a good knowledge of memory management, etc. but they're in the minority. The field of computer science has grown extensively over the last several decades a
        • The funny thing about your comment - which, despite having done everything recommended here and more* in college, I still can't help but read in the voice of a sour, grumpy old man - is that you don't need to know anything more than JavaScript to study algorithms. You don't even need that much, in fact; I'm not sure if my algorithms professor actually *knew* any programming languages; examples were written in pseudo-code and code could be turned in in any language that the TAs knew. A programming language (

      • by Anonymous Coward on Wednesday August 06, 2014 @02:16PM (#47616353)

        Write code to count the '1' bits in an unsigned int -- no googling the answer!

        Meh. That's easy...

        public static void main(String[] a)
                int x = 0;

                for(char c : Integer.toBinaryString(847389).toCharArray())
                        if (c == '1')


        -- and then keep brainstorming for ways to optimize that

        I'm sure there's already a framework for that somewhere.

      • Re: (Score:3, Insightful)

        And as soon as you work for Facebook or Amazon, you will never have any use for 'bit bashing' again.
        It is interesting as a mental exercise ... but has bottom line nothing to do with serving web pages to 100,000,000 concurrent users accessing the same DB of products and hosting all the infra structure on 4 IBM mainframes that run the web front ends on 10,000 virtualized linux boxes running slackware linux (2002) and IBM Java 1.3. ...
        Sorry, how good are you actually in classic greek? It would do wonders to yo

  • by ehack ( 115197 ) on Wednesday August 06, 2014 @01:09PM (#47615673) Journal

    "Real Programmers don't use GC" is a mantra that is responsible for 90% at least of production bugs, together with "=" being typed instead of "==".

  • by Ichijo ( 607641 ) on Wednesday August 06, 2014 @01:10PM (#47615689) Journal

    Shouldn't they be computer scientists? Software engineering, while related, is not the same thing [] as computer science. Would you ask a scientist to build a bridge, or an engineer?

    • by HornWumpus ( 783565 ) on Wednesday August 06, 2014 @01:12PM (#47615709)

      95% of CS grads spend their carrier banging out boring code. Accept it.

    • Software engineering programs suck, that's why. Nobody needs to spend time in college learning stuff they'd end up learning in industry anyway.

    • by Joe Gillian ( 3683399 ) on Wednesday August 06, 2014 @01:19PM (#47615785)

      I definitely would not ask a scientist to build an engineer, especially a software engineer. That's how you get Frankenstein's monster.

    • by angel'o'sphere ( 80593 ) on Wednesday August 06, 2014 @01:21PM (#47615801) Journal

      So why do you study computer science to become an software engineer then?
      Or why do you study other sciences to become a relevant engineer (mechanics, electric etc.)?

      • For the same reason that engineers still learn science. If engineering is applied science, then you need to have a background in science in order to properly apply it.
      • by passionplay ( 607862 ) on Wednesday August 06, 2014 @02:09PM (#47616291)

        You study ENGINEERING (a discipline) to become a LICENSED PROFESSIONAL ENGINEER.
        You study MEDICINE (a discipline) to become a LICENSED MEDICAL DOCTOR.
        You would have to agree an automotive engineer is not the same as a mechanic which is not the same as a scientist in combustible fuels.

        Software development is an art form. Software engineering is a discipline. Computer Science is a science.

        Studying computer science by itself enables you to become:
        1. A computer scientist
        2. A computer programmer
        3. A computer technician

        Even becoming a computer science teacher would require you to study EDUCATION as a discipline.

        There are no shortcuts. While life experience may teach you SOME things to become an engineer, there is no substitute for a Computer Science degree that focuses on software engineering. You could become an engineer after years of experience. or you could simply learn the discipline and stand on the shoulders of giants and open yourself up to learning from and teaching others in the discipline for a lifetime.

        The next time you ask yourself, "Where on God's green earth would I use this knowledge", stop yourself. And think: "Why on earth would I want to work harder and solve problems already solved by others."

        An engineer solves problems a new way because the outcomes of all the known methods are not satisfactory. An engineer can predict reliably how long something should take from his body of knowledge.
        A developer solves problems a new way because it's fun, it's cool and it's artistic. A developer, like an artist, works until he's done.

        There is nothing wrong with being a developer or an artist. But just as we should never confuse industrial art with fine art, we should never confuse software development with software engineering.

        If you can only solve the problem at hand, you will not have fun doing engineering. If you are happier solving higher order problems of how things are put together and how to do things efficiently or discovering how to things MORE efficiently by building on the knowledge of others or collaborating, you will have fun doing engineering.

        • by angel'o'sphere ( 80593 ) on Wednesday August 06, 2014 @02:32PM (#47616459) Journal

          Software engineering and software development is the same thing.
          For any of both you have to study computer science (except you want to proclaim yourself a self taught or otherwise taught 'engeneer'/'developer')

          Programming is not an art, like painting a wall or some tapestry is no art.

          In all human crafts we have a progression from apprentice, journeyman, craftsman, master to engineer, scientist, artist.

          Or is more like a tree than a strict line. I would not know how you can at the high end of the spectrum distinguish an artist from a scientist. And in the middle ground a master still can be a scientist and an artist. Actually everyone can claim both 'titles' for themselves. After all it is a matter what you seek. Do you want to research/seek and explore knowledge? Then you are more the scientist, do you as well like to formulate theories and 'best practices' then you are even more a scientist. Do you more research/seek expressiveness, intuitive understanding, inspiration, interconnection to other arts then you are more an artist.

          Do you need an education in arts to call yourself an artist? No!
          Do you need an education in science to call your self an scientist? No!

          Do you need an education in science to call yourself an engineer? YES!

    • by UnknownSoldier ( 67820 ) on Wednesday August 06, 2014 @01:30PM (#47615893)

      Programming = Application = FUN.
      Computer Scientist = Research = Theory = mostly boring.

      Lowly programmer? Now piss off, I have my degree.

      • by MobyDisk ( 75490 )

        That's super subjective. There are a lot of research scientists on this planet who would disagree with you.

  • Not this again. (Score:5, Insightful)

    by HornWumpus ( 783565 ) on Wednesday August 06, 2014 @01:10PM (#47615693)

    Yes Java monkeys don't understand memory management.

    But a CS student shouldn't be a simple Java monkey. C isn't good enough. They should all have at least a semester of Assembler.

    There have always been a subset of CS students that didn't get anywhere close to the metal. They suck.

    • Re:Not this again. (Score:5, Insightful)

      by Anonymous Coward on Wednesday August 06, 2014 @01:17PM (#47615755)

      This. Memory management isn't difficult in the brain power sense, it's difficult in the pain in the ass sense. We've decided years ago that there are much better things to be thinking about than releasing objects and reference counting and that sort of garbage, especially since it can be automated.

      What you are reading is people who are trying to elevate themselves by referencing a new obscure technique. Hey, I know AT commands for a modem. Does anyone give a shit? I certainly hope not.

      If the only thing that differentiates a great CS grad from a crappy one is memory management, that's a pretty shallow argument. Google it, read it, manage memory for a few hours and poof you're an expert.

      • by quetwo ( 1203948 )

        The trick is knowing what is happening under the hood -- whether you do it on a day-to-day basis or not. It's good to know why you wouldn't want to send a LONG into a function that requires a FLOAT. It's also good to know what the difference is between a MAP and having two Arrays or linked-lists. These things don't require doing memory management by hand, but being able to demonstrate what and why is the difference between a code monkey and somebody who is architecting code. Because a lot of the higher-

      • Re:Not this again. (Score:5, Interesting)

        by Matheus ( 586080 ) on Wednesday August 06, 2014 @01:33PM (#47615933) Homepage

        Ya the OP is asking the wrong question really... Honestly a school that is cranking out pure Java monkeys is called a "Tech School". If your Bachelors isn't providing you with the breadth of experience/knowledge you need then sorry you picked the wrong school.

        I was in school during the transition.. my Intro to Programming was in "C++" (in quotes because it was taught by a C dev who barely knew any of the ++ besides basic OOP). A had a couple other classes using C++ but that quickly transitioned to Java mid-sophomore year. Of course I also learned MAL/SAL, Various hardware languages, Lisp and a number of "scripting" languages.

        The important part of all of that is that the language in question was the "tool" we used to learn what the class was teaching. The class was not teaching us the language (although plenty of off-hours support was given if you didn't know it going in). Honestly I learned WAY more about memory management in my Operating Systems class which used Java as its reference language than I ever did in the handful of C++ classes I had.

        Side Comment: As someone who's spent a majority of his professional career writing Java code, a Java programmer who doesn't think about memory management is a terrible Java dev (and yeah I know there are a LOT of terrible Java devs out there). I have had not a single project where close attention to Objects' memory utilization and freeing wasn't required. The terms used are different as are the calls you make but just about any software that just "leaves it up to the GC" will have issues.

      • What you are reading is people who are trying to elevate themselves by referencing a new obscure technique. Hey, I know AT commands for a modem. Does anyone give a shit? I certainly hope not.

        Did you really mean to type "new"?

    • by SirGeek ( 120712 )

      I've been out olf college for *mumbles 26 years* - I had Pascal, C, 2 Different Assembly Languages (X86 And VAX). Not to mention classes in Data Structures and Compiler Design. I've also done Embedded Systems Programming (Aircraft Engine Controls and Fire Alarms as a couple of examples). Too many people get the attitude - 'Oh. My program needs more memory, Just add some to the server.' which is a bad. Why write optimum code ?

      I'd LOVE to see the Code Monkeys code working in some of the systems that I had to

      • Re: (Score:2, Insightful)

        by Anonymous Coward

        >Too many people get the attitude - 'Oh. My program needs more memory, Just add some to the server.' which is a bad. Why write optimum code ?

        Optimized for memory management? Why not optimize for speed? Caching and memory access beats disk access every day of the week and two times on Sunday.

        "This app is slow."

        "But it only requires 512k of your 64 gigs of memory!"

        "This app is slow."

        >I'd LOVE to see the Code Monkeys code working in some of the systems that I had to work with - Entire Program space was 3

      • Re:Not this again. (Score:5, Interesting)

        by gstoddart ( 321705 ) on Wednesday August 06, 2014 @01:24PM (#47615835) Homepage

        I've also worked with custom cpus that had 2 registers and no stack

        Luxury, we used to dream of two registers ... ;-)

        But, seriously, having been through assembly, Pascal, C, Data Structures, Compiler Design, telecomms, and some bare-metal hardware programming ... I do lament that for a lot of people it's just "oh, well, we're gonna need an infinite supply of memory" instead of actually writing compact code which doesn't just keep getting bigger.

        I once had a former co-worker who followed the mantra that optimization was a pointless exercise. He tended to include every library known to man, not give a damn about the efficiency of the library, and ended up with code which was slow but couldn't be optimized because he had no control over anything.

        I never understood how someone could continue to claim that optimization was pointless, and then write slow code. You'd think some empirical evidence to the contrary would have helped sway him.

        • 99% of code is better slow and simple. Because it simply doesn't matter.

          That doesn't excuse slow and unnecessarily complicated. I've seen queries with 8 outer joins to various company IDs.

          • Re:Not this again. (Score:5, Insightful)

            by gstoddart ( 321705 ) on Wednesday August 06, 2014 @01:38PM (#47615989) Homepage

            99% of code is better slow and simple. Because it simply doesn't matter.

            Right up until it does.

            And the people who think optimization is pointless because it doesn't matter are generally clueless about how to fix it when it does fall apart, because they're so reliant on their frameworks and libraries they haven't the slightest idea of where to begin.

            I can't even tell you how many times I've seen code which was written to look pretty, but which in practice was bordering on unworkable.

            I've seen more than a few OO developers who write what looks like clean, elegant code, but which actually has a huge amount more overhead and convolution which is masked by the library -- so much so that they're calling an n^2 algorithm n^2 times, instead of just writing something which didn't suck from the beginning.

            Because, in their mind, the magic library and compiler would make it super efficient, when it did anything but.

    • Re:Not this again. (Score:5, Insightful)

      by roman_mir ( 125474 ) on Wednesday August 06, 2014 @01:23PM (#47615823) Homepage Journal

      Nonsense, real CS people should have a year studying butterflies.

      As to Java or Assembler, neither are computer science. CS is about algorithms, run time, data models, paradigms, approaches. BTW, without understanding memory management, you will have memory management problems regardless of the language used. It is just the degree of how bad the problems are, whether they cause program to terminate only or also may become attack vectors.

      • All the things you list are only approachable after the student has a couple of actual languages under their belt.

        Undergraduate CS is about preparing students to take on those subjects, or get a job.

      • by Richy_T ( 111409 )

        A little generic assembler is probably good to know for a CS as it's getting down close to the metal. I wouldn't say more than a passing familiarity with it was needed in most cases though.

    • I would disagree that C isn't good enough, but I do agree that at least a semester of asm would be helpful.

      Watch out for mips though--that's what they used at my uni, and while it taught the principles that are found in all architectures, I found it discouraging that our only interaction wound up being through a vm. There was an excellent electrical and computer engineering class that used x86 assembly, and that's the one I'd recommend any CS student take (assuming your school offers something like that).


    • I had CS professors that really didn't know how to program (just basic pseudocode). Those professors would argue that the only thing important was the mathematics and logic. Everyone is always going to claim they know what's best for CS. It's usually what was important to their professors during the time they graduated.

      FWIW, I went to an ABET accredited school and an assembler course was still required.
    • I agree with the parent (@HornWumpus -- good name), but I'd like to elaborate.

      First, I agree that "There have always been a subset of CS students that didn't get anywhere close to the metal. They suck.", and I agree that "C isn't good enough." No language is good enough by itself. If you haven't played with Functional, Procedural, Object-Oriented, and hardware-level (Assembler) languages by the time you've graduated, you've missed something.

      You can figure it out no matter what they teach you, you just have

  • by schlachter ( 862210 ) on Wednesday August 06, 2014 @01:11PM (#47615697)

    There are different tracts in CS degrees, with some focusing on C++ and low level coding (embedded systems, OS, robotics, etc.) and others focusing on Java and other more abstract languages (automated reasoning, AI, NLP, web programming) I think it really depends on what the student choose to focus on.

    • by ZeroPly ( 881915 ) on Wednesday August 06, 2014 @01:36PM (#47615967)
      CS should be different from programming. Back in the day when I did my undergrad, the programming was something you mostly figured out on your own time. When I took Operating Systems 1, we were studying memory management, Belady's anomaly, semaphores, etc, but we were also expected to become proficient in Unix scripting by the end of the semester. The exchange on the first day of class went something like this:

      Prof: Homework for this week is to write a tcsh script that will set your environment variables when you log in based on a menu.
      Student: What's tcsh?
      Prof: It's one of the shells in Unix, you can write scripts using it.
      Student: How do I learn to use it?
      Prof: The manual command is "man" in Unix.
      Student: How do I use the "man" command?
      Prof: Use "man man" to find out how to use "man".
      (whole class looks bewildered for about 10 seconds - not sure if he's joking or if Unix is really that insane)
      Prof writes across the top of the board: THIS IS A UNIVERSITY, NOT A TRADE SCHOOL. RTFM.

      If you can't figure out how to learn the mechanics of Java, Python, whatnot on your own time, you really don't have the brain needed to do computer science. The problem is that everyone and their plumber is getting a 4 year degree these days, so it's become the equivalent of a high school diploma in the 80's.
  • Yes (Score:4, Insightful)

    by kwiqsilver ( 585008 ) on Wednesday August 06, 2014 @01:11PM (#47615701)
    1. Yes.
    2. Learn some lower level languages like assembler, C, or C++. Even if you don't use the techniques, understanding them will give you a better understanding of what's going on in your Java programs.
    • Certainly not.
      Give one single example of ten lines of C or Assembler that have any relation to a Java Program.
      Your claim is simply monsense.

  • ASM (Score:5, Insightful)

    by just_another_sean ( 919159 ) on Wednesday August 06, 2014 @01:13PM (#47615727) Journal

    Learn some assembly. Not because you will use it every day (or ever) but because it helps remind you that all the code we typically write is just layers of abstraction on top of a machine (which even assembly is, albeit very low level abstractions).

    An old boss from years ago (a mentor for me really) watched me troubleshooting a network issue in an application. He said to me "you seem to be having trouble spotting the problem. Have you tried going lower down the stack?". So I tried ping by name, nothing, ping by number, nothing, etc. Finally after reviewing ip configurations, arp and routing tables and probably a few other things I forget I figured out I had a bad cable.

    That taught me a lesson that I've applied to many areas of computers, including programming, over the years. If something seems like it should work but does not maybe something underneath it is the problem. If you want to be able to debug code at the library level or interfaces to lower level languages it helps to understand things like memory layout, registers, the call stack, etc.

    My $.02.

  • Not learning memory management? Bah.

    If you haven't learned how to minimize the size of your program to fit on an out-dated Apollo era mainframe, then you are not a computer scientist.

    And don't get me started on those fools letting people drive a car without knowing how to drive a manual transmission.

    Honey, where's my complain' pants? I got me some letters to write!

    Times change. Not everyone uses the same systems. An education should be more about ways of thinking than about specific skills. Otherw

  • Oh, for... (Score:5, Funny)

    by jeffb (2.718) ( 1189693 ) on Wednesday August 06, 2014 @01:17PM (#47615765)

    Well, in MY opinion, CS students who learned in C or C++ or Pascal or PL/1 are inferior because they use the stack as a crutch, instead of manually keeping track of callback history. If you don't have to write explicit code to keep track of every call, or allocate every local variable, your code will... well, actually, it'll likely be easier to read, easier to maintain, and easier to optimize. But it won't be as good as the code we had to write back in my day.

  • by gstoddart ( 321705 ) on Wednesday August 06, 2014 @01:19PM (#47615771) Homepage

    CS students who primarily learn Java are inferior because they don't have to deal with memory management as they would if they used C

    You know, I wouldn't want to specifically use the word 'inferior', but you do learn a hell of a lot from having to deal with your own memory management.

    When I was in school, lo these many years ago, I and a fellow student wrote the same basic assignment for a course.

    He was one of the sysadmins on the VAX and could set his process to use a vast array which was mostly empty, and rely purely on virtual memory. I had a tiny little 80286, and had to implement the same thing in a sparse array which took up a fraction of the space.

    We both got the expected results and got good grades, but the prof basically said since I'd done so much more thought on memory management and the other guy didn't, I'd get the A+ and he got the A.

    The Prof also stole my code to use in his own project, because by the time you accounted for architecture mine was about 4x faster and 100x smaller, and he'd basically given us an assignment which overlapped with his own research.

    Would I want to do bare metal memory management in C every day? Probably not. Do I think it was valuable to have had to learn how to shoehorn something into a small amount of memory and explicitly be the one to make sure my memory wasn't leaking? Absolutely.

    I think more modern software would suck less if developers didn't just assume there were massive gobs of memory sitting around, and implement everything in the easiest way possible without having to factor in resources. Most modern browsers seem to grow their memory usage at a pretty linear rate, even if you're not using the browser.

    Because, really, pretty much every piece of software seems to double in it resource requirements every few years.

    And understanding pointer arithmetic and semantics in C is valuable, even if most people will never directly see anything resembling a pointer these days.

  • It really depends on what you want to do. If you're trying to wring the last iota of performance out of an algorithm, then understanding TLB misses and cache protocols can be useful. Even accessing RAM can be an order of magnitude faster or slower, depending on what you do. So, maybe a class on microprocessor design?

    OTOH, I find that an ability to understand functional programming, recursion and data structures is very useful. They're the sort of things I quiz people on when I'm looking for really stron

  • In my totally completely unbiased opinion, I think that everyone should have a basic understanding of how computers actually work, from the ground up. A little bit of basic logic (and how that is implemented in hardware), introduction to low level programming (assembler) and using C to make hardware DO something. From there just keep moving on up until you get to Java. Learning operating system functions and why they are important (handling I/O devices, memory management, process and thread management, e
  • Computer Scientists understand the theory of computing. Software Engineers understand how to build software. Information Managmentstudent know how to apply computers to business problems. IMHO CS students are not prepared for real world coding applications. If you're going to program you don't need a CS degree, you just need a background in the programming language du jour. If you're going to solve difficult problems with a computer, you need a CS degree (theory, algorithms, heuristics). But to build a web
  • by idontgno ( 624372 ) on Wednesday August 06, 2014 @01:23PM (#47615813) Journal

    Feh. C. "Memory Management".

    CS students taught in high-order language are completely deficient in their education. They haven't learned about opcode timing and instruction placement and hardware stack management.

    If you aren't working exclusively in machine code, you're just a poser.

    • They haven't learned about opcode timing

      And about superscalar processors, which make opcode timing a bit less straightforward. And pipelining and instruction prefetching and branch prediction and caches and instruction scheduling and....

  • Yes, but no (Score:5, Insightful)

    by Unordained ( 262962 ) <> on Wednesday August 06, 2014 @01:23PM (#47615819)

    I've recently watched my wife (C++ environment) deal with a new-grad (Java-based education.) It's true that pointers are a sticking point -- in the process of being taught Java, they get taught that pointers are bad and dangerous (all hail Java for solving the problem,) and can be made only barely tolerable by using auto_ptr, but really should just be avoided. Yeah, it's a problem, sure.

    But the bigger problem we have with new-grads and junior-devs, in general, is the same problem you'd have in any field: they're green. They don't test well, or at all. They don't think designs through. They don't communicate well. They ask too many questions, or maybe worse, they ask too few. They try to fix things that aren't broken. They're bad at estimating task sizes (admittedly, people rarely get much better at that even after decades.) In an attempt to not suck, they reach out for best-practices and apply them zealously and inappropriately. They can't imagine how things will fail, or be abused. They spend too much time fixing small problems, and not enough time fixing big ones. And maybe worst of all, they're under the illusion that what they learned in school ought to prepare them for the workforce, when really it just gets their foot in the door.

    We, as their seniors, are the ones that should be spending the time fixing their misconceptions, fleshing our their education, filling their minds with the horrors we've seen, and setting up their work habits. When they fail, it's because we fail to do these things, usually because we brought them in too late in a project, gave them too much responsibility, and are fighting a deadline. So we "just fix it" for them, and they don't learn from the experience, while we gain nothing in terms of productivity from having them.

    But if I were to nitpick their education? Databases. Recent grads have little or no understanding of relational databases. Their thinking on organizing data, in general, is fuzzy at best, which impacts more than just database code, it impacts class and API designs, often crippling whole features with incorrect cardinality. It deserves more attention in school. The rest, we can fix in production. =)

    • by rujasu ( 3450319 )

      Yeah, the database thing is a big issue. In college, I actually tried to sign up for a database management class and couldn't, because it was in the Information Systems department instead of the CS department, and I hadn't taken the official pre-requisites. (I had taken a similar class in CS, but that didn't count. From everything I heard, the CS version was harder, but who knows.) So I had to get on-the-job training to understand databases, and it's still one of the weaker points in my skillset.

    • Re:Yes, but no (Score:5, Insightful)

      by msobkow ( 48369 ) on Wednesday August 06, 2014 @01:57PM (#47616179) Homepage Journal

      I agree that it is up to the greybeards to teach the young 'uns, but a large part of that is corporate culture.

      When I was fresh out of school, I worked at a place where cameraderie was paramount. We went for lunch. We went for coffee. We went for smokes.

      And we talked about issues and the problems they'd encountered over the years, and how they'd approached them and solved them.

      The last few jobs I had, if you spent any time on such "idle chit-chat", the management came down on you hard for "not doing your job." It's pretty damned hard to educate the younguns if there is no opportunity to talk with them.

  • One of my favorite Computer Science instructors said to us: Learn the fundamentals, and a hot button.

    A hot button is the 'new cool thing' that everyone is asking for.

    The fundamentals are, well, the fundamentals.

    So, when I went to school to work on my Bachelor's, we used ADA, c, c++, x86 assembly. ADA was for the "intro to computer science", clang was for many, I chose to use c++ for compiler class. x86 assembly was for assembly language programming.

    Back then Java was the new thing, so I made sure to take Ja

  • by presidenteloco ( 659168 ) on Wednesday August 06, 2014 @01:27PM (#47615865)

    I remember learning a couple of assembly languages, 3 procedural languages, sql, lisp, and prolog during my undergrad CS degree, while learning three more languages including Forth, Basic, and SmallTalk in summer jobs around that time.

    But in my recollection, particular programming language (details of) was not the main point of the majority of my CS (or EE elective) courses, especially not after first year. Quickly learning any programming language was just the price of admission to learning and practicing other CS knowledge. Computing general concepts, algorithm and database general concepts, intro to and practice with different styles of programming such as functional, declarative, procedural, particular types of applications as examples, cool AI'ish stuff, and a few things about software engineering practice, were much of the point.

    So if your degree program is "about Java" and "experience with Java and an N-tier JEE stack", then RUN and take some MIT or Stanford online courses in more interesting and useful stuff!

  • by brian.stinar ( 1104135 ) on Wednesday August 06, 2014 @01:28PM (#47615873) Homepage

    The department I go my masters in computer science from divided the discipline into three chunks:

    I think this is a good way to divide computer science.

    It sounds like your Java / C question involves mostly languages, and a little bit about systems (since Java programmers do not need to have a fundamental understanding of memory works at a system's level.)

    I don't think this question really addresses the underlying issue - what is computer science? To me, I tell people that my formal education is closer to applied mathematics than what I do on a day to day basis. I also like to humorously use the derogatory term "code monkey" to people that have learned everything through the "languages" chunk above. A lot of times when I've worked with these people, they haven't even really studied languages (Why did the language designers make the choice that they did? What does the formal language specification say the language should do in this case? How is this language related to earlier languages?)

    Again, about 90% of what I do on a daily basis could be considered "code monkey" level. It's when a customer has a REALLY difficult math problem that my formal education comes into play, and for giving people confidence in me.

    For your direct question, I'd study the book Computer Architecture, Fifth Edition: A Quantitative Approach (The Morgan Kaufmann Series in Computer Architecture and Design) []

    That's what I used, and it helped me understand a ton of memory management. Then again, my undergrad curriculum was based on C....

  • Many of the modern CS students spend all there time in a single environment and a single language (Java on Windows). If this is the case for your school they are doing you a disservice. I was exposed to the at least 5 operating systems and 7 or 8 programming languages and wrote assembly that ran on bare metal in school. If you experience a variety of environments and languages you will have a much better base to judge what is good and bad when developing solutions.

  • by Bamfarooni ( 147312 ) on Wednesday August 06, 2014 @01:31PM (#47615897)

    Yes, the concern is real and common. The antidote is building stuff. A bunch of stuff. The more stuff you build, the more likely it is you'll have to get "dirty" with the underlying guts of it, the more you'll know, and the more valuable you'll be.

    For instance:
    Of the many garbage collectors Java offers, have you ever used anything but the default? Do you have any idea what the trade-offs are and when you might want to use another one?
    Have you ever profiled any Java code?
    What do you know about Java byte code?
    Ever SWIG wrap anything into Java?
    Ever used Java serialization? Do you know what's wrong with it and why you wouldn't want to use it?
    Custom class loaders?

    My adivce: go learn everything there is to know about "something", it doesn't really matter what (maybe you want be the worlds foremost expert on malloc). In the process of gaining a very, very deep understanding of that 1 specific sliver; you're going to also learn about a ton of other stuff on the way.

  • by Shortguy881 ( 2883333 ) on Wednesday August 06, 2014 @01:32PM (#47615913)
    C does offer the ability for explicit memory management and if thats what you want to learn I suggest picking up C. In programming the lessons are transferable and always useful when looking at another language. What you learn in C can be applied to what you do in Java.

    That being said, Java does a lot of the heavy lifting in memory management, but it isn't fool proof. If its java you want to learn about, try running your jvm with less and less memory. This will make you conscious of the size of large objects and ways of getting around memory barriers. In java this really starts to apply when you are using huge data sets and repetitive tasks. Poorly written code will start to see oom and stack overflow errors. There are plenty of tools out there that will analyze memory usage of your code. I'd suggest getting some and trying to decrease your programs memory footprint without a loss in speed.

    This, of course is all computer science, and has little to do with most software engineering done today. Knowing these things, though, will definitely put you leaps and bounds in front of other software engineers.
  • go out and buy another gig or two of ram for a few bucks.

    seriously...its hard enough to find professionals to build software without getting bogged down with mallocs and leaks for god's sake.

    when java first hit in the 90's, prettty much the #1 feature was its automated garbage collection...why now are we debating this now?

    oh...i know why...its same group of old folks who live in the past and think anything not invented or produced 20 years ago is shit.

  • by rujasu ( 3450319 ) on Wednesday August 06, 2014 @01:36PM (#47615963)

    Web development? Keep learning Java. You will rarely ever have to worry about memory management. Learning C won't make you a better Java programmer, and there are plenty of jobs for people with Java backgrounds. Of course, you should also know HTML/CSS etc. if you're going this route.

    Video games? Learn C and C++, probably in that order. Java isn't going to cut it, you'll need to learn things like memory management and graphics programming. However, the object-oriented programming stuff you learn in a Java-centric curriculum will still be very helpful in C++ (or C# if you go in that direction), so you have a solid base to work with.

    Embedded systems? You're in either the wrong school or the wrong major for that, you need to focus on C and Assembler for that. Completely different world from Java.

    You get the idea. Figure out what you plan to do with your career if you don't already know (in a broad sense, you don't have to nail down a specific job), and steer your studies that way. If you want to keep your options open, teach yourself some basic C or C++ and see if it's right for you. If you can't figure out how to manage pointers, then you know what type of programming not to get into.

  • The problem isn't so much that new grads are missing some specific piece of technology or some specific piece of information. It's that new grads are typically missing, quite frankly, everything.

    Programming and software engineering are -hard-. If you're a couple standard deviations above the average IQ, you can become barely passable in four years and reasonably good after ten. 'Reasonably good' is ideally the minimum standard that most companies would prefer to hire at, and the percentage of new grads w

  • If the CS grad did not take a course in Data Structures and Algorithms, or have verifiable knowledge on the topic, then the candidate wouldn't get past the first couple hours of interviewing.

    It is not which languages you know, languages are merely the means to express your computer science knowledge.

  • Do you want to go work somewhere and write Java programs for a living? Maybe you'd like to go write games or work on an office suite? Then learning high level languages like Java will serve you well. Do you want to write low level stuff and do "real" computer science? Maybe you want to develop a new high level language, or do hardware development or other significant development. If that's what you want to do, then you're right. High level Java and other languages should just be a footnote. Focus on
  • I'd trust a programmer who's never dealt with the sorts of problems caused by manual memory allocation (or, even nastier, compiler bugs) about as much as I'd trust a plumber who's never gotten shit on his hands.

    It's not that I think garbage collection is bad, but the sorts of bugs caused by memory stomping tend to be some weird non-deterministic stuff which makes you question your sanity and your tools. You have to learn to narrow things down as deep as possible, to trust nothing, question everything, abuse

  • focus on engineering (Score:4, Interesting)

    by a2wflc ( 705508 ) on Wednesday August 06, 2014 @02:05PM (#47616263)

    The problem I've seen in CS grads over the last 10-15 years is they have little to no engineering background (even when their degree is "Computer Engineering"). Most applications are complex systems. And most CS grads don't understand systems. I've been able to teach EEs, a chem E, a civil E, an MD and a CPA (among others) how to program. And they've had no trouble implementing solid class hierarchies and robust applications. It's much harder to teach a CS grad about structural integrity, analyzing a design for weaknesses, and root cause analysis. In some cases they won't accept those are even an issue since "software is so different from physical structures". So they keep building things that pass all the tests but repeatedly fall down once they get to production.

  • by 0xdeadbeef ( 28836 ) on Wednesday August 06, 2014 @02:06PM (#47616269) Homepage Journal

    Those who can write in Java, and those who can write Java.

    Or those who can write in C#, and those who can write the .NET runtime.

    Or those who can write in PHP, and those who can create PHP. Wait, those are the same.

    You get what I'm saying. The programmers who whine about requirements to understand low-level memory management are in the first category, and their knowledge and skills are laughable compared to the kind of programmers who get hired by the likes of Google, Apple, and Microsoft.

    Stop trying to pretend you're as good. If you were as good you'd be doing something interesting instead of slapping together enterprise bloatware.

Programmers used to batch environments may find it hard to live without giant listings; we would find it hard to use them. -- D.M. Ritchie