2005/8/31-9/2 [Computer/SW/Languages/Perl] UID:39372 Activity:nil | 8/31 Anyone here use ruby? Is it worth learning (say for someone who
mostly programs in perl/c)?
\_ You don't say what your intended use is. For what? For personal
pleasure because you're a language geek? For work? For a big
team project? For one off throw away code? What?
\_ I've been hearing a lot about it from co-workers and
...
|
2005/6/21-23 [Computer/SW/Languages/Perl] UID:38230 Activity:high | 6/21 My math and/or perl fu is weak. Is there a way to get integer
multiplication in Perl the way it's done in C? i.e. limiting
to 32 bits. Like 1588635697 * 1117695901 = 1166976269 in C.
\_ Can't you just multiply and then mask all but the last 32 bits?
\_ I don't think so; that's not the same as mult overflow.
> perl -e 'print (1588635697 * 1117695901)'
...
|
2005/4/27-28 [Computer/SW/Languages/Java] UID:37384 Activity:low | 4/27 Dear Java gurus, say I have the following code, where Visitor()
has a method called "visit(Node n)...". I see the following code.
Does it mean I'm temporarily over-writing the visit method?
root.accept(new Visitor() {
public void visit(Node n) {
//Do stuff with n
...
|
2004/10/29-30 [Computer/SW/Languages/C_Cplusplus] UID:34449 Activity:very high | 10/29 C++ is so freaking BROKEN. Augh!
\_ Just use C.
\_ Would if I could.
\_ No, you are. C++ works just fine, and far better than C for many
purposes.
\_ C vs. C++. FIGHT!!!
...
|
2004/4/16-17 [Computer/SW/Languages/Functional] UID:13234 Activity:high | 4/16 So, here's a question. I'm learning Python, and it seems to me that it
includes a lot of the power of Scheme or Lips, with out the wierdness.
Would Python make a better introduction to CS language than Scheme?
\_ Dunno, why don't you just ask Ping, he taught a 61A style course
in python at Cal. He claims it was good. I still haven't yet
found a good dollar Return on Investment for the time I spent
...
|
2001/9/8 [Computer/SW/Editors/Emacs, Computer/SW/Languages/Misc] UID:22351 Activity:high | 9/7 I have a really difficult time reading this guy's OO code. Basically
he's utilizing polymorphic method calls, which is alright, but
tracing the code requires going back and forth between the deep
plethora super/child chains. While I like OO, I think this is just
a nightmare to trace and understand. Personally, I'd perfer a more
shallower chain of objects, extending OO via composition instead of
...
|
2001/4/26-27 [Computer/SW/Languages/C_Cplusplus] UID:21109 Activity:high | 4/26 What are some good reasons to use C fptr over regular method calls?
\_ Data directed programming allows you to do function calls
in constant time. Of course, many modern compilers will
take switch/case statements and implement them in constant
time. Look at examples of C function pointers and you can
see why they're used.
...
|
2001/4/9-10 [Computer/SW/Languages/Perl, Computer/SW/Languages/Python] UID:20925 Activity:very high | 4/9 Does anyone here use the Python language on a regular basis? What do
you use it for? What is your opinion of it as a language?
\_ ML >> Perl >> Python.
\_ Tcl >> ML >> ... >> PHP
\_ I've seen Python, PHP, Perl, and TCL. 3 of 4 are crap.
Got a link for ML? I can decide for myself.
...
|
2000/8/30-2001/4/6 [Computer/SW/OS/OsX] UID:19129 Activity:low | 12/19 Who knows anything about computer music: mixing, synthesizing,
channels, formats, and /<iller Appz (for win or BeOS)? How about
opinions of good URLs for beginners? - seano
\_ Audio Mulch under Windows is fun to play with, and I've seen
bands performing with a laptop running Audio Mulch loops.
For the Mac, I've heard of recommendations for SuperCollider
...
|
|