Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: I dislike object-oriented programming in general

by chromatic (Archbishop)
on Oct 17, 2007 at 02:20 UTC ( [id://645347]=note: print w/replies, xml ) Need Help??


in reply to Re^2: I dislike object-oriented programming in general
in thread I dislike object-oriented programming in general

In C, you can pass in a function pointer as a parameter, but you can't create or manufacture functions on the fly.

You can, if you have a compiler, system, dlopen, and dlfunc!

Replies are listed 'Best First'.
Re^4: I dislike object-oriented programming in general
by toma (Vicar) on Oct 18, 2007 at 08:03 UTC
    The first time I read a C program which wrote and executed an awk program to do the 'difficult' string manipulation changed the way that I thought about the limitations of languages.

    The need to do tricks like this were the force that drove me towards the 'just write the whole app in Perl' approach.

    The most natural way to create a high-performance program may be to write a Perl program that writes a C++ program.

    It should work perfectly the first time! - toma

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://645347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-23 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found