Search Members Help

» Welcome Guest
[ Log In :: Register ]

Page 2 of 2<<12

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Java, C#, XP and the letter 'c', yes< Next Oldest | Next Newest >
 Post Number: 11
veistran Search for posts by this member.
We don't listen to people that don't like us.
Avatar



Group: Members
Posts: 967
Joined: May 2000
PostIcon Posted on: Jun. 11 2002,22:40  Skip to the next post in this topic. Ignore posts   QUOTE

I fell in love perl

--------------
V|-
"Headed down the hard way
Concrete battleground
Urban monkey warfare
Sabotage underground camouflage"
Offline
Top of Page Profile Contact Info 
 Post Number: 12
demonk Search for posts by this member.
The other white meat
Avatar



Group: Members
Posts: 800
Joined: Aug. 2000
PostIcon Posted on: Jun. 12 2002,00:42 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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!
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 13
Darth Liberus Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 2246
Joined: Jan. 1970
PostIcon Posted on: Jun. 12 2002,02:30 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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
Offline
Top of Page Profile Contact Info 
 Post Number: 14
veistran Search for posts by this member.
We don't listen to people that don't like us.
Avatar



Group: Members
Posts: 967
Joined: May 2000
PostIcon Posted on: Jun. 12 2002,05:29 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

lazy :p

I like template classes

--------------
V|-
"Headed down the hard way
Concrete battleground
Urban monkey warfare
Sabotage underground camouflage"
Offline
Top of Page Profile Contact Info 
 Post Number: 15
CaptainEO Search for posts by this member.
f(t)
Avatar



Group: Members
Posts: 56
Joined: May 2001
PostIcon Posted on: Jun. 12 2002,06:01 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 16
Beldurin Search for posts by this member.
Mayor of Detnet
Avatar



Group: Members
Posts: 1242
Joined: Aug. 2001
PostIcon Posted on: Jun. 12 2002,07:49 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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!  :p

--------------
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
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 17
veistran Search for posts by this member.
We don't listen to people that don't like us.
Avatar



Group: Members
Posts: 967
Joined: May 2000
PostIcon Posted on: Jun. 13 2002,18:32 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

MFC is such crap :p

--------------
V|-
"Headed down the hard way
Concrete battleground
Urban monkey warfare
Sabotage underground camouflage"
Offline
Top of Page Profile Contact Info 
 Post Number: 18
Darth Liberus Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 2246
Joined: Jan. 1970
PostIcon Posted on: Jun. 14 2002,12:15 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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
Offline
Top of Page Profile Contact Info 
 Post Number: 19
compact3000 Search for posts by this member.
Its the voices again! Ahhh!!!!
Avatar



Group: Members
Posts: 64
Joined: May 2002
PostIcon Posted on: Jun. 22 2002,23:23 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

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?"
Offline
Top of Page Profile Contact Info 
 Post Number: 20
just_dave Search for posts by this member.
Town Naysayer, and court jester..
Avatar



Group: Members
Posts: 535
Joined: Apr. 2001
PostIcon Posted on: Jun. 23 2002,02:53 Skip to the previous post in this topic.  Ignore posts   QUOTE

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.
Offline
Top of Page Profile Contact Info 
19 replies since Jun. 09 2002,04:38 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


Page 2 of 2<<12
reply to topic new topic new poll

» Quick Reply Java, C#, XP and the letter 'c'
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code