Name your favourite programming language (not necessarily (but usually) the one you know the best - just the one you like best).
Tip: Java doesn't belong in this thread.
Mine is __Python__.
Name:
Anonymous2006-04-05 19:13
emacs lisp
Name:
Anonymous2006-04-05 19:18
Visual Basic
Name:
Anonymous2006-04-05 19:25
15 languages later, and I'm not impressed by any of them.
It'd probably be a tie between C and Ruby though.
Name:
Anonymous2006-04-05 19:26
TCL
Name:
Anonymous2006-04-05 19:26
>>4 if you feel that way; maybe you should consider moving into a vocation which you actually enjoy?
Name:
Anonymous2006-04-05 19:34
>>6
I said I'm not impressed by any of them, not that I hate them (or developing software for that matter).
Quite a leap of logic there...
Name:
Ulysses2006-04-05 22:55
Ruby tied with Io. Then C.
Name:
Anonymous2006-04-05 23:27
Perl and/or ECMAScript 4 (e.g. ActionScript)
Name:
that guy2006-04-05 23:37
visual basic...........hahaha
Name:
KILLS YOUR MOM2006-04-05 23:39
VISUAL C++ BITCHES
Name:
Anonymous2006-04-06 0:15
Java because of its awesome string parsing abilities!
Name:
Anonymous2006-04-06 4:03
(followed-shortly-by (common-lisp) (scheme))
Name:
Anonymous2006-04-06 4:25
I can't believe you actually thought you had to let people know no one likes Java.
Name:
Anonymous2006-04-06 5:10
Objective C
Name:
Anonymous2006-04-06 5:42
Only C is good enough
Name:
Anonymous2006-04-06 5:43
Slate ! Prototype-based pure object-oriented, based on Smalltalk, traits, multiple dispatching, subjective dispatching, optional type annotations, syntactic abstractions...
I would actually have to say Java. But that's because I'm a student. As such, I'm required to make small programs in short time that do useless things, and Java is simply the easiest language for such work. Just this morning I wrote a Java program that fetches the response code from a http request. Three lines. Same in C? No idea...
At times when serious work is needed (yes, I do have work experience) Python seems to fill my needs.
Name:
Anonymous2006-04-06 17:56
>>19 I'm required to make small programs in short time that do useless things, and Java is simply the easiest language for such work.
No. I'd understand if you said Delphi. Pascal. Or even VisualBasic. But Javur....
Name:
Anonymous2006-04-06 18:14
C
Name:
Anonymous2006-04-06 18:19
>>20
Delphi? Never seen anyone use it
Pascal? Never seen anyone use it
Visual Basic? I've seen it used ONCE
Java? Every programming related course we read use Java. Why bother using anything else for school related stuff?
That being said I do realize I need to learn C or some equivalent to actually get anywhere in life. Except for Sun.
Name:
Anonymous2006-04-06 18:46
Oh, boy...
Name:
Anonymous2006-04-06 21:00
>>19
wtf? Think about it, to write a program that prints "Hello world" you have to create a class. What other language forces you to do that? The only reason you can accomplish a lot with seemingly very little is because the Java foundation api is so comprehensive. But that has nothing to do with the language itself.
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");
exit(0);
}
Man, that's so unbelievably much shorter than the Java code, I don't know why I didn't switch a long time ago! Thank you for opening my eyes to this new world of short syntax!
Name:
Anonymous2006-04-07 8:21
>>32 is an idiot. C is a low-level language, little more than assembly with macros. If Java uses a similar number of lines as C, something is seriously wrong.
>>50
That's what I wanted you idiot, otherwise I wouldn't have called this function.
Name:
Anonymous2006-04-07 19:35
C# is the new shit, don't you forget it! namespace MicrosoftProject
{
class Application
{
static void Main()
{
System.Console.WriteLine("Hello, world!");
}
}
}
Name:
Anonymous2006-04-07 20:31
C# is clearly superior to Java.
Clearly.
Name:
Anonymous2006-04-08 1:58
>>53
Oh, shit, some language designer, somewhere, didn't learn from the mess known as Java. :(
Name:
Anonymous2006-04-08 3:30
QBasic
PRINT "Hello world"
Name:
Anonymous2006-04-08 5:20
Ok now, do it in brainfuck.
Name:
Anonymous2006-04-08 7:10
>>52
No point in using <?php echo "lol"; ?> if all you want is to write lol, PHP will output anything not between <? ?> . And echo is not a function, idiot.
>>72
this is javascript's dumbest feature, because it doesn't have an explicit line-continuation character, so you have to make sure the parser doesn't think you wanted to terminate a statement. also multiline strings don't work.
>>83
Who needs unicode? Really? 1+1=2, unicode or not, duh.
Name:
Anonymous2006-04-20 9:27
>>85
Got that right! I couldn't even get Python to run that fast again, while Ruby ran faster every time. And with the extra newline, Python was like .06s slower.
Name:
Anonymous2006-04-20 9:48
>>84
Addendum, startup times: python -c "print \"Hello, world\""
0.03s user 0.01s system 32% cpu 0.100 total
ruby -e "puts \"Hello, world\""
0.01s user 0.00s system 15% cpu 0.066 total
Wait? Who cares about speed in a scripting language? What is more productive, and more fun to maintain:
1000.times { |i| puts \"#{i}GET\" }"
or
for i in xrange(1000): print str(i) + "GET"
Name:
Anonymous2006-04-20 11:19
>>91 ruby -e "1000.times { |i| puts \"#{i}GET\" }" > /dev/null
0.01s user 0.00s system 47% cpu 0.034 total
python -c "for i in xrange(1000): print str(i) + \"GET\"" > /dev/null
0.02s user 0.01s system 58% cpu 0.061 total
Piping output to remove wait for TTY.
I guess Python is slower because it opens and reads from some "files" or files while Ruby does not.
Name:
Anonymous2006-04-20 11:42
>>92
Neither is as awesome assequence_ $ map (putStrLn . (++"GET") . show) [1..1000]
>>92
I sure as hell don't care much for speed as long as it's within the Python-Perl-PHP-Ruby range, I was just bored and tried to troll. But regarding maintenance, which I do care, I find the Python form much easier to read and maintain.
Name:
Anonymous2006-04-20 13:02 (sage)
>>96
In real code you'd write it like this using Ruby: 1000.times do |i|
puts "#{i}GET"
endUsing {} where do end is possible is generally considered bad practise.
Name:
Anonymous2006-04-20 14:22
Likewise, you'd do for i in xrange(1000):
print str(i) + "GET"in Python