Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:Ubuntu's alignment with MS's search engine (Score 2, Insightful) 162

I wonder if this will have any impact Ubuntu's recent announcement that they are switching to use Yahoo (which is Microsoft Bing underneath) as the default search engine in their next release.

Yahoo already has a history of rolling over for the Chinese government. If Canonical doesn't mind associating with a company that helps oppressive regimes track down dissidents, I don't think Microsoft's announcement is going to make much difference.

Comment Re:Editors and Debuggers (Score 1) 310

I can't find the part in the SLIME manual where it helps me write and debug programs written in any of the languages supported in Visual Studio. The one I care about is C.

C is a statically compiled language, so you can't really build a system like SLIME for it. SLIME needs to be connected to a running VM that it can push code to dynamically. C wasn't designed with that capability in mind.

Comment Re:Editors and Debuggers (Score 1) 310

Tool chain integration that actually works

What doesn't work?

not having to code in lisp to make macros work

Visual Studio doesn't support any programming language with macros, unless someone has made a Boo plugin whilst I wasn't looking.

Or did you mean keyboard macros? Because you don't need to write any code for that, either. Now, I don't think Emacs is as quite good as Vim for defining keyboard macros, but it's certainly better than Visual Studio.

Comment Re:Patents aren't the problem (Score 1) 392

Oh, but eliminating patents is exactly like that and the socialists and commies are salivating at that prospect.

I don't think you understand what socialism and communism are. Patents are a form of government regulation. Socialists and communists are not about small government; quite the opposite. Rather, eliminating patents would be a minarchist or anarchist action.

Comment Re:Interesting, yet exaggerated... (Score 1) 578

In your example, item needs to be defined elsewhere. E.g. What does the line contain, csv, tab-delimited, space separated? Whereas split() makes it pretty obvious.

I'm just took one of the examples on their page. Presumably their system is smart enough to work out the mimetype of the file, but I agree that it seems rather brittle and ambiguous.

Comment Re:Interesting, yet exaggerated... (Score 2, Insightful) 578

I wonder if they didn't compare themselves to Ruby or Python because they couldn't contrive examples that produce huge LOC differences?

Probably. There's no difference in length between:

get the last item of line 2 of URL url

And:

open(url).readlines[1].split(",").last

I guess the former is easier to read, but languages that have a lot of "magic" in them tend to be pretty bad at scenarios the developers didn't think of. Which will inevitably turn out to be something you want to do.

Comment Re:Is it just me ? (Score 1) 173

> I'm not sure what you mean by "recursive style",

Look at Quicksort in Haskell :

qsort [] = []
qsort (x:xs) = qsort (filter (= x) xs)

This is what I mean, no loops, recursion.

Well, all functional programming languages use recursion, so "recursive style functional programming languages" is a bit redundant :)

Comment Re:Is it just me ? (Score 3, Informative) 173

I'm not sure what you mean by "recursive style", but the biggest commercial users of functional programming languages tend to be companies behind high-traffic websites that need to handle a lot of concurrent requests. Facebook developed their real-time chat application in Erlang, for instance, and Twitter uses Scala to handle its message queue.

Slashdot Top Deals

[It is] best to confuse only one issue at a time. -- K&R

Working...