|
Post Number: 11
|
veistran
We don't listen to people that don't like us.
Group: Members
Posts: 967
Joined: May 2000
|
|
Posted on: Jun. 11 2002,22:40 |
|
|
I fell in love perl
-------------- V|- "Headed down the hard way Concrete battleground Urban monkey warfare Sabotage underground camouflage"
|
|
|
|
Post Number: 12
|
demonk
The other white meat
Group: Members
Posts: 800
Joined: Aug. 2000
|
|
Posted on: Jun. 12 2002,00:42 |
|
|
Want an example of perl being used professionally? I can name a relativly large company that relies on it: Intel.
I've worked in serveral areas in Intel, and they use perl everywhere! The design areas especially. It's very power, flexible, and it's really fast. Anyway, just wanted to make sure no one talked smack about the greates programming language out there (next to C/C++ of course).
-------------- I'm just two people short of a threesome!
|
|
|
|
Post Number: 13
|
Darth Liberus
Emperor of Detnet
Group: Members
Posts: 2246
Joined: Jan. 1970
|
|
Posted on: Jun. 12 2002,02:30 |
|
|
perl is used everywhere real programmers work
there's a lot of truth to that, actually. The big language(s) for standalone applications are still C and C++, but anyone who knows Perl reaches for it any time they need to write a quick & dirty tool. Its amazing how many of those you wind up writing in the course of development.
Things like Java and .NET have more brand recognition in the Web world, but the vast majority of Web development is still done in Perl. The Perl 6 VM promises to kick the JVM's ass for all time.
here's a question for those of you who learned C before C++ : how many of C++'s additional features do you actually use? Personally, I find that I only use // and a tiny subset of the OOP stuff... everything in my objects gets declared "public" ffs
-------------- "let's travel around with our laptops, plug in, and destroy the very fabric of modern reality." -a2n3d7y
|
|
|
|
Post Number: 14
|
veistran
We don't listen to people that don't like us.
Group: Members
Posts: 967
Joined: May 2000
|
|
Posted on: Jun. 12 2002,05:29 |
|
|
lazy
I like template classes
-------------- V|- "Headed down the hard way Concrete battleground Urban monkey warfare Sabotage underground camouflage"
|
|
|
|
Post Number: 15
|
CaptainEO
f(t)
Group: Members
Posts: 56
Joined: May 2001
|
|
Posted on: Jun. 12 2002,06:01 |
|
|
Quote | here's a question for those of you who learned C before C++ : how many of C++'s additional features do you actually use? Personally, I find that I only use // and a tiny subset of the OOP stuff... | In order of importance: * Exceptions and the initialization-is-resource-acquisition pattern - these features make code tremendously more readable by automating away all of the little error cleanup paths, and are to me what gives C++ real power over C. (90% of the code in a production C program seems to be for error handling... =)
this is how I write C:
Code Sample | int f() { char *foo; FILE *bar;
foo = malloc(9999); if(!foo) return -1;
if(!do_something(foo)) { free(foo); return -1; }
bar = open("bar.txt"); if(!bar) { free(foo); return -1; }
if(!something_else(foo, bar)) { close(bar); free(foo); return -1; }
close(bar); free(foo); return 0; }
|
now here is the same thing in C++:
Code Sample | void f() { scoped_array<char> foo(new char[9999]); do_something(foo);
file bar("bar.txt"); something_else(foo, bar); }
|
the resulting compiled code will be virtually identical...
* the STL - because I'm tired of writing and debugging my own linked lists and hash tables... * declaring variables in places other than the top of the basic block (for(int i = 0;...) - this is the #1 annoyance when I have to code in plain C (although this feature will become part of C in an upcoming standard) * std::string - I list this on its own just to point out how damn useful it is to have a standard resize-able string type... * basic classes, single inheritance, and virtual functions * // (though I consider that a part of C now that most compilers recognize it)
Things I haven't found a use for: * multiple & virtual inheritance * iostreams (the implementations I have seen are very bloated and printf() always seems adequate =) * RTTI and dynamic_cast
Things I wish C++ could do: * abstract types - the ability to declare methods of a class without also having to declare its members at the same time. (there are two widely-used work-arounds - the pimpl idiom and abstract interface classes - I use and hate them both =) * virtual data - the ability to stick data of arbitrary types into the virtual function table for a class, not just pointers to its virtual member functions * not cause quite so much code bloat (though STLport does a good job with this) * compile faster - if only GCC had pre-compiled headers and templates...
Edited by CaptainEO on Jan. 01 1970,01:00
|
|
|
|
Post Number: 16
|
Beldurin
Mayor of Detnet
Group: Members
Posts: 1242
Joined: Aug. 2001
|
|
Posted on: Jun. 12 2002,07:49 |
|
|
Quote (demonk @ 11 June 2002,18:42) | Want an example of perl being used professionally? I can name a relativly large company that relies on it: Intel.
I've worked in serveral areas in Intel, and they use perl everywhere! The design areas especially. It's very power, flexible, and it's really fast. Anyway, just wanted to make sure no one talked smack about the greates programming language out there (next to C/C++ of course). |
My bro works for Intel! You still work there? And demonk is right, Intel uses it a lot. So do other large companies, like Saint Gobain (from personal experience).
I took several C++ classes and a Java class. Didn't fall in love w/C++ and I hated Java. Of course, I never wrote anything but UNIX command line proggys or Win32 console apps w/C++. Did some visual stuff w/Java and the MFCs, but it was a bitch and I only accidently got my programs to work!
-------------- If someone's ungrateful and you tell him he's ungrateful, okay, you've called him a name.
You haven't solved anything.
-- zen and the art of motorcycle maintenance
|
|
|
|
Post Number: 17
|
veistran
We don't listen to people that don't like us.
Group: Members
Posts: 967
Joined: May 2000
|
|
Posted on: Jun. 13 2002,18:32 |
|
|
MFC is such crap
-------------- V|- "Headed down the hard way Concrete battleground Urban monkey warfare Sabotage underground camouflage"
|
|
|
|
Post Number: 18
|
Darth Liberus
Emperor of Detnet
Group: Members
Posts: 2246
Joined: Jan. 1970
|
|
Posted on: Jun. 14 2002,12:15 |
|
|
What do you mean? Don't you like including 10MB of libraries to say Hello, world?
-------------- "let's travel around with our laptops, plug in, and destroy the very fabric of modern reality." -a2n3d7y
|
|
|
|
Post Number: 19
|
compact3000
Its the voices again! Ahhh!!!!
Group: Members
Posts: 64
Joined: May 2002
|
|
Posted on: Jun. 22 2002,23:23 |
|
|
Quote (Darth Liberus @ 14 June 2002,07:15) | What do you mean? Don't you like including 10MB of libraries to say Hello, world? |
Whats the big thing about saying "Hello, world"... In almost every java/programming book I have read, the first thing they teach you to do is like make an appalet or something that says Hello, world. And I think I am sticking to Visual Basic Scipt and Perl programming...
Edited by compact3000 on Jan. 01 1970,01:00
-------------- "If practice makes perfict, and nobody is perfect, than why practice?"
|
|
|
|
Post Number: 20
|
just_dave
Town Naysayer, and court jester..
Group: Members
Posts: 535
Joined: Apr. 2001
|
|
Posted on: Jun. 23 2002,02:53 |
|
|
hello world is probablly the first program you write in almost any language. It gives you a feel for programming. Gets you used to code structure and things.
I have probablly wrote hello world in so many programming languages......
VB, Java, C, C++, Turbo Pascal... I cant remember the first program you write in assembly. I changed schools after the first week of assembly
-------------- Yup, I like people, they taste good, except for clowns... they taste funny.
|
|
|
|
|
|