There are 9 Replies:
|
|
Message
|
Person and Time
|
|
In python, simply type "import destruction", and then type "destroy(DeWayneMann)" you don't even need a semicolon at the end of either line! |
|
DeWayne Mann
|
Apr 28, 2008
(14 days and 8 hours ago)
|
|
|
but python suuuuuuuuuux! SUX! |
|
Mikau
|
Apr 28, 2008
(14 days and 8 hours ago)
|
|
|
But no semi-colons required! But you can use them if you want. Python doesn't mind. |
|
DeWayne Mann
|
Apr 28, 2008
(14 days and 7 hours ago)
|
|
|
why don't you try this in python: import C++ |
|
Mikau
|
Apr 28, 2008
(14 days and 7 hours ago)
|
|
|
It's more or less doable: http://www.suttoncourtenay.org.uk/duncan/accu/integratingpy hon.html seems like an awful lot of work just to make the language WORSE |
|
DeWayne Mann
|
Apr 28, 2008
(14 days and 7 hours ago)
|
|
|
obviously, there's a 't' missing in that link |
|
DeWayne Mann
|
Apr 28, 2008
(14 days and 7 hours ago)
|
|
|
here's a slightly more understandable wiki link: http://en.wikipedia.org/wiki/SWIG |
|
DeWayne Mann
|
Apr 28, 2008
(14 days and 7 hours ago)
|
|
|
horray! Finally a way to make python not terrible! |
|
Mikau
|
Apr 28, 2008
(14 days and 7 hours ago)
|
|
|
Thus, you should stop writing C++ and switch to python. problem solved. |
|
DeWayne Mann
|
Apr 28, 2008
(14 days and 7 hours ago)
|
|