I'm doing a report on the speed of develipment and executionin varius
programing langiuiges. write code for all these tasks in the languige
of your choise if intrestied send code to [EMAIL PROTECTED]
Task 1:
write a program that prints how many times you repeat all words in a
file passed as a co
What was i thinkinng repace * with + i was'nt thinking i origanaly
thaught of sum of squares so i put a * insted of a +
--
http://mail.python.org/mailman/listinfo/python-list
lets say you want a generic numerical algorithom like sum
Ruby
def sum lst
lst.inject(0){|total,current| total*current}
end
Java // i dont know if there is a numeric super class for numbers
class Sum{
public static int sum(int[] lst){
int total = 0;
for(int current : lst){
tot
macros are sort of like c macros but more powerful. they are the
manafestation of treating code like data. lisp code is just a textual
representation of a data structure that is the list. this means that
you can manipulate code to emulate structured controll constructs and
elemanate boilerplate cod
A Propriatary Languige Is An Oxymorron A propriatary OS is An
Oxymoron Take Pro-DOS for example A Knock-off of MS-DOG, the worst
operating system it did not use ONE IOTA OF MS CODE BUT IT was a
sucsefull knockoff. same thing will happen to JAVA
Programing Languiges Are Ment to be free. That is why i am starting The
Coo De Tar thats french for Blow of state it is a flash/java
alternative and if you are going to use a server side languige use
Perl,Python or better yet Ruby. What is the point of a languige without
a standerd and without a op