The European Court of Justice, the highest court in the European Union, is kind of on a roll lately. We already discussed how they
outlawed generic ISP-side internet filters, and now,
in an opinion (so it's not a ruling just yet), Yves Bot, an advocate-general at the Court, has stated that functions provided by computer programs, as well as the programming languages they're written in, do not receive copyright protection. The opinion is very well-written, and relatively easy to read and grasp.
Note: Brilliant quote from a comment over at Hacker News: "Copyright makes you write your own code. Patents prevent you from writing your own code."