Programming @4-ch Archives

Board look: Blue Moon Buun Futaba Headline Mercury Pseud0ch Toothpaste

Comments (45)

1 Name: #!/usr/bin/anon 2006-01-16 21:04 ID:MRVbbw2K

Sometimes when writing programs I forget to put in any comments at all. Then later I come back to the code and I'm like, "What the F is this shit?" Anyone else have this problem?

36 Name: #!/usr/bin/anon 2006-02-12 10:46 ID:haVlcBYk

>Kids these days, they need to trick themselves into discipline.

Can't argue with that. I do need to trick myself, and writing the outline of my method first is the least boring way I found. I dislike writing comments just as I finish to code, and too often I find myself writing them at the end of the day, or every other day, in bulk. It may be a failure of my character, but hey, at least I try to compensate for it this way.

>I believe writing comments using as I understand PPP would prevent you from changing your mind and improving the implementation while you write it.

I'm just lousy at explaining, then. Comments are never good if they are at the level of implementation, and PPP comments are no exception : they should document the intent behind a portion of code.

As for improving the design as you go, I like to do most of my thinking beforehand, so it rarely happens to me. When it does happen, well, I update the comments as I go. I don't think anyone would go "ah, but I can't change this otherwise my comments won't be appropriate anymore !" when it's so quick to change a line of comment. And since you only write the outline of your code, most improvements won't affect your comments since they will be too low-level.

Post too long. Click to view the whole post or the thread page.

37 Name: #!/usr/bin/anonymous : 2006-05-25 14:49 ID:Q6PuQxEv

Descriptive naming helps. In algorithms I put a summary of each step in a comment, like

# 1. Read user input

# 2. Perform bounds checking

38 Name: #!/usr/bin/anonymous : 2006-05-25 16:39 ID:VKOT/gMv

is this "literate programming" thing just another name for PPP?

39 Name: #!/usr/bin/anonymous : 2006-05-26 09:12 ID:Heaven

>>37
That first comment is only helpful if you're using a language where reading input is more than one or two lines (which it might well be if you're writing C, etc).

The second comment would be more useful if you explained what bounds you're actually supposed to be checking. Let the comment say what the code is supposed to do -- if it then turns out to be doing something rather different in some edge case, you have an easy reference for the correct behaviour and can fix the code to match the comment. Without documentation of what the bounds actually are, next time you look at that bit of code the only thing you have to go on is what the code says -- and if the reason you're looking at the code is that it's doing something wrong, you're pretty much shit outta luck if you can't remember the actual bounds you were trying to check.

40 Name: #!/usr/bin/anonymous : 2006-05-27 02:56 ID:24bl/jKL

>>39
Nowadays with GUI's and increased functionality, data from user input usually has to be decoded, pulled apart and run through a filter. The most common example is reading an HTTP request.
Too much blabber makes the actual code harder to organize and scan through quickly. If you really need to be held by the hand then maybe you shouldn't be debugging someone else's code (this is where descriptive variable naming, etc helps).

41 Name: #!/usr/bin/anonymous : 2006-05-27 04:24 ID:Heaven

No, writing your own HTTP code is what makes it harder to organise and scan through quickly. Unless your project is a HTTP library or a web server, there's no reason to parse HTTP by hand. Especially in a GUI application.

42 Name: #!/usr/bin/anonymous : 2006-05-27 14:08 ID:fuW+ylrf

No, a request with parameters has to be parsed. Plus the data may be encoded or may correlate to information stored on a database

43 Name: #!/usr/bin/anonymous : 2006-06-17 13:54 ID:6Y6HY38F

>>34
Your "write javadoc-equivalent first" technique fails at making sure the comments are maintained.

44 Name: #!/usr/bin/anonymous : 2006-06-18 00:22 ID:Heaven

>>43
It naively assumes the comments themselves won't have bugs. (Hay if it doesn't show up in a debugger it's not a bug, right.)

45 Name: #!/usr/bin/anonymous : 2006-06-18 20:14 ID:puQ0Ofsk

It's an issue of philosophy. If you view code as something to be written, then let sit, your code will be buggy and your comments will suck. But if you come back and read your code -- and, in so doing, make improvements as you deem necessary -- then you tend to get quality, maintainable code with meaningful comments.

Just look at various open source projects for evidence of this. Most self-proclaimed "Linux developers" take the former approach, and their code is crap, whereas BSD-based operating systems tend to take the latter view (OpenBSD developers being the most vocal about it), and if you read their code, it really is a world of difference. And those OSes are usually much more stable.

This thread has been closed, and is part of the archives.

Flash tutorial sites...? (9)

1 Name: #!/usr/bin/anonymous : 2006-06-05 03:58 ID:y2n5O3mV

i picked up a copy of flash a couple of months back and i've gotten the hang of the basics of the program. but i was wondering if there were any websites that had instructions/tutorials/tips for improving my animation. any suggestions?

2 Name: #!/usr/bin/anonymous : 2006-06-05 18:41 ID:K3JdJjPF

That's not really code. Try /tech/.

3 Name: #!/usr/bin/anonymous : 2006-06-07 17:16 ID:TdgLHE2A

>>2
What about ActionScript?

4 Name: #!/usr/bin/anonymous : 2006-06-07 20:58 ID:K3JdJjPF

What about it? >>1 didn't ask about ActionScript.

Geez. This board is full of idiots ready to pounce on people. "He doesn't know about ActionScript!" Of course I know about ActionScript, but that wasn't in the question, dolt.

5 Name: #!/usr/bin/anonymous : 2006-06-07 21:39 ID:Heaven

>>4

Idiots like you?

6 Name: #!/usr/bin/anonymous : 2006-06-08 01:32 ID:K3JdJjPF

Yes, exactly like me. Really, it just pissed me off because when posting >>2 I thought, "Won't someone say 'what about ActionScript'? ...nah, nobody who will post here is that stupid," but I was completely wrong, as usual. Someone just decided to be a wise-ass without saying anything relevant.

Anyway, thread hijacked. This thread is now about ActionScript. I've never used it myself, but I hear it's vaguely C-like. Is it any good?

7 Name: #!/usr/bin/anonymous : 2006-06-08 11:42 ID:Heaven

Isn't it just Javascript? I don't know anything about it either though.

8 Name: #!/usr/bin/anonymous : 2006-06-09 10:05 ID:Heaven

derailGET

9 Name: #!/usr/bin/anonymous : 2006-06-11 05:41 ID:Heaven

You would think Actionscript would be implied since this is /prog/ and all.

This thread has been closed, and is part of the archives.

When I grow up, I'll be a Perl Programmer! (78)

1 Name: Alexander!DxY0NCwFJg : 2006-04-06 22:57 ID:oXoZbraC

Schoolwork is keeping me from doing anything with this particular project, but some years ago I decided that I'm going to learn how to program.

I've decided to learn Perl first. Please tell me why this is a horrible idea! The more interesting reasoning, the better!

69 Name: dmpk2k!hinhT6kz2E : 2006-05-22 14:28 ID:Heaven

http://www.atdot.net/yarv/

Ruby 2.0 probably isn't coming any time soon.

70 Name: #!/usr/bin/anonymous : 2006-05-22 14:49 ID:Heaven

>>69

> You need Ruby command to build YARV :)

sounds like it'll probably take a few years just to build it...

71 Name: dmpk2k!hinhT6kz2E : 2006-05-23 04:59 ID:Heaven

Most of YARV is in C. The only bit Ruby seems involved in is generating the Makefile.

72 Name: #!/usr/bin/anonymous : 2006-05-29 17:27 ID:F8+8WHt0

I like PHP, because I enjoy making little web doodads. And it seems to be pretty damn easy to do just about anything in PHP.

73 Name: #!/usr/bin/anonymous : 2006-05-29 17:33 ID:Heaven

Including shooting yourself in the foot.

74 Name: Albright!LC/IWhc3yc : 2006-05-29 18:02 ID:Heaven

Silly >>72! Don't you know that any mention of PHP on this board is met with replies of ill-conceived panic and h8orade?

75 Name: #!/usr/bin/anonymous : 2006-05-29 18:24 ID:F8+8WHt0

>>74

; (

I wouldn't mind hearing well-thought-out h8 at PHP

76 Name: #!/usr/bin/anonymous : 2006-05-29 19:03 ID:Heaven

>>75
See the "PHP users are dumb" thread. I guess PHP is okay for "little web doodads", though.

77 Name: #!/usr/bin/anonymous : 2006-05-29 19:28 ID:F8+8WHt0

>>76

My, that was enlightening. Thanks for bringing that to my attention. I was unaware of the securitiy risks and such.

I've never written anything big in PHP, though. I do bigger things in Python.

78 Name: #!/usr/bin/anonymous : 2006-05-30 13:17 ID:Heaven

>>74

I am sorry that we don't give you the common courtesy of blinding ourselves to your favourite language's glaring flaws.

This thread has been closed, and is part of the archives.

PHP database applications (5)

1 Name: #!/usr/bin/anonymous : 2006-05-09 09:40 ID:wQ3MrSUo

Do you know of good frameworks/libraries to create PHP database-centric applications with flexible forms, master-detail forms, etc. a la Oracle Developer? I don't mean noob simple, unflexible code generators, but something real. Rich client-side controls are a major plus.

2 Name: #!/usr/bin/anonymous : 2006-05-09 10:21 ID:Heaven

3 Name: #!/usr/bin/anonymous : 2006-05-09 15:26 ID:wQ3MrSUo

>>2
That seems to be for Python, not PHP. Even so (I can do Python), does that do what I want? I can't see any mention to that anywhere in zope.org which is hueg. The installation was simple but you're left without a clue of what to do, and the directory structure looks like bloated enterprise software.

4 Name: #!/usr/bin/anonymous : 2006-05-09 15:32 ID:wQ3MrSUo

>>2
Wait, don't tell me that was some kind of meme... I haven't been lurking this board

5 Name: dmpk2k!hinhT6kz2E : 2006-05-10 08:17 ID:Heaven

Zope has a fairly steep curve. I'm not convinced it's worth it.

This thread has been closed, and is part of the archives.

Toy interpreters/compilers (20)

1 Name: #!/usr/bin/anon 2006-02-09 23:20 ID:F+D6JbcP

I wrote one. It's 663 lines and about 12K of C code, implementing a crappy Forth-ish language. Anyone else like to make these?

11 Name: #!/usr/bin/anon 2006-02-12 20:53 ID:Heaven

>why I like PHP
>better maintainability

LOL

12 Name: #!/usr/bin/anon 2006-02-17 02:47 ID:Heaven

Relevant:
http://tjaden.strangesoft.net/sizehack/

This is an unfinished game implementing a forthish compiler and VM in 556 lines. This was the inspiration for the interpreter in >>1.

13 Name: #!/usr/bin/anonymous : 2006-05-02 15:06 ID:k64i1NcJ

fabrice bellard (author of tinycc) entered a one page C interpreter in the obfuscated C code contest. I think there were other 1 or 2 page interpreters and compilers in there.
http://www1.us.ioccc.org/years.html
Note the contest entry is unformatted. You have to look for the human-readable, documented version. And Fabrice has a website with tinycc and its predecessors.

14 Name: #!/usr/bin/anonymous : 2006-05-04 09:51 ID:Heaven

>>10
Oh yeah? Show me PHP code that does the same thing as perl's <> and is as well established, as well documented, as completely foolproof and as trivial to use again and again (because you will) without messy copy-and-pasting. Go on.

15 Name: #!/usr/bin/anonymous : 2006-05-05 12:31 ID:uDX7Dtr4

>>10

>"magic" like <>

??? lol wtf. The diamon operator is probably one of the best things to use about perl, it's hecka awesome. By the way, early PHP was programmed in Perl, so you are DQN.

16 Name: #!/usr/bin/anonymous : 2006-05-05 13:49 ID:F1kZtNwl

> eval while<>
> eval for<>

you can also do $^X ARGV ...

17 Name: #!/usr/bin/anonymous : 2006-05-05 13:50 ID:F1kZtNwl

>>16
gah, wakabamark is dqn...
that should be `$^X @ARGV`

18 Name: #!/usr/bin/anonymous : 2006-05-06 11:21 ID:Heaven

$^X?

19 Name: #!/usr/bin/anonymous : 2006-05-06 12:52 ID:Heaven

>>18
man perlvar

20 Name: #!/usr/bin/anonymous : 2006-05-07 02:22 ID:BMW3Zd9i

>>19
Good thinking:

> $^X The name used to execute the current copy of Perl, from C’s
> "argv[0]".

>>17
You're one character longer than "eval for<>"; but bonus points for looking a bit like a fork bomb while not actually being one.

This thread has been closed, and is part of the archives.

Forget captcha; meet KittenAuth (24)

1 Name: Albright!LC/IWhc3yc : 2006-04-08 05:01 ID:jNSusQZc

A new human verification system uses kittens instead of text:
http://arstechnica.com/news.ars/post/20060407-6554.html

Brilliant. This is thinking outside of the box; not only could it work better than OCR-able captcha systems, but it was probably easier to code too.

15 Name: #!/usr/bin/anonymous : 2006-04-13 18:13 ID:kGtvszBm

This is not accessible, so it's still shit.

That's also completely useless as soon as the kitty database becomes available.

I don't understand why this post is very popular and people think it's something new. It's not, and it's well-known why. If it can protect a small site like this one, good for the author, but as soon as somebody worth attacking will use it, this system will be a complete joke.

Making CAPTCHA is just like sending an e-mail with a link, a large inconvenience for users, that loses you some users/posts/business, but it is a never-ending arms race. You can't win, but if you defend yourself at the expense of the legitimate users' comfort, you show that you have lost.

16 Name: #!/usr/bin/anonymous : 2006-04-13 19:34 ID:13siUS3d

Why not ask a simple riddle? It should be on par with kittenauth if you have a lot of riddles.

17 Name: #!/usr/bin/anonymous : 2006-04-14 12:51 ID:iLdI4Ggx

>>16
That would require me to think, making it even worse than catchpa.

I like dot kde's solution, although it's probably simple enough to get around.

http://img67.imageshack.us/img67/1558/catchpa4xn.jpg

18 Name: !WAHa.06x36 : 2006-04-14 13:38 ID:Heaven

>>17

It's as effective as a button saying "click this button to post", or a text field saying "Type 'kittens' here:". It will stop an automated spam spider, but anyone attack it speficically will go through it like a giant razor flying horizontally through skyscraper made out of butter.

19 Name: #!/usr/bin/anonymous : 2006-04-14 13:49 ID:Heaven

>>18
comically?

20 Name: #!/usr/bin/anonymous : 2006-04-14 14:35 ID:Heaven

>>17 None of those buttons are labelled "m00t" ...

21 Name: #!/usr/bin/anonymous : 2006-05-02 23:53 ID:x9fw2CcC

>>16 That's only good for people good enough in English. Many riddles depend on language far too much to be solved by not so advanced speakers. That's also true for kitten auth with more than kittens. I for one didn't know what porcupines are until a moment ago.

22 Name: #!/usr/bin/anonymous : 2006-05-04 09:46 ID:Heaven

>>21
Honestly? Wow.

23 Name: #!/usr/bin/anonymous : 2006-05-05 11:24 ID:AKO85qm/

>>22

"Wow"? Maybe you should try actually learning a language sometimes. One of the hardest things is learning animal and plant names. These are usually completely different and unrelated in every language.

How many of the foreign-language animal names at http://members.tripod.com/Thryomanes/animals1a.html would you get from just seeing the word written?

24 Name: 22 : 2006-05-07 09:24 ID:Heaven

>>23
I studied Japanese at uni for a few years; and now that you mention it, you're totally right. Animal names are hard to remember. I think the only ones I can remember are dog and cat, and cat is plastered all over the interweb courtesy of otaku.

This thread has been closed, and is part of the archives.

Concatenative languages (10)

1 Name: #!usr/bin/anon 2006-01-02 00:06 ID:eGiwJnGc

Anyone played with any concatenative languages, such as Joy and Factor?

http://www.latrobe.edu.au/philosophy/phimvt/joy.html
http://factorcode.org/

Joy is more conducive to playing with. I like it a lot. Factor is a "practical" type of language according to those who practice it.

Forth is also considered a concatenative programming language.

2 Name: !WAHa.06x36 2006-01-02 00:39 ID:Heaven

Sounds like more "let's do things different BECAUSE WE CAN!" functional-language wankery. I don't see it doing anything any better than any other language, just different for the sake of being different.

3 Name: #!usr/bin/anon 2006-01-02 19:12 ID:Heaven

Don't be such a curmudgeon. I'm trying to get some discussion going here.

4 Name: #!usr/bin/anon 2006-01-03 18:14 ID:eGiwJnGc

>>2 posted much too soon after >>1 to have seriously evaluated an unfamiliar programming paradigm. This reaction to new ways of thinking is a little disturbing.

Anyway, concatenative languages are sort of like reverse Polish notation (RPN). You write 2+5 as '2 5 +', where each number pushes itself and the + operator pops two operands and pushes its result on the stack. But concatenative languages are not the same as RPN. You can square whatever number happens to be on top of the stack by doing 'dup *', where dup is the operator that duplicates the object on top of the stack. This is not possible with RPN calculators. In Forth, the word (Forth calls subroutines "words") to square the number on top of the stack is defined by:

: square ( n -- n ) dup * ;

"( n -- n )" is a comment indicating that the word consumes one value from the stack and leaves one new value.

Forth dates back to the 1970s, but the author of Joy was first to use the term "concatenative", probably in the late 90s or early 00s. Joy is a more functional language, with quoted programs (basically functions) that can be pushed on the stack and used by various combinators. Factor on the other hand is intended for practical programming and as an evolution of Forth. Although it borrows quoted programs from Joy, it doesn't have the recursion combinators.

5 Name: !WAHa.06x36 2006-01-04 03:23 ID:Heaven

No, I didn't spend much time doing that, because the presentations of the language made no attempt to convince me there was any value in doing so. There was no suggestion as to why making this fairly significant effort would be of any benefit to me. It just seemed like the same old functional-programming academic thought experiments that I've seen a thousand times already. They're like obfuscated programming languages with less humor and more delusions of importance.

Now, I only looked at Joy, so I don't know about Factor. If it's designed for "practical programming", that's obviously better, but for the life of me I can't see why you'd ever design for anything else.

6 Name: #!usr/bin/anon 2006-01-05 17:42 ID:Heaven

"Practical programming" languages take new ideas from academic-type languages and put them to real-world use, e.g. Factor contains concepts borrowed from Joy. Without the more theoretical programming languages, we'd all be using a very nicely polished COBOL.

Academic languages are also good for thinking about computation: the Scheme REPL and so on. If that's "wankery", well, what field of mathematics isn't?

7 Name: #!/usr/bin/anon 2006-02-04 17:55 ID:+Vqa0je4

I'm backing WAHa up on this one: for the last week, I've been attempting to understand the whole concatenative language paradigm. None of the Forth tutorials I've read can offer up a good reason why stack-based mental gymnastics are better than letting the compiler do all that work. I've made inquiries at concatenative language lists, and the only answers I've gotten have been:

a) Expand your mind! (with nothing to back that statement up), or
b) Forth allows you to micromanage the stack for effiency (which is funny, because the "blazing fast" GForth compiler is usually about an order of magnitude slower than C over at the Great Computer Language Shootout).

The final straw came when, whil reading "Thinking Forth", the definitive Forth book, the author proceeds to demonstrate something that "could only be done in Forth!" that could have just as easily been done in C with pointers fifteen years ago.

Fleh.

8 Name: #!/usr/bin/anon 2006-02-05 20:25 ID:eGiwJnGc

>>7
The main reason I've heard (at least for Forth and Factor; Joy is closer to Lisp) is that these languages allow you to factor your code into really short words. Supposedly, this allows you to manage complexity and write less code. I've no comment on this personally as I've barely tried either language, but I'm surprised you didn't hear that justification. It's one of the major selling points of Factor and is mentioned on Chuck Moore's colorForth website (Chuck Moore is Forth's inventor).

9 Name: #!/usr/bin/anonymous : 2006-05-02 14:41 ID:Heaven

Yeah, "smallness" by eliminating redundant code is the main FORTH advantage I've heard about.

The interpreter is small, the code you write is small, and Chuck Moore is such an extremist at eliminating redundancy he produces completely functional systems (OS, API, GUI, apps) in a few megabytes.

I rejected that as pointless for a long time. Now I'm thinking this militant anti-redundancy approach might be a solution to code complexity and bloat. How many times have you read programmers' complaints about maintaining huge, undocumented, poorly written apps? If they were SMALL, NON-REDUNDANT poorly written apps, it wouldn't be as difficult.

Next step: check if FORTH really does guide a lazy programmer to avoid redundant code.

10 Name: #!/usr/bin/anonymous : 2006-05-02 14:43 ID:Rb2nnVFz

bump.

#9 was saged, but I want to see if anyone has any real experience with FORTH.

This thread has been closed, and is part of the archives.

Weird story about ISS (8)

1 Name: #!/usr/bin/anon 2006-02-08 11:36 ID:N5vYXr06

Hey, want to hear something really weird about ISS ? Here goes.

I received a bug report from one of users, apers that one ASP file suddenly started to ask for username and password (We here use integrated Windows authentication to restrict user access in our application). Well, I did the logical thing and checked ACL and ISS config, but nothing seamed to be wrong, so I tried to give all possible rights for that file to all possible users, still, it just sits there and asks me for username and password.

What to do, what to do ? I started to experiment with content of that file. And guess what ? When from that file, somewhere in middle, I remove "width=300,height=350" it works again ! Yes, I removed few characters and it works ! I'm shitting you not ! What the fucking hell is up with that ?! I mean, really, now, what the heck has some ECMAScript parameters to do with file access rights ?! Gawd ! Am I missing something here ?

2 Name: #!/usr/bin/anon 2006-02-08 14:27 ID:Heaven

Thanks for the nice kopipe, >>1.

3 Name: omfg 2006-02-13 11:38 ID:wKAW9D8M

I think I'll pull a math test answer on this one. Not enough information to solve problem.

4 Name: #!/usr/bin/anon 2006-02-17 19:21 ID:Heaven

> I removed few characters and it works

What happens if you put them back?

5 Name: #!/usr/bin/anonymous : 2006-04-30 09:53 ID:Heaven

>>4 sounds like file ntfs permission problem.

6 Name: #!/usr/bin/anonymous : 2006-04-30 09:55 ID:YwWVsFln

you need to give read permission to 'everyone' for the physical files.

7 Name: #!/usr/bin/anonymous : 2006-05-02 08:02 ID:Heaven

You run pages on the International Space Station? >_>

8 Name: #!/usr/bin/anonymous : 2006-05-04 09:56 ID:Heaven

Hey, it's safe from terrorists.

This thread has been closed, and is part of the archives.

SPSS Question... (1)

1 Name: #!/usr/bin/anonymous : 2006-04-28 19:58 ID:RnpeFFSs

I know this isn't traditional coding or scripting, but this seems like a good place to look.

I need to get a set of outputs from SPSS where it will allow me to manually set ranges for a variable on a table output.

For example, I need descriptives on variable "Degrees" broken down by "300-325" "326-350" etc., except that I don't have a variable to tell me those ranges, so I need to code it by hand into either a filter or my syntax.

Is there any way to write a script so that I can at least get it to spit out a couple things at a time versus me having to go in and change the tags on three variables every time I do an output?

This wouldn't be a problem, except that I need 128 separate descriptives, so any form of automation would be appreciated.

This thread has been closed, and is part of the archives.

Tried Dylan? (12)

1 Name: Albright 2005-10-03 18:50 ID:Heaven

Of course, major geek points can be earned by being one of the first to hack in an obscure language before it hits the big time (if it ever does). According to this article, one language that may have a good shot is Dylan:
http://arstechnica.com/news.ars/post/20051001-5375.html

While I think the "market" for new mainstream langs is more crowded than ever now, this one looks pretty neat. Have you tried it? Your thoughts?

3 Name: #!usr/bin/anon 2005-10-04 00:13 ID:Heaven

Hm. Bastard child of Haskell and Ruby with naming conventions from GNU Arch. But why are members "slots"? Kind of neat, though.

4 Name: #!usr/bin/anon 2005-10-12 12:39 ID:QwXPlFjG

>>3
Every language needs its gimmick, and since all the good gimmicks have been done already, they need to come up with new names for the existing ones.

Compare: "instance variable", "data member", "field", "slot", etc; compare "method", "member function", etc. They're just rebranding the wheel like everyone else.

5 Name: #!usr/bin/anon 2005-10-17 12:17 ID:Heaven

> "slot" ... "method", "member function"

Am I the only one seeing the sad sexual innuendo here?

6 Name: #!usr/bin/anon 2006-01-04 12:20 ID:taG6VAKT

Who needs Dylan when you have Lisp?

7 Name: #!usr/bin/anon 2006-01-05 12:29 ID:Heaven

>>5
Hey, if you've got enough time to design programming languages, you probably need every bit of innuendo you can lay your hands on.

8 Name: #!/usr/bin/anon 2006-01-16 00:58 ID:zG8BqG4B

Dylan is the greatest singer-songwriter of all time.

9 Name: #!/usr/bin/anon 2006-01-23 09:20 ID:Heaven

>>8
True as that may be, he isn't a very good programming language.

10 Name: #!/usr/bin/anonymous : 2006-04-22 10:50 ID:RIw4LemO

I tried the gwydion implementation of Dylan a while back. My experience: the compiler was incredibly anal about where certain overtly verbose yet seemingly free-form module headers are, and its error messages with regard to these were next to useless. Additionally the compiler was, on a 1.9ghz athlon XP, so slow that any recent GHC is actually faster even if you exclude the time it takes gwydion to link things (which is like 80% of the wall clock time).

My verdict is that Dylan must've been a byproduct of the "make code readable to simpleton managers" movement of the nineties. No wonder that Apple pushed so hard for it in the days of macos 7 (or was it 8? or copeland or some such?). As a serious language however? I'll take Common LISP over this bullcrap any day.

11 Name: #!/usr/bin/anonymous : 2006-04-26 02:29 ID:B+/wLuZS

LISP was a hard sell because I've had very few co-workers willing to learn it.

I had better luck with Python becasue it's easier to pick up, and the ctypes add-on lets you call C libraries without writing binding code.

The disadvantage is we can't automatically convert our final code into C for maximum performance and source obfuscation.

Looking into Euphoria language for that.

12 Name: #!/usr/bin/anonymous : 2006-04-26 10:22 ID:Heaven

Is today plug Euphoria day or something?

This thread has been closed, and is part of the archives.