POV-Ray : Newsgroups : povray.off-topic : Holy Wars Server Time
28 Nov 2026 02:02:53 EST (-0500)
  Holy Wars (Message 14 to 63 of 63)  
<<< Previous 13 Messages Goto Initial 50 Messages
From: nemesis
Subject: Re: Holy Wars
Date: 4 Oct 2010 15:29:23
Message: <4caa2b13$1@news.povray.org>
Invisible escreveu:
>> Do you think only Windows got windows?
> 
> In general, Unix people seem to have a mindset of "must avoid GUI at any 
> cost".

no, the Unix mindset is that everything should be a text file and all 
programs should be able to process text files and return text output. 
html and Tcl/Tk made that possible for GUIs as well... :)

> I mean, seriously, there are things you could *genuinely* criticise 
> Haskell for. But "it was designed by a committee" is a pretty pathetic 
> one to choose. "Lisp was designed by divine revelation, while Haskell is 
> a sad modern language with a complex and incoherant design that has no 
> soul to it." Er, yeah, *right*. Get over yourself.

actually, Common Lisp (which is the one true Lisp) was designed by a 
large committee of old industry farts.  Scheme was designed by a 
professor and his pupil in the 70s and has ever since received valid 
input from various other professors and pupils, which decide on which 
features to enter the standard by voting.

In general, I tend to dig best languages not designed by committee... 
even benevolent dictator model is better. :)

OTOH, haskell, as scheme, is a language focused more on programming 
language theory research rather than practical, industry-wide goals...

-- 
a game sig: http://tinyurl.com/d3rxz9


Post a reply to this message

From: Phil Cook v2
Subject: Re: Holy Wars
Date: 5 Oct 2010 04:10:54
Message: <op.vj3fopjwmn4jds@phils>
And lo On Mon, 04 Oct 2010 10:03:29 +0100, Invisible <voi### [at] devnull> did  
spake thusly:

> Holy Wars. Computer nerds seem to be having them all the time.
>
> Basically what most of these arguments boil down to is "my favourite  
> tool for X is the best - and you should all agree with me".
>
> Now, think about that for a moment. "My favourite"??
>
> Tell me, how many Holy Wars have you seen fought over whether strawberry  
> icecream is better or worse than chocolate icecream? Uh, none. Nobody  
> *cares* what you think is the best icecream, because everybody realises  
> that IT DOESN'T MATTER. It's just a personal preference that doesn't  
> make any difference to anything.
>
> Then again, icecream isn't a tool. So how about real tools?
>
> Well, I don't know any mechanics *personally*. But I've yet to see a  
> bunch of them get into an irate shouting match about whether an  
> adjustable spanner is better or worse than a well-made fixed spanner.  
> You can see how there would be merits to both, and how some people might  
> prefer one to the other, and they *could* spend months debating it...  
> it's just that they don't. As far as I'm aware, no mechanic actually  
> gives a **** about the difference. Given the option, they just use  
> whatever tool they prefer, and if there isn't an option, why argue about  
> it? It's just a tool.

Yet you see heated debates about whether this braking system is better  
than that braking system; or this engine configuration is better than that  
one. I think anything that can be differentiated in many ways with no  
objective measurement method will be argued about.

Before anyone chimes in that you can measure a braking system you'll get  
someone saying "Ah yes but this one is better when it's wet and you're in  
a heavier car that's traveling at over 50mph"

-- 
Phil Cook

--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 5 Oct 2010 04:15:06
Message: <4caade8a@news.povray.org>
On 04/10/2010 08:29 PM, nemesis wrote:

> In general, I tend to dig best languages not designed by committee...
> even benevolent dictator model is better. :)

In general, I don't give a fig how the language was designed, I just 
care about what the end result is like.

(In a similar way, I don't care who wrote a song, I just care what it 
sounds like.)

> OTOH, haskell, as scheme, is a language focused more on programming
> language theory research rather than practical, industry-wide goals...

Uh... that's slightly amusing, if you think about it.

Haskell was created explicitly because there were already a half-dozen 
identical languages with different syntax, and this was diluting efforts 
to use them. So Haskell was created as one standard language to replace 
all the others. Which is a pretty practical reason, actually...


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 5 Oct 2010 04:21:41
Message: <4caae015@news.povray.org>
>> Tell me, how many Holy Wars have you seen fought over whether
>> strawberry icecream is better or worse than chocolate icecream? Uh, none.
>
> But how many Holy Wars have been fought over which invisible friend is
> more real?

All of them, AFAIK.

It seems that all of the big arguments aren't about anything objective, 
they're about what people believe.

> The people screaming "Language X is best!" are the people who really
> like X and who want to work with it in their next job, but who are
> afraid it won't be available to them because other technical or
> management people will decide against it on reasons of popularity. (How
> often I've heard "We can't use utterly appropriate language X because
> it's too hard to find programmers that know it, so let's use POS Y that
> has taken over the world due to historical and irrelevant reasons.)

Well, I suppose. (Or just the people who like to feel smug for having 
found the best tool first...)

>> As far as I'm aware, no mechanic actually gives a **** about the
>> difference.
>
> Of course they do. They don't fight over it because the tool is simple.
> Imagine whether a professional race car driver could argue over the
> merits of air-cooled turbo injection versus water-cooled turbo
> injection. The car is just a tool for the driver, after all.

While I'm sure many race car drivers have opinions about whether 
air-cooled or water-cooled is best, you never see them *argue* about it. 
They might say "my personal opinion is X", but you never see this "X is 
best, and anybody who says different is WRONG!" stuff.

>> 2. Some programming languages definitely *are* "better" than others,
>> in an objective way.
>>
>> For example, take BASIC. [...] The 1980s was a decade of 8-bit home
>> computers running BASIC. It's a great language for non-experts
>
> You just obviated your own claim here. Do you want to teach first-year
> programming in BASIC on a 8-bit computer, or C++? Objectively, BASIC is
> better for that, and indeed that's exactly BASIC's target audience.

For the fifty-eighth time, I clearly and obviously meant that BASIC is 
useless *as a programming language*. If you want to argue about its 
utility as a teaching aid, that's a different debate. (And, obviously, 
I'd suggest a logic or functional language as a first language, and 
everybody else would tell me I'm wrong.)

>> Determining which programming language is superior requires real
>> insight and intelligence. And if you fail to see why one language is
>> better than another, basically that means that YOU'RE STUPID.
>
> And now you understand all the other Holy Wars too. ;-)

Well, yeah, those are probably a bit more complex though. Nobody says 
"Python is an inferior language because Chinese people use it", for example.

>> Truth is, if you compare almost any pair of complex objects, usually
>> one is so clearly superior to the other that there's nothing to argue
>> about,
>
> Except, you know, Holy stuff.

That would be the other half of that sentence, yes.


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 5 Oct 2010 04:23:28
Message: <4caae080$1@news.povray.org>
>> Well, I don't know any mechanics *personally*. But I've yet to see a
>> bunch of them get into an irate shouting match about whether an
>> adjustable spanner is better or worse than a well-made fixed spanner.
>> You can see how there would be merits to both, and how some people
>> might prefer one to the other, and they *could* spend months debating
>> it... it's just that they don't. As far as I'm aware, no mechanic
>> actually gives a **** about the difference. Given the option, they
>> just use whatever tool they prefer, and if there isn't an option, why
>> argue about it? It's just a tool.
>
> Yet you see heated debates about whether this braking system is better
> than that braking system; or this engine configuration is better than
> that one.

Really? That's news to me.

I'm sure many interested people have an *opinion* about such things, but 
I've never seen anybody actually *argue* about it.

> I think anything that can be differentiated in many ways with
> no objective measurement method will be argued about.

Well, yeah. Anything that somebody actually cares about, at least.


Post a reply to this message

From: nemesis
Subject: Re: Holy Wars
Date: 5 Oct 2010 05:55:00
Message: <web.4caaf5ce557a2482c4a3ad910@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> Haskell was created explicitly because there were already a half-dozen
> identical languages with different syntax, and this was diluting efforts
> to use them. So Haskell was created as one standard language to replace
> all the others. Which is a pretty practical reason, actually...

that's very Common Lispy.  Scheme varies from implementation to implementation,
since the standard is pretty bare...


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 5 Oct 2010 06:01:40
Message: <4caaf784$1@news.povray.org>
>> Haskell was created explicitly because there were already a half-dozen
>> identical languages with different syntax, and this was diluting efforts
>> to use them. So Haskell was created as one standard language to replace
>> all the others. Which is a pretty practical reason, actually...
>
> that's very Common Lispy.  Scheme varies from implementation to implementation,
> since the standard is pretty bare...

On the other hand, Haskell has had type classes since version 1.0, and 
AFAIK no other language of this sort has those. So it was innovative 
right from the beginning. (Also, AFAIK, it was the first FP language to 
utilise monads to solve the I/O problem.)


Post a reply to this message

From: Darren New
Subject: Re: Holy Wars
Date: 5 Oct 2010 11:55:31
Message: <4cab4a73@news.povray.org>
Invisible wrote:
>> has taken over the world due to historical and irrelevant reasons.)

> Well, I suppose. (Or just the people who like to feel smug for having 
> found the best tool first...)

Oh, and another frequent cause is when it's really difficult to learn a tool 
well, like C++ or vi, and someone has gone to that effort, then they either 
assume that every *other* tool will be equally difficult (if they learned 
the difficult one first) or that you'd like it just as much if only you 
understood it.  The latter being a *very* holy kind of approach.

> While I'm sure many race car drivers have opinions about whether 
> air-cooled or water-cooled is best, you never see them *argue* about it. 

Really?  How do you know?

Plus, their *job* is to argue over which is best.

> They might say "my personal opinion is X", but you never see this "X is 
> best, and anybody who says different is WRONG!" stuff.

That's a rather strong claim.

In any case, that was a kind of poor example, because everyone is trying to 
optimize for the same thing in race driving (i.e., winning the race 
according to the rules).

Do you not see arguments over which sports is best? Which brand of car is 
best? Why do you think a bunch of race car drivers wouldn't get together and 
loudly discuss whose car is better?


> useless *as a programming language*. 

Again, I disagree. First, I expect more production code has been written in 
BASIC than Haskell. Second, this would be saying that every other language 
of similar capabilities is useless as a programming language, which is 
clearly false if you look at (say) Excel macros, makefiles, or shell scripts.

> Well, yeah, those are probably a bit more complex though. Nobody says 
> "Python is an inferior language because Chinese people use it", for 
> example.

.NET is inferior because it comes from Redmond? ;-)

>>> Truth is, if you compare almost any pair of complex objects, usually
>>> one is so clearly superior to the other that there's nothing to argue
>>> about,
>>
>> Except, you know, Holy stuff.
> 
> That would be the other half of that sentence, yes.

I would disagree on that.

-- 
Darren New, San Diego CA, USA (PST)
   Serving Suggestion:
     "Don't serve this any more. It's awful."


Post a reply to this message

From: Darren New
Subject: Re: Holy Wars
Date: 5 Oct 2010 11:56:31
Message: <4cab4aaf$1@news.povray.org>
Invisible wrote:
> I'm sure many interested people have an *opinion* about such things, but 
> I've never seen anybody actually *argue* about it.

Do you tend to hang around with professional high-performance drivers?

I suspect the same is true of aircraft, but I don't hang out with pilots, so 
I wouldn't know.

-- 
Darren New, San Diego CA, USA (PST)
   Serving Suggestion:
     "Don't serve this any more. It's awful."


Post a reply to this message

From: Jim Henderson
Subject: Re: Holy Wars
Date: 5 Oct 2010 13:33:28
Message: <4cab6168@news.povray.org>
On Tue, 05 Oct 2010 09:21:39 +0100, Invisible wrote:

> While I'm sure many race car drivers have opinions about whether
> air-cooled or water-cooled is best, you never see them *argue* about it.
> They might say "my personal opinion is X", but you never see this "X is
> best, and anybody who says different is WRONG!" stuff.

In the right circles, you would. Race car drivers probably would say the 
same thing about programming languages - that nobody gets really 
passionate about them, and that certainly geeks won't argue about which 
is the best.

My wife's family has spent several lifetimes doing car maintenance, and 
I'm sure I could spark a debate amongst, say, my brother-in-law and my 
father-in-law. ;-)

Jim


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 6 Oct 2010 03:31:16
Message: <4cac25c4$1@news.povray.org>
> Well, I don't know any mechanics *personally*. But I've yet to see a bunch 
> of them get into an irate shouting match about whether an adjustable 
> spanner is better or worse than a well-made fixed spanner. You can see how 
> there would be merits to both, and how some people might prefer one to the 
> other, and they *could* spend months debating it... it's just that they 
> don't.

Believe me, flame wars and "vigorous" debates are not confined to computing 
related subjects.  I suspect you haven't seen such debates simply because 
you mostly frequent computing-oriented newsgroups and forums?  Look up some 
diesel vs petrol threads on car forums, a lot of people get pretty religious 
about that.


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 6 Oct 2010 03:44:08
Message: <4cac28c8@news.povray.org>
> Sure. And what I'm saying is "80s BASIC sucks so much that it's clearly 
> inferior - and nobody is arguing about this".

Inferior for what purpose?  If you want users (who are not programmers) of 
your equipment (which has a simple CPU and small alphanumeric display) to be 
able to do some simple programming to control it, then something like 80s 
BASIC doesn't seem such a bad choice.


Post a reply to this message

From: Bill Pragnell
Subject: Re: Holy Wars
Date: 6 Oct 2010 04:15:00
Message: <web.4cac2f96557a24826dd25f0b0@news.povray.org>
"scott" <sco### [at] scottcom> wrote:
> > Sure. And what I'm saying is "80s BASIC sucks so much that it's clearly
> > inferior - and nobody is arguing about this".
>
> Inferior for what purpose?  If you want users (who are not programmers) of
> your equipment (which has a simple CPU and small alphanumeric display) to be
> able to do some simple programming to control it, then something like 80s
> BASIC doesn't seem such a bad choice.

Seconded! Depends what version, too. BBC BASIC had none of the limitations
listed in the earlier post. Using BASIC to control the i/o ports on early 8-bit
Acorn machines was so easy and powerful that they're still useful for
datalogging even now. Later, big chunks of Acorn's RISC OS were written in
BASIC.

However, I can well imagine that the versions of BASIC most people are
acquainted with are extremely limited. :)


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 04:20:04
Message: <4cac3134$1@news.povray.org>
>> Well, I suppose. (Or just the people who like to feel smug for having
>> found the best tool first...)
>
> Oh, and another frequent cause is when it's really difficult to learn a
> tool well, like C++ or vi, and someone has gone to that effort, then
> they either assume that every *other* tool will be equally difficult (if
> they learned the difficult one first) or that you'd like it just as much
> if only you understood it. The latter being a *very* holy kind of approach.

Then there are the people who, having spent ages going to the trouble of 
learning something, have a vested interest in claiming that it's the 
best. Because, you know, otherwise you'd be admitting that you wasted a 
whole crapload of effort learning an inferior tool.

>> While I'm sure many race car drivers have opinions about whether
>> air-cooled or water-cooled is best, you never see them *argue* about it.
>
> Really? How do you know?
>
> Plus, their *job* is to argue over which is best.
>
>> They might say "my personal opinion is X", but you never see this "X
>> is best, and anybody who says different is WRONG!" stuff.
>
> That's a rather strong claim.

 From what I've seen, generally racing drivers let the scoreboard speak 
for itself. They tend to argue about team politics far more than 
anything technological.

> In any case, that was a kind of poor example, because everyone is trying
> to optimize for the same thing in race driving (i.e., winning the race
> according to the rules).

Yeah, I suppose.

There aren't too many professions like programming where such a wide 
array of problems are attacked and there's no really objective way to 
decide which is the best tool for a given job. I mean, structural 
engineers tackle all kinds of weird structures, but there are rigorous 
mathematical models that tell you (for example) which kind of joint is 
the best choice for a particular set of loading conditions.

>> useless *as a programming language*.
>
> Again, I disagree.

Well, yeah, that's because *I* said it. :-P

> First, I expect more production code has been written
> in BASIC than Haskell.

By which measurement? Number of applications? Number of lines of code? 
What counts as "production"? Which dialects of BASIC count? (For 
example, where I work, we have a 4,000 line QBasic monstrosity which we 
use for scientific work, for reasons beyond my comprehension. Does 
QBasic count? Or is that too modern?)

I'm doubtful that BASIC has more production code than Haskell in terms 
of number of lines of code. OTOH, since I have no scientific data on 
which to decide either way, it's kind of an empty point.

> Second, this would be saying that every other
> language of similar capabilities is useless as a programming language,
> which is clearly false if you look at (say) Excel macros, makefiles, or
> shell scripts.

Excel macros, makefiles and shell scripts are all strictly more powerful 
than BASIC in at least one objective way: they all support recursion. 
BASIC does not.

>> Well, yeah, those are probably a bit more complex though. Nobody says
>> "Python is an inferior language because Chinese people use it", for
>> example.
>
> .NET is inferior because it comes from Redmond? ;-)

Hehe, yeah, I've certainly seen that argument used. ;-)

>>>> Truth is, if you compare almost any pair of complex objects, usually
>>>> one is so clearly superior to the other that there's nothing to argue
>>>> about,
>>>
>>> Except, you know, Holy stuff.
>>
>> That would be the other half of that sentence, yes.
>
> I would disagree on that.

I said "when you compare two things, usually one is obviously superior 
to the other, *or* both have their uses". Which seems pretty 
uncontroversial to me.


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 04:22:23
Message: <4cac31bf$1@news.povray.org>
On 06/10/2010 08:44 AM, scott wrote:
>> Sure. And what I'm saying is "80s BASIC sucks so much that it's
>> clearly inferior - and nobody is arguing about this".
>
> Inferior for what purpose? If you want users (who are not programmers)
> of your equipment (which has a simple CPU and small alphanumeric
> display) to be able to do some simple programming to control it, then
> something like 80s BASIC doesn't seem such a bad choice.

What you're saying is "if you don't need a powerful language, using a 
language that isn't powerful may be acceptable".

What I'm saying is "BASIC isn't powerful, and nobody would seriously 
suggest that it is".


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 6 Oct 2010 05:47:41
Message: <4cac45bd@news.povray.org>
> What you're saying is "if you don't need a powerful language, using a 
> language that isn't powerful may be acceptable".
>
> What I'm saying is "BASIC isn't powerful, and nobody would seriously 
> suggest that it is".

That's a little different to saying it sucks.  Or maybe you were just trying 
to demonstrate how "holy wars" start? ;-)


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 06:20:28
Message: <4cac4d6c@news.povray.org>
On 06/10/2010 10:47 AM, scott wrote:
>> What you're saying is "if you don't need a powerful language, using a
>> language that isn't powerful may be acceptable".
>>
>> What I'm saying is "BASIC isn't powerful, and nobody would seriously
>> suggest that it is".
>
> That's a little different to saying it sucks.

As a tool for constructing complex software applications, it sucks. My 
mistake, apparently, as in assuming that the context is obvious.

> Or maybe you were just
> trying to demonstrate how "holy wars" start? ;-)

I can't believe that I made the most uncontroversial statement possible 
- "BASIC is a weak programming language" - and people are actually 
disagreeing with me! o_O


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 6 Oct 2010 06:38:48
Message: <4cac51b8@news.povray.org>
>> That's a little different to saying it sucks.
> 
> As a tool for constructing complex software applications, it sucks.

Haskell sucks!


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 07:09:53
Message: <4cac5901$1@news.povray.org>
On 06/10/2010 11:38 AM, scott wrote:
>>> That's a little different to saying it sucks.
>>
>> As a tool for constructing complex software applications, it sucks.
>
> Haskell sucks!

Right. And what objective information are you basing that on?


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 6 Oct 2010 08:48:13
Message: <4cac700d$1@news.povray.org>
>>> As a tool for constructing complex software applications, it sucks.
>>
>> Haskell sucks!
>
> Right. And what objective information are you basing that on?

It's slow and apparently very difficult to write anything with complex sound 
or graphics on Windows.


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 09:02:07
Message: <4cac734f@news.povray.org>
>>> Haskell sucks!
>>
>> Right. And what objective information are you basing that on?
>
> It's slow

This is easy to disprove.

A better statement might be "it's easy to accidentally make your code 
very inefficient".

> and apparently very difficult to write anything with complex
> sound or graphics on Windows.

I'll give you that one.

(You don't need "complex" in there either. Just writing pixels onto the 
screen is tricky under Windows, and I've *never* seen sound work at all.)

Things are improving in this direction, but there remains a long way to go.


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 6 Oct 2010 09:10:45
Message: <4cac7555$1@news.povray.org>
>> It's slow
>
> This is easy to disprove.

Like this?

http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=gcc&lang2=ghc

> A better statement might be "it's easy to accidentally make your code very 
> inefficient".

OK.

> (You don't need "complex" in there either. Just writing pixels onto the 
> screen is tricky under Windows, and I've *never* seen sound work at all.)

ie it sucks! :-D


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 10:22:32
Message: <4cac8628$1@news.povray.org>
On 06/10/2010 02:10 PM, scott wrote:
>>> It's slow
>>
>> This is easy to disprove.
>
> Like this?
>
> http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=gcc&lang2=ghc

How about this?

http://shootout.alioth.debian.org/u64/which-programming-languages-are-fastest.php
http://shootout.alioth.debian.org/u64q/which-programming-languages-are-fastest.php

Notice that out of the 20+ languages in each benchmark, Haskell is in #5 
place. So out of 20+ languages, only 4 of them managed to be faster. 
That's not exactly my idea of "slow". Haskell is showing up as faster 
than F#, C#, Erlang, Lisp, OCaml, Clean, most of the Java stuff, Fortran 
(!!), Pascal, Python, Ruby, and the rest of the shooting match.

Of course, if somebody had the time and patience to write an entry in 
assembly, it would beat everything on the chart, but there we are...

>> (You don't need "complex" in there either. Just writing pixels onto
>> the screen is tricky under Windows, and I've *never* seen sound work
>> at all.)
>
> ie it sucks! :-D

There's a bit of a difference between "this language has a fundamentally 
flawed design" and "this language was implemented by a bunch of Unix 
enthusiasts and is therefore poorly supported on Windows".


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 6 Oct 2010 10:42:59
Message: <4cac8af3@news.povray.org>
> How about this?
>
> http://shootout.alioth.debian.org/u64/which-programming-languages-are-fastest.php
> http://shootout.alioth.debian.org/u64q/which-programming-languages-are-fastest.php

Almost twice as slow as C/C++, that means if you're developing a program 
that does anything in realtime, you can do twice as much in C++ than 
Haskell.  That sucks.  All the other slower languages suck even more badly 
for realtime stuff.

> There's a bit of a difference between "this language has a fundamentally 
> flawed design" and "this language was implemented by a bunch of Unix 
> enthusiasts and is therefore poorly supported on Windows".

Just different reasons for sucking.  BTW, can you easily do 
sound/image/video stuff with Haskell on Unix then?


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 10:57:59
Message: <4cac8e77@news.povray.org>
On 06/10/2010 03:42 PM, scott wrote:

> Almost twice as slow as C/C++, that means if you're developing a program
> that does anything in realtime, you can do twice as much in C++ than
> Haskell. That sucks. All the other slower languages suck even more badly
> for realtime stuff.

Right. And when somebody writes the benchmarks in assembly and it's 
another 80% faster, that will mean that C sucks, right?

Never mind "minor details" such as reliability, maintainability, 
security, development effort, portability...

> BTW, can you easily do
> sound/image/video stuff with Haskell on Unix then?

Presumably. I can't say I've tried it. There is an entire mailing list 
devoted to that topic though. I gather people have written algorithmic 
music composers, sound synthesizers, and all sorts of other crazy stuff 
in Haskell.

FWIW, it's not *impossible* to do graphics on Windows. I've done it. 
It's just more fiddly than it should be. (E.g., you have to install GTK 
first, and then compile Gtk2hs from source, and when you finally get it 
to work, all your applications look like Linux apps rather than native 
Windows apps...)


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 6 Oct 2010 11:06:03
Message: <4cac905b$1@news.povray.org>
> Right. And when somebody writes the benchmarks in assembly and it's 
> another 80% faster, that will mean that C sucks, right?

Now you're getting the hang of it :-)  You see that pretty much every 
language can be called "perfectly suited" or "totally sucks" depending on 
what you want to actually do with it.  If you want to compare languages then 
*first* you need to explicity state what it is you want to do.  You can't 
just say "everyone agrees language X sucks", because they don't.

> FWIW, it's not *impossible* to do graphics on Windows. I've done it. It's 
> just more fiddly than it should be. (E.g., you have to install GTK first, 
> and then compile Gtk2hs from source, and when you finally get it to work, 
> all your applications look like Linux apps rather than native Windows 
> apps...)

Sounds like a good definition of "sucky" to me (if you're trying to write an 
app with a Windows GUI) :-D


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 11:18:39
Message: <4cac934f$1@news.povray.org>
> Now you're getting the hang of it :-) You see that pretty much every
> language can be called "perfectly suited" or "totally sucks" depending
> on what you want to actually do with it. If you want to compare
> languages then *first* you need to explicity state what it is you want
> to do. You can't just say "everyone agrees language X sucks", because
> they don't.

It defies belief that anybody could disagree that BASIC is a horrifying 
abomination that should never be used for anything but the most trivial 
programming tasks. I mean, hell, that's even the original *design goal*: 
it's designed for beginners to do simple stuff with.

Still, this is the Internet. Any statement, no matter how irrefutable, 
will none the less be refuted by somebody. (Moon landings, anyone?)

>> FWIW, it's not *impossible* to do graphics on Windows. I've done it.
>> It's just more fiddly than it should be. (E.g., you have to install
>> GTK first, and then compile Gtk2hs from source, and when you finally
>> get it to work, all your applications look like Linux apps rather than
>> native Windows apps...)
>
> Sounds like a good definition of "sucky" to me (if you're trying to
> write an app with a Windows GUI) :-D

Well, I wrote a couple of small GUI tools that are in production use 
here where I work. None of the lab guys actually give a damn that the 
GUI looks slightly different.

Of course, that doesn't mean it isn't sucky...

(I should point out that the situation is slowly improving. It's just 
that there's still a long way left to go.)


Post a reply to this message

From: Darren New
Subject: Re: Holy Wars
Date: 6 Oct 2010 11:18:41
Message: <4cac9351@news.povray.org>
Invisible wrote:
>> First, I expect more production code has been written
>> in BASIC than Haskell.
> 
> By which measurement? Number of applications? Number of lines of code? 

Either of those.

> What counts as "production"? 

Put up for sale and purchased? Business-critical computations run with it?

> Which dialects of BASIC count? (For 
> example, where I work, we have a 4,000 line QBasic monstrosity which we 
> use for scientific work, for reasons beyond my comprehension. Does 
> QBasic count? Or is that too modern?)

See? That's exactly what I mean. How many businesses ran 8-bit software on 
apples or radio shack or whatever?  How many mainframe programs were written 
in Haskell?

If you're going to start counting the variants of BASIC that don't suck by 
your metric (e.g., VB.NET, VB6, etc) then I can guarantee there's orders of 
magnitude more production code in BASIC than Haskell. I can guarantee 
there's more demo code in BASIC than Haskell.

> I'm doubtful that BASIC has more production code than Haskell in terms 
> of number of lines of code. OTOH, since I have no scientific data on 
> which to decide either way, it's kind of an empty point.

You're too young, grasshopper. Back when BASIC was the language of choice 
for personal computers, there was a crapload of production code in BASIC.

> Excel macros, makefiles and shell scripts are all strictly more powerful 
> than BASIC in at least one objective way: they all support recursion. 
> BASIC does not.

Makefiles don't support recursion except by invoking themselves externally. 
It's only relatively recently that shell script have supported recursion in 
the language itself.

Plus, when you're trying to solve a problem like building software, 
recursion is a point *against* your solution.

>>>>> Truth is, if you compare almost any pair of complex objects, usually
>>>>> one is so clearly superior to the other that there's nothing to argue
>>>>> about,
>>>>
>>>> Except, you know, Holy stuff.
>>>
>>> That would be the other half of that sentence, yes.
>>
>> I would disagree on that.
> 
> I said "when you compare two things, usually one is obviously superior 
> to the other, *or* both have their uses". Which seems pretty 
> uncontroversial to me.

I don't think you'll find too many people that agree that both Catholicism 
*and* Islam "both have their uses".  If you believe in either one, the other 
is an evil plot from Satan to damn you to hell. If you don't believe in 
either one, neither has a use. (Exaggerating, of course.)

-- 
Darren New, San Diego CA, USA (PST)
   Serving Suggestion:
     "Don't serve this any more. It's awful."


Post a reply to this message

From: Jim Henderson
Subject: Re: Holy Wars
Date: 6 Oct 2010 11:27:01
Message: <4cac9545@news.povray.org>
On Wed, 06 Oct 2010 09:20:03 +0100, Invisible wrote:

> Excel macros, makefiles and shell scripts are all strictly more powerful
> than BASIC in at least one objective way: they all support recursion.
> BASIC does not.

10 GOSUB 50
20 END
50 PRINT "RECURSION"
60 GOSUB 50
70 RETURN

Uh, wha?  No recursion?

Jim


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 11:27:20
Message: <4cac9558$1@news.povray.org>
> See? That's exactly what I mean. How many businesses ran 8-bit software
> on apples or radio shack or whatever? How many mainframe programs were
> written in Haskell?

Well, since mainframes were more or less extinct by the time Haskell was 
invented, I'm going to say "not many".

Come to think about it, if you're going to judge "the best language" as 
being "the most widely used language", wouldn't that mean that Z80 
assembly wins by several thousand miles?

> If you're going to start counting the variants of BASIC that don't suck
> by your metric (e.g., VB.NET, VB6, etc) then I can guarantee there's
> orders of magnitude more production code in BASIC than Haskell. I can
> guarantee there's more demo code in BASIC than Haskell.

VB isn't BASIC. It's an entirely unrelated language that just happens to 
have a similar name and bares a vague resemblance to the syntax. Much 
like Java and JavaScript (oh, excuse me, ECMAScript) have nothing to do 
with each other.

Personally I greatly dislike VB, but there's little debate that it's 
more powerful than the original BASIC.

>> Excel macros, makefiles and shell scripts are all strictly more
>> powerful than BASIC in at least one objective way: they all support
>> recursion. BASIC does not.
>
> Makefiles don't support recursion except by invoking themselves
> externally.

What, a make target can't invoke itself? I thought it could.

> It's only relatively recently that shell script have
> supported recursion in the language itself.

Well... if you say so. I'm only commenting on the state of these 
languages today (because that's all I know about).

> Plus, when you're trying to solve a problem like building software,
> recursion is a point *against* your solution.

I disagree.


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 6 Oct 2010 11:33:53
Message: <4cac96e1$1@news.povray.org>
> Uh, wha?  No recursion?

Cute. Now try doing that while actually processing some data. Oh, wait, 
you can't - no local variables. :-P

Of course, BASIC is Turing-complete. You can implement variable scoping 
manually yourself. But that's not the same as the language having real 
support for recursion...


Post a reply to this message

From: Darren New
Subject: Re: Holy Wars
Date: 6 Oct 2010 12:33:47
Message: <4caca4eb$1@news.povray.org>
Invisible wrote:
> It defies belief that anybody could disagree 

Certainly the primitive versions of the language were pretty primitive. But 
then, people were doing primitive things. How much of a namespace do you 
need when your computer only has 4K of RAM?

-- 
Darren New, San Diego CA, USA (PST)
   Serving Suggestion:
     "Don't serve this any more. It's awful."


Post a reply to this message

From: Darren New
Subject: Re: Holy Wars
Date: 6 Oct 2010 12:38:32
Message: <4caca608$1@news.povray.org>
Invisible wrote:
> Come to think about it, if you're going to judge "the best language" as 
> being "the most widely used language", 

I wasn't conflating those two. You're changing "useful" to "best". You said 
BASIC was useless. I pointed out it was more used then Haskell. Now you're 
saying "that doesn't make it the best", which wasn't my contention. Merely 
that you don't have to be the best to be useful.

>>> Excel macros, makefiles and shell scripts are all strictly more
>>> powerful than BASIC in at least one objective way: they all support
>>> recursion. BASIC does not.
>>
>> Makefiles don't support recursion except by invoking themselves
>> externally.
> 
> What, a make target can't invoke itself? I thought it could.

What do you mean by "invoke" here?

>> It's only relatively recently that shell script have
>> supported recursion in the language itself.
> 
> Well... if you say so. I'm only commenting on the state of these 
> languages today (because that's all I know about).

Yes. And I'm suggesting that before you argue about "dead" languages like 
pre-VB BASIC, you learn some of the history. :-)

>> Plus, when you're trying to solve a problem like building software,
>> recursion is a point *against* your solution.
> 
> I disagree.

Why? What is the good use for recursion there? If your goal is to invoke 
various compilers etc, where does recursion fundamentally aid in the process?

-- 
Darren New, San Diego CA, USA (PST)
   Serving Suggestion:
     "Don't serve this any more. It's awful."


Post a reply to this message

From: Darren New
Subject: Re: Holy Wars
Date: 6 Oct 2010 12:40:02
Message: <4caca662$1@news.povray.org>
Invisible wrote:
> support for recursion...

The only support for recursion that you *need* is to save the PC.

You realize that many of the languages designed while BASIC was being 
designed didn't have recursion either, because the assembly languages they 
ran on didn't have recursion?

-- 
Darren New, San Diego CA, USA (PST)
   Serving Suggestion:
     "Don't serve this any more. It's awful."


Post a reply to this message

From: Jim Henderson
Subject: Re: Holy Wars
Date: 6 Oct 2010 15:17:30
Message: <4caccb4a$1@news.povray.org>
On Wed, 06 Oct 2010 16:33:52 +0100, Invisible wrote:

>> Uh, wha?  No recursion?
> 
> Cute. Now try doing that while actually processing some data. Oh, wait,
> you can't - no local variables. :-P

You can, local variables aren't required, you just have to code around 
that limitation.

You can certainly cause stack overflows (since that's how RETURN gets 
back to the entry point).

> Of course, BASIC is Turing-complete. You can implement variable scoping
> manually yourself. But that's not the same as the language having real
> support for recursion...

You said "no recursion".  I showed there was some.  Give up now. ;-)

Jim


Post a reply to this message

From: Jim Henderson
Subject: Re: Holy Wars
Date: 6 Oct 2010 15:20:07
Message: <4caccbe7$1@news.povray.org>
On Wed, 06 Oct 2010 15:17:30 -0400, Jim Henderson wrote:

> On Wed, 06 Oct 2010 16:33:52 +0100, Invisible wrote:
> 
>>> Uh, wha?  No recursion?
>> 
>> Cute. Now try doing that while actually processing some data. Oh, wait,
>> you can't - no local variables. :-P
> 
> You can, local variables aren't required, you just have to code around
> that limitation.
> 
> You can certainly cause stack overflows (since that's how RETURN gets
> back to the entry point).
> 
>> Of course, BASIC is Turing-complete. You can implement variable scoping
>> manually yourself. But that's not the same as the language having real
>> support for recursion...
> 
> You said "no recursion".  I showed there was some.  Give up now. ;-)

http://www.atarimagazines.com/compute/issue26/130_1_RECURSIVE_BASIC_SUBROUTINES.php

Just in case you needed further evidence of recursive capabilities.

Jim


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 7 Oct 2010 03:48:46
Message: <4cad7b5e$1@news.povray.org>
>> It defies belief that anybody could disagree
>
> Certainly the primitive versions of the language were pretty primitive. 
> But then, people were doing primitive things. How much of a namespace do 
> you need when your computer only has 4K of RAM?

Also, even after machines got faster and bigger, there were still benefits 
of a small primitive language.  I remember when Acorn released the first CPU 
with on-board cache, suddenly the entire BASIC interpreter could fit in the 
cache - which meant BASIC became a very fast (for an interpreted language). 
I assume more complex interpreted languages couldn't manage this.


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 7 Oct 2010 03:52:41
Message: <4cad7c49$1@news.povray.org>
On 06/10/2010 05:33 PM, Darren New wrote:

> But then, people were doing primitive things. How much of a namespace do
> you need when your computer only has 4K of RAM?

I just received an email. It's completely empty; all the content was in 
the subject line. And Outlook reports that it's 4KB in size. Makes you 
wonder what on Earth you can actually do with a 4KB machine...


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 7 Oct 2010 04:21:21
Message: <4cad8301$1@news.povray.org>
> Cute. Now try doing that while actually processing some data. Oh, wait, 
> you can't - no local variables. :-P

Dunno about other versions of BASIC, but in BBC BASIC I'm pretty sure you 
had the "LOCAL" keyword to do just that.


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 7 Oct 2010 04:23:46
Message: <4cad8392$1@news.povray.org>
On 07/10/2010 09:21 AM, scott wrote:
>> Cute. Now try doing that while actually processing some data. Oh,
>> wait, you can't - no local variables. :-P
>
> Dunno about other versions of BASIC, but in BBC BASIC I'm pretty sure
> you had the "LOCAL" keyword to do just that.

If that's actually true, that would make it usefully more sophisticated 
than, say, Spectrum or C64 BASIC.


Post a reply to this message

From: scott
Subject: Re: Holy Wars
Date: 7 Oct 2010 05:03:55
Message: <4cad8cfb@news.povray.org>
>> Dunno about other versions of BASIC, but in BBC BASIC I'm pretty sure
>> you had the "LOCAL" keyword to do just that.
>
> If that's actually true, that would make it usefully more sophisticated 
> than, say, Spectrum or C64 BASIC.

A little googling shows this to actually be true.  The following link is 
part of the BBC Micro user guide (back in the days when you actually got a 
useful book with computers) - scroll down to "LOCAL":

http://central.kaserver5.org/Kasoft/Typeset/BBC/KeyL.html


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 7 Oct 2010 05:16:21
Message: <4cad8fe5$1@news.povray.org>
>> If that's actually true, that would make it usefully more
>> sophisticated than, say, Spectrum or C64 BASIC.
>
> A little googling shows this to actually be true. The following link is
> part of the BBC Micro user guide (back in the days when you actually got
> a useful book with computers)

Ah yes, I remember those days.

I don't know if you can find it with Google, but the Sam Coupe had an 
especially nice user guide, with little epigraphs and cartoon graphics 
and all sorts. Then again, the Sam Coupe was a rather nice (yet 
surprisingly unknown) machine...

> - scroll down to "LOCAL":

A cursory skim of the manual quickly reveals that *this* dialect of 
BASIC allows you to define procedures and functions (as well as the 
local variables you cite). This makes it much more sophisticated than 
most of the BASIC dialects of the time. It qualifies as a structured 
language, while most BASIC dialects were unstructured. This entails a 
significant increase in power.


Post a reply to this message

From: Jim Henderson
Subject: Re: Holy Wars
Date: 7 Oct 2010 10:25:26
Message: <4cadd856@news.povray.org>
On Thu, 07 Oct 2010 08:52:40 +0100, Invisible wrote:

>  Makes you
> wonder what on Earth you can actually do with a 4KB machine...

Not for those who actually have used 4 KB machines. ;-)

"Oregon Trail" anyone?

Jim


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 7 Oct 2010 10:29:05
Message: <4cadd931$1@news.povray.org>
>> Makes you
>> wonder what on Earth you can actually do with a 4KB machine...
>
> Not for those who actually have used 4 KB machines. ;-)

Alternatively, "makes you wonder what the **** is using up 4,096 bytes 
for an *empty* email?!"


Post a reply to this message

From: Le Forgeron
Subject: Re: Holy Wars
Date: 7 Oct 2010 10:37:20
Message: <4caddb20@news.povray.org>
Le 07/10/2010 16:25, Jim Henderson a écrit :
> On Thu, 07 Oct 2010 08:52:40 +0100, Invisible wrote:
> 
>>  Makes you
>> wonder what on Earth you can actually do with a 4KB machine...
> 
> Not for those who actually have used 4 KB machines. ;-)
> 
> "Oregon Trail" anyone?
> 
> Jim
4KB of ram is a luxury computer.
Really. Sinclair ZX81 anyone ?
A keyboard that is always clean: at worst, a wet sponge over it and it's
clean again.

3D Maze... beware of the T-Rex!

-- 
A good Manager will take you
through the forest, no mater what.
A Leader will take time to climb on a
Tree and say 'This is the wrong forest'.


Post a reply to this message

From: Jim Henderson
Subject: Re: Holy Wars
Date: 7 Oct 2010 12:16:27
Message: <4cadf25b$1@news.povray.org>
On Thu, 07 Oct 2010 15:29:03 +0100, Invisible wrote:

>>> Makes you
>>> wonder what on Earth you can actually do with a 4KB machine...
>>
>> Not for those who actually have used 4 KB machines. ;-)
> 
> Alternatively, "makes you wonder what the **** is using up 4,096 bytes
> for an *empty* email?!"

Easy:  Headers.

Jim


Post a reply to this message

From: Jim Henderson
Subject: Re: Holy Wars
Date: 7 Oct 2010 12:17:07
Message: <4cadf283$1@news.povray.org>
On Thu, 07 Oct 2010 16:37:19 +0200, Le_Forgeron wrote:

> Le 07/10/2010 16:25, Jim Henderson a écrit :
>> On Thu, 07 Oct 2010 08:52:40 +0100, Invisible wrote:
>> 
>>>  Makes you
>>> wonder what on Earth you can actually do with a 4KB machine...
>> 
>> Not for those who actually have used 4 KB machines. ;-)
>> 
>> "Oregon Trail" anyone?
>> 
>> Jim
> 4KB of ram is a luxury computer.
> Really. Sinclair ZX81 anyone ?
> A keyboard that is always clean: at worst, a wet sponge over it and it's
> clean again.
> 
> 3D Maze... beware of the T-Rex!

Ain't that the truth!  My first computer (we owned at home, that is) was 
a Sinclair ZX81, but we had the 16 KB expansion pack for it.

Jim


Post a reply to this message

From: Darren New
Subject: Re: Holy Wars
Date: 7 Oct 2010 12:47:19
Message: <4cadf997$1@news.povray.org>
Jim Henderson wrote:
> On Thu, 07 Oct 2010 15:29:03 +0100, Invisible wrote:
> 
>>>> Makes you
>>>> wonder what on Earth you can actually do with a 4KB machine...
>>> Not for those who actually have used 4 KB machines. ;-)
>> Alternatively, "makes you wonder what the **** is using up 4,096 bytes
>> for an *empty* email?!"
> 
> Easy:  Headers.

Index entries, too. And maybe it's counting clusters allocated.

-- 
Darren New, San Diego CA, USA (PST)
   Serving Suggestion:
     "Don't serve this any more. It's awful."


Post a reply to this message

From: Jim Henderson
Subject: Re: Holy Wars
Date: 7 Oct 2010 13:40:31
Message: <4cae060f$1@news.povray.org>
On Thu, 07 Oct 2010 09:47:19 -0700, Darren New wrote:

> Jim Henderson wrote:
>> On Thu, 07 Oct 2010 15:29:03 +0100, Invisible wrote:
>> 
>>>>> Makes you
>>>>> wonder what on Earth you can actually do with a 4KB machine...
>>>> Not for those who actually have used 4 KB machines. ;-)
>>> Alternatively, "makes you wonder what the **** is using up 4,096 bytes
>>> for an *empty* email?!"
>> 
>> Easy:  Headers.
> 
> Index entries, too. And maybe it's counting clusters allocated.

True


Post a reply to this message

From: Invisible
Subject: Re: Holy Wars
Date: 8 Oct 2010 04:18:22
Message: <4caed3ce@news.povray.org>
On 07/10/2010 05:47 PM, Darren New wrote:

> And maybe it's counting clusters allocated.

I don't think so. It only tells you the email size to the nearest whole 
number, but I've seen emails listed as 1KB. (Then again, I don't know 
what the cluster size is...)


Post a reply to this message

<<< Previous 13 Messages Goto Initial 50 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.