I am in the final stages of reading the main body of "Design Patterns", which is the book that set forth the "Patterns" Programming Paradigm. The book was...
... Oh no! Usually languages don't matter that much, and some ideas are better expressed in their native language (like you mentioned about design patterns). I...
... I think you are missing Knuth's point. The guy was writing the most complete reference for algorithms. Now, a large part of his work was analyzing...
You know you've been hacking perl too long when you cannot find what's wrong with the following statement: my @result = sort { $_->{'state'} cmp $_->{'state'}...
... Yes, of course. You can not realy create functions from scratch in runtime, but you can compose new functors from pre-made blocks. Which enables using...
[ skipped a vast amount of Shlomi' frowning upon C++,patterns and all those heretics that do not use scripting languages wherever possible ] ... I tend to...
Did anybody encounter a C program with a recursive (or indirectly recursive) main function? I think the C language allows for such a trick, because the...
I'm sorry to introduce yet another case study, but in this case it is more a comparison of algorithms than that of implementations in varaious languages. I'm...
Refer to this article: http://www.moolenaar.net/habits.html By Bram Moolenaar of Vim fame. It details some paradigms for effective text editing and gives...
seeing that this list has been rather quiet lately, i figured this might be interesting. shlomi, this mail does *not* constitute a challenge to write the code ...
It's included below. That's part of the reason why I asked some Vi questions here. Note that this is a recursive version of it, and uses a stack. A bug is that...
Hi! I created the following binding in a Vim file: map <F3> 5gg"ny$gg$a[<C-R>n]<ESC>5gg<C-X> What it does is append a string containing "[", the number that...
I always had trouble indenting an arbitray block in Vim. The best way I could find was to count the number of lines in the block (by subtracting them - %-))...
Hello, I have a few questions. Everyone always says that the best way to learn programming, is to find something you want to program, and then figure out...
Hi, Someone once hinted to me that in Fortran once can change the value of 4. What did he mean? Do numbers in Fortran are like variable names? How exectly do...
In another message I elaborated the subject of designing a computer language based upon Chomsky's Universal Language. I would like to capture the essence of...
I posted some comments about Rindolf to the Rindolf mailing list. Here I would like to discuss more general issues. The question is what is the essence of...
... Compiler theory at high-school? Some people make me feel that I completly wasted my time during high-school. I can't remeber doing anything more exciting...
The subject of declaring (or fixing) the types of variables in languages, which are essentially dynamically typed, is an example of a tradeoff. Let's try to...
First for the news: 1. I sent an E-mail message to Larry Wall and Damian Conway explaining the situation. I received a reply from both of them. The end result...
When I worked in Smart-Link (http://www.smlink.com/) I was a half-time tester and half-time Jack-of-all-trades programmer. One of the tasks that I was given to...
The Vim macros are: map <F3> 0"5y$:!xmms -e '<C-R>5'<CR><CR> map <S-F3> 0"5y$:!xmms '<C-R>5'<CR><CR> while the command used to invoke gvim is: ls | sed...
The future computers will have terabytes of memory (mostly in disks, but some in RAM). They will be able to manipulate megabytes at the time needed by...
... I develop monitoring software to monitor our 24/7 monitoring service (I kid you not). This software is strictly for inhouse use. It is an increadibly...
Yet another mutiny, but rather language fork that I start. Forgot to mention proper Garbage Collection and proper tail recursion (in the nice to haves), but...
... Actually, I have an idea for a C++ class library that emulates Scheme's Environments and Frames model. Thus enabling Lexical Scoping, Lambda Calculus,...
... Main reason for that, IMHO, is poor mapping of FP methodologies to real world problems. For example, if you have IO, you will have side effects. That...
... Any ideas on how to do this? Or more generally: Suppose I want to create a large amount of random variables, all independent, all with a specific...
As you may know some of the programming paradigms in use today, emerged from the academia: Structured Programming, OOP, Patterns. There was a gradual shift in...