Slashdot Mirror


Exam Board Deletes C and PHP From CompSci A-Levels

VitaminB52 writes "A-level computer science students will no longer be taught C, C#, or PHP from next year following a decision to withdraw the languages by the largest UK exam board. Schools teaching the Assessment and Qualifications Alliance's (AQA) COMP1 syllabus have been asked to use one of its other approved languages — Java, Pascal/Delphi, Python 2.6, Python 3.1, Visual Basic 6, and VB.Net 2008. Pascal/Delphi is 'highly recommended' by the exam board because it is stable and was designed to teach programming and problem-solving."

33 of 663 comments (clear)

  1. Maybe I'm missing something by Tim+C · · Score: 4, Insightful

    But, so what?

    If you understand programming, picking up any given language is straightforward.

    If you don't understand programming, it doesn't really matter what languages you know.

    1. Re:Maybe I'm missing something by Anonymous Coward · · Score: 3, Insightful

      If picking up any given language is straightforward, then why does everyone list the languages they know on their resume?

    2. Re:Maybe I'm missing something by DangerFace · · Score: 5, Insightful

      Maybe because resumes get sent to HR and management, not experienced programmers?

    3. Re:Maybe I'm missing something by delinear · · Score: 5, Insightful

      I guess it depends if we expect the exams to be about learning the foundations, or actually learning practical skills. If it's the former, the language isn't so important as they'll need to do a fair amount of learning on the job, if it's the latter then the language could be valuable experience prior to their first role. From personal experience, I'd rather universities taught the foundations and didn't try to instill a sense of practical knowledge, because most of the university graduates I interview who do have practical knowledge tend to have been taught bad or very outdated practice, and it's much harder to break them out of those practices and teach the right way than it is to teach someone who knows the underlying principles the right way from scratch. Until universities can keep up with the fast pace of "web languages", they should stick to ensuring students unerstand the theory above all.

    4. Re:Maybe I'm missing something by teh+kurisu · · Score: 4, Insightful

      I find that knowing the language syntax is only half the battle. Learning how to use the libraries properly (standard or not) takes much, much longer.

      My education in programming has largely been in Java since late high school and all the way through university, with deviations along the way into VB, C, PHP and PROLOG. Recently at work, I've had to pick up C++ in order to do some Symbian development.

      Picking up what I needed to know of C++ was the easiest part. Learning how to use the Symbian C++ libraries, on the other hand, has been a monumental task, and one that has largely been ditched in favour of Qt for Symbian, which is much, much easier to get to grips with.

      In theory I can now put 'knows C++' on my CV. I don't really. I've hardly used the standard libraries. I'm pretty confident I could write a Qt-based C++ app without too much trouble, either on the desktop or on Symbian. But I wouldn't have the first clue where to start if I was asked to write a Windows app, without a decent bit of learning and training. And I would avoid native Symbian like the plague.

      I'm no expert in CV writing (I'm still in my first proper job after leaving uni), but I think that listing the things that you have done, and then mentioning the languages and environments that they were done in, is better than simply listing the languages that you know.

    5. Re:Maybe I'm missing something by Anonymous Coward · · Score: 3, Insightful

      Right. I've been a professional developer for 15 years now (as in, it's paid all my bills for all that time). Last time I touched C was back in school.

      There's a freakin' forest of languages out there, and C is not some holy grail that sucks all into its gravity well.

      If I should ever actually need it, I'll pick it up. Just as with any other language I've learned through the years.

    6. Re:Maybe I'm missing something by Anonymous Coward · · Score: 5, Insightful

      The C programming language can be hard if you don't have a solid understanding of computers. It's easier to learn after you've got an understanding of other areas. Pointers, for example, make a lot more sense when you know they represent memory addresses. Personally I think that if you're teaching programming, you should stick with a more abstract language. That way, you can concentrate just on programming: Loops, conditional executions, etc.. Things like preprocessors, compilers and linkers, which you will need to know about to some extent to code in C, are probably best left to a separate courses.

    7. Re:Maybe I'm missing something by Jurily · · Score: 4, Insightful

      but we have some bright young programmers who have only seen Pascal (from early training), Java, Python, and C#

      Are they bright in terms of Get Shit Done(tm) or in terms of Understand The Cost Of Your Code? While C may no longer be the lowest common denominator between languages, frameworks, etc., it's still basically structured assembly, thus ideal for learning the hardware model, and all its implications on higher level software. Interpreted/JIT languages provide a useful abstraction over the hardware, but it's by no means perfect. And when the abstraction breaks, you won't know while your simple little script takes too long. StringBuilder is the idiomatic example, I believe.

      As with all software development magic bullets, it only works as advertised if you already know what you'd do without it.

    8. Re:Maybe I'm missing something by Jurily · · Score: 5, Insightful

      Everyone who agrees with parent, please read this article NOW.

      You don't learn C for the syntax, you learn it for the side effects.

    9. Re:Maybe I'm missing something by Bing+Tsher+E · · Score: 5, Insightful

      "C is Hard. Students shouldn't have to learn anything that is hard. Think of how it might affect their GPA!"

    10. Re:Maybe I'm missing something by DrgnDancer · · Score: 3, Insightful

      As people have been trying (with varying degrees of clarity) to explain, the value of knowing C is not knowing C. It's in understanding how C relates to the theoretical underlying concepts of Computer Science. C is, in it's pure form, a VERY low level language, that can easily be used to demonstrate underlying Computer Science concepts. Start stacking layers of libraries on top, and C is no more or less abstract than any other language (well still a little more really). If you deliberately avoid using the high level libraries though, you can use C to teach about memory addressing (pointers), networking (without high level libraries, C can be used to work directly with sockets), operating systems (whee, semaphores!), all kinds of stuff. It's really close to the metal, and with it's fancier features stripped out it's metaphors nearly precisely overlap with the metaphors of the machine beneath it.

      Learning C for programmers is a lot like learning Physics for Electrical Engineers. Sure, most of the time they can rely on established formulas to do their jobs. Most of the time an understanding of the underlying principles of electricity is almost an afterthought. Sometimes though, they find they have a need to know the why as well as the how; then they're glad they had to take Physics in school.

      Pascal can also serve this purpose, but C has sort of a dual benefit. If you learn the underlying basics with Pascal, you learned theory. If you learn the underlying basics with C, you learned theory, plus a language that you may get a chance to use sometime. C is less common that it used to be in real world programming, but it's still infinitely more common than Pascal, and its basic syntax survives in C++, C#, Objective C, etc.

      --
      I don't need a million points of light, just two points of multi-mode fiber and a 10 Gig-E router.
    11. Re:Maybe I'm missing something by Dragonslicer · · Score: 3, Insightful

      There's no denying it, C is the basis of everything in computing.

      That's funny, when I was getting my computer science degree, we learned that assembly and/or machine code is the basis of all programming. If you ask a computer science professor, they'll probably tell you that mathematics is the basis of everything in computing. If you ask a computer engineering professor, they might tell you that transistors or logic gates are the basis of everything in computing. If you ask an electrical engineering professor, they might tell you that circuits are the basis of everything in computing (or they might tell you that they don't care and to go away). If you ask a physics professor, they could come up with almost anything to tell you is the basis of everything in computing.

      Personally, I think it's just turtles all the way down.

    12. Re:Maybe I'm missing something by BitZtream · · Score: 4, Insightful

      Nor would anyone call him a mechanic, they'd call him a JiffyLube employee.

      A lack of understanding of how computers work makes you a person who writes code, not a programmer.

      My 88 year old father can write code to do some minor things, that doesn't make him a programmer, that makes him a guy who speaks a minor amount of VB but in general has no clue what he's saying.

      My guess would be you're a guy who writes code, not a programmer.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  2. C is key by nailchipper · · Score: 4, Insightful

    What a shame. C is an important foundation.

    --


    what is nailchipper?
    1. Re:C is key by 16Chapel · · Score: 4, Insightful

      Quite. And VB is a horrible abomination.

      In all seriousness, if you learn a C-based language it gives you a huge headstart towards learning the other C-based languages, and there are far more of those out there than Basic-type languages.

    2. Re:C is key by Mr.+Freeman · · Score: 5, Insightful

      I'm not a CS major, I'm a mechanical engineering major and I just wanted to learn how to program as a hobby. I found it a lot easier to learn C than anything else I tried.

      I'm not going to pretend to know how to program very well but I thought that because C didn't do very much for you that it gave a better foundation for learning other languages. I did learn a bit of python, but it was easier after learning C because you know what's going on "behind the scenes" so to speak.

      For example, I had this weird ass problem in python where, for some reason, it was treating an integer value as a string. In C you have to specify variable types when you declare them. Because I knew about different variable types I knew that I had to look up how to explicitly declare variables as certain types in python. In C, you have to learn things like variable types, casting, pointers, etc. just to make a program that does anything at all. Languages like python are taught such that you completely gloss over these subjects and just assume that the computer magically knows what you're trying to tell it to do. When you run into a problem you can't fix it because you don't know what's actually going on.

      I suggest that introductory programming classes use C rather than other things. The counter argument I generally get is "We want the students to make a program that actually does something so that they can write some programs after only a couple lectures". This loosely translates to "we want to entertain the students rather than teach them."

      Although perhaps there's a middle ground. For non-CS majors, teach a language like python. Python allows for quick programs that, while not amazingly efficient, don't really need to be. For example, formatting a file with a shitload of data from a strain gauge. This might have to be done a total of, say, two times and thus efficiency really isn't an issue. Furthermore, non-CS majors (like mechanical and electrical engineers) don't have to understand the very basics of programming, they don't have much relevance to their field.
      For CS majors, start off with languages like C because their job is to understand the very very basics.

      --
      -1 disagree is not a modifier for a reason. -1 troll, flaimbait, redundant, overrated are NOT acceptable substitutes.
  3. Oh yea. Teach them non mainstream stuff by unity100 · · Score: 4, Insightful

    to teach them hypothetical skills in watered down, obscure platforms so they can curse you for the rest of their lives when they start working in the industry.

    i was taught fortran and pascal. i dont remember shit, and i dont think i gained much from them.

    programming can be taught with any language. problem solving can be taught with any language. it is better to teach these using a language they WILL use when they actually get into industry, than with stuff they may rarely come up against.

    uk was going down the drain for some years. i see this as another absurd jacobinism.

    1. Re:Oh yea. Teach them non mainstream stuff by RegularFry · · Score: 4, Insightful

      Alternatively, if the first thing they learn is that they *will* have to learn new languages, and that they can't rely on a single skill-set to carry them through their career, that's got to be a good thing.

      --
      Reality is the ultimate Rorschach.
  4. Visual Basic? by tagno25 · · Score: 4, Insightful

    Why are they accepting Visual Basic 6, but not C++, Ruby, or even LISP?

  5. Atleast they still allow Java by mwvdlee · · Score: 3, Insightful

    I'm not particularly fond of Java, but atleast hey have ONE alternative that is widely used in in the industry.

    VB6 and delphi are dying languages as far as employment opportunities are concerned and Python isn't nearly as popular as PHP. I think VB.NET could get you a low-paying entry-level job though.

    The common denominator of the allowed languages is that they do not allow low-level programming. C may not be the most common language in the industry, but it gives you a great foundation in understanding what actually happens inside all those object, libraries and frameworks.

    This move is endumbening students ;)

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    1. Re:Atleast they still allow Java by Rockoon · · Score: 3, Insightful

      C may not be the most common language in the industry, but it gives you a great foundation in understanding what actually happens inside all those object, libraries and frameworks.

      You are just another guy that thinks pointers are special (that's C's only low level feature.) Don't kid yourself.

      The last thing you need to know about is pointers if you want to understand the stuff you listed. What you need to concern yourself with is the algorithms and data structures employed, to that end references are as good as pointers.

      I am telling you this as an assembly language programmer, so don't for a second think that I am brushing off pointers as not useful. I just know that they do NOT offer insight into the things you listed.

      --
      "His name was James Damore."
  6. Re:So what? by Matthew+Dunn · · Score: 5, Insightful

    What's the big deal? One programming language is like the other, at least within the same paradigm. If you can program in Pascal, you can program in C. If you can't you learned a syntax and not "how to program". Basically, when I was a computer science student, we got one language taught for the concepts and the rest was just "swim or sink". That's the way it should be. I really have a problem with programmers who have problems switching from their preferred-language to another because it's unfamiliar. Well, no, it's not... It's the damned same thing with diverging syntax.

    Basically, the premise of the Exam Board is quite right: the goal of programming is to have problem solving skills. Whatever language conveys that is completely uninteresting to me.

    Oh, and just for the record: programming is just a small part of the computer science curriculum... or at least it should be.

    There's a lot more that goes along with a language Sure, if you know how to code OO, use iterators, understand switch statements and other language-related elements you can change languages and write an algorithm or two But Do I know best practice for everything? If I'm a c# programmer. Do I know important differences between Ruby 1.7, 1.8. 1.9? Do I know what the best inversion of control framework is? Or what the best ORM to use is? Am I familiar with how to use it? If I'm a Ruby developer am I aware that in a .NET language if I add two strings together in c# "Hello" + "World" It constructs a new immutable string. But if I do String.Format("{0}{1}","Hello","World" it is much faster and uses less memory? Will I know all the proper coding conventions, casing, tabbing, indenting styles. There are hundreds if not thousands of useful pieces of language, compiler, and environment specific knowledge which is useful and can be pretty obvious if you do not have it. I've been playing with c#, ruby, gcc. For around ten years commercially and I still need to invest significant re-education if I swap from say ruby to gcc or ruby to c# after a year.. There is a reason that people tend to stick with one or two primary languages.

  7. Re:C is a terrible learning language by Anonymous Coward · · Score: 4, Insightful

    The point of C as a teaching language is that hardware does not bound arrays, it does not protect memory, all data is just bits and can be arbitrarily converted to anything (even if it makes no sense to do so).

    Basically, if you grok C then you are an effective programmer but if you can only program in a "safe" language then you likely don't understand how anything works and it all seems 'like magic' and there's already enough pseudo-science in the world.

    (Of course, whether you should choose to keep using C after you understand the concepts is a different question)

  8. Re:Dumbing Down by jareth-0205 · · Score: 4, Insightful

    Is this so surprising? There was a time when a University degree was supposed to be about learning concepts and theory, not specific skills. Skills were to be got as an apprentice at a company, companies used to train their new recruits. It seems that employers now just expect a University graduate to emerge with all the skills they need in their particular field and have to do no training. I can't help feeling extremely cynical when I hear companies complain about the quality of graduates when they've rescinded on their part of the bargain pretty completely.

  9. Computer Science != Programming by mattsday · · Score: 4, Insightful

    I think the common interpretation of Computer Science is extremely misleading. It's not about programming stuff, that's more of an IT application of computers. Instead, it's about understanding the science behind computers, for example to understand the mathematical principals of computing, operational effeciency and move it on as a tool for scientific endevour.

    To this end, the choice of programming language really doesn't matter - it's a tool that the subject uses either as a proof of concept or a learning point. C is fairly good for this as it exposes a lot of the inner workings of a computer, whilst being high enough level to be more or less consistent across platforms at a university level. However, that doesn't mean that knocking up a quick proof of concept in python or perl is less valid - or even visual basic if it helps understand the science behind the problem.

    In other words, I see no real worry here. If they stopped putting mathematics in a CS course or made it in to a programming degree I'd be concerned. If it's about using various tools for the job then I'm all for it. Hell, I wrote a pascal compiler in pascal as part of my degree - it wasn't about the programming language, it was about understanding the fundamentals of compiler design and implementation.

    --
    Now there's one hoopy frood who really knows where his towel is!
  10. Re:Then why not C? by seanellis · · Score: 5, Insightful

    Why not assembly language?

    Build up from the very bottom. ARM assembly (disclaimer - I work for ARM) is ubiquitous and pretty close to an idealised assembler. Dev kits are available for cheap.

    Then you build up through structured assembly, C-like languages (PASCAL?), and so on. Otherwise, it's like trying to build houses without understanding what bricks are.

    That's the way I did it, except being as how I'm old and crusty the assembly language I started with was SC/MP, and we also had a load of BASIC thrown into the mix.

  11. Well that would be part of the reason to learn it by Sycraft-fu · · Score: 5, Insightful

    Part of being able to write good software is actually understanding how computers think. All these things like objects, and types and so on are all constructs for making things easier for people. They are how we think, not how the processor thinks. The problem is, if all you ever learn on is languages that hold your hand, you end up not being as good a programmer. I see types like that all the time come out of the university where I work, as Java is about the only thing they like to teach. They have little to no understanding of how a computer actually works and cannot deal with lower level languages.

    Now I certainly wouldn't say C should be the only language you learn on, but it should be one of them. Learn how a computer works, and learn the power, and problems, that can be had from getting closer to the bare metal. Also then learn about higher level languages, and the advantages and disadvantages they provide. Basically, try and give students the understanding of how programming languages differ, and allow them to be able to appreciate that there are tradeoffs using different languages.

    Having a program that gets too stuck in high level languages risks producing the myopic zealot type programmers that can only write in one language and write very bad code because they are used to having the language clean up after them.

    Also, universities should endeavor to teach on what companies want. While a university degree is a theoretical degree, not practical training, that doesn't mean they have the right to be arrogant and refuse to try and offer theoretical training on real world tools. At the engineering department I work for, we try to do that. The software we use in classes is the software you'd use to do that sort of thing in the industry, when practical. That way you learn not only the electronics theory being taught, but you get practical experience with a tool.

    Same shit for programming. Teach students on languages that companies want. Guess what? C++ (and even C) and C# and such are those languages. Pascal is not. I don't care if some old fossil of a professor loves Pascal. Suck it up, learn a new language. Your job is to keep up on shit. Any educator that themselves refuses to continually learn should be fired.

    Teach students on a good cross section of languages that are currently useful. Show them the advantages and disadvantages of different kinds of languages and programming, give them a good theoretical foundation in how this all works. While you do that, do it using tools that they will actually be asked to use when they go and get a job.

  12. Re:C is a terrible learning language by rmstar · · Score: 3, Insightful

    The point of C as a teaching language is that hardware does not bound arrays, it does not protect memory, all data is just bits and can be arbitrarily converted to anything (even if it makes no sense to do so).

    Basically, if you grok C then you are an effective programmer but if you can only program in a "safe" language then you likely don't understand how anything works and it all seems 'like magic' and there's already enough pseudo-science in the world.

    There is a fallacy in there. A safe language just tells you when you are doing crap, so that you learn not to do it or so that it doesn't shoot you in the foot. It doesn't make your errors go away, it just makes them explicit.

    If you are good at programming in Pascal, it is not a big problem to learn C.

    What is more, people who learn with C often develop a control-freak attitude that hinders them in the adoption of such sensible things as e.g. garbage collectors.

  13. Re:C is a terrible learning language by Fzz · · Score: 5, Insightful
    Unfortunately our experience teaching undergrad CS students Java first is that they build a mental model of what's going on that is completely abstracted away from the concept of memory. They then struggle to understand performance issues, and when we try to get them to learn C later, they struggle because they not only need to learn C's idiosyncracies but also unlearn their mental model, which is a lot harder.

    We're actually about to switch back to teaching C in the first year (via long low-level projects for which it is well suited), as we've concluded the Java-first approach we've been using for at least ten years isn't working terribly well. It's nearly impossible for students to understand the advantages of object orientation when they haven't written complex code and haven't made the mistakes that lead to spaghetti code. So they use object orientation by rote-learning, which means they don't really understand when a lighter weight approach or a different language is appropriate and when it isn't. We'll still teach them Java and a range of other languages, but only when they've learned the reasons those languages help.

    Having said that, I don't really care what they teach at A-level. A-level CS is pretty nearly worthless - any reasonable university CS department will prefer you didn't do it, and that you'd done more maths or science instead.

  14. Re:Then why not C? by Halo1 · · Score: 3, Insightful

    I think you could say the same about Delphi-style Pascal. You can go as low level as in C there

    I'd say you are 99% right, but not quite. Pascal has a few abstractions that isolate you from the machine, like the set type for instance.

    Yes, it has both high a low level abstractions. I meant that you can go as low level as in C. You indeed don't always have to though.

    Also, AFAIK, standard Pascal does not have function pointers,

    It does have them: http://www.moorecad.com/standardpascal/iso7185.html#6.6.3.4%20Procedural%20parameters

    although I believe many versions, including Delphi, have implemented their non-standard extensions for this.

    Delphi did introduce a lot of non-standard extensions to Pascal (and in fact, the way it implemented support for function pointers is different form the ANSI ISO way). Nowadays, Delphi-style Pascal is however one of the most popular variants around and sort of has evolved into a de facto standard.

    I learned Pascal in the early 1980s, when the computer I had was an IBM PC with a 4.77 MHz CPU. I did a lot of programming in Turbo Pascal version 3, but I ended learning C because there were some operations I couldn't do with Turbo Pascal. After I learned C, I never felt the need to use Pascal anymore.

    I also learned Pascal first, though it was in the 90's. I now also know both Pascal and C, but still prefer Pascal. Keep in mind that Delphi-style/Object Pascal is more than C. It's more like C with the addition of Java-style OOP.

    --
    Donate free food here
  15. Re:Then why not C? by Opportunist · · Score: 3, Insightful

    You want to frustrate our new students this early? :)

    I hold that doctor and anatomy comparison and raise a language comparison. You want to teach kids a new language by telling them the grammar rules while not giving them any encouragement by giving them a way to communicate in it.

    You start teaching programming by rote learning. Seriously. Yes, yes, it's all wrong and it teaches you so many horribly wrong ideas, but that's where you start. There is a reason why many schools in the past taught LOGO as a first language to school kids. Because that gives you immediate feedback while requiring very little knowledge of the language itself.

    You have to understand, they know nothing at all about programming. That's already where many teachers fail to teach properly, especially if they are good programmers. The idea of procedural programming and that a program is executed step by step is already alien to them, something that probably you and me grasped immediately. VB, as condemnable as it may be, at least teaches this concept, and branches, loops and so on too. All that is HORRIBLY hard to grasp for many kids starting into programming. Especially if they don't have the mindset.

    I know it might sound odd, but I noticed that there are people who instantly catch on, who immediately understand the way a procedural language works, and people who have an incredibly hard time wrapping their mind around it. We don't just all start on equal ground here. And for you and me, teaching ASM is probably the sensible way to start, simply because we do understand those concepts for some reason. Call it talent, call it whatever you like, but it's anything but the norm.

    So starting with some high level language (JAVA would be great, IMO, simply because it prepares you for the C syntax. Yes, yes, a good programmer knows how to program, not his rotes, but these ARE NOT good programmers, they're beginners!) is quite sensible. Let them get used to the idea of procedural programming before you toss overhead at them.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  16. Bad, bad move by Lisandro · · Score: 3, Insightful

    The exclusion of PHP is debatible (is not really different from a gazillon other interpreted languages out there), but the exclusion of C, is, IMHO, a gross mistake. C teaches basic low-level concepts that other languages, outside assembler perhaps, dont even touch - memory management being the principal. Nowadays every developer accustomed to Java seems to think garbage collection is the end of all memory handling issues...

  17. Re:Plus, Delphi is an awesome teaching environment by BitZtream · · Score: 4, Insightful

    Just for your future reference, while technically you can call what you did 'programming'.

    By any acceptable definition of the word what you did was show how to use the Delphi gui, not teach programming, and that is a BIG distinction. You haven't taught anything but how to point and click.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager