Click here to Skip to main content
15,920,828 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionI can't get variables from forms Pin
blackhattrick16-Sep-08 10:18
blackhattrick16-Sep-08 10:18 
AnswerRe: I can't get variables from forms Pin
Kristian Sixhøj23-Sep-08 1:00
Kristian Sixhøj23-Sep-08 1:00 
AnswerRe: I can't get variables from forms Pin
Mohammad Dayyan24-Sep-08 16:22
Mohammad Dayyan24-Sep-08 16:22 
AnswerRe: I can't get variables from forms Pin
Ranjit Viswakumar29-Jan-09 13:52
Ranjit Viswakumar29-Jan-09 13:52 
QuestionWhat's python's claim to fame? Pin
MikeMarq14-Sep-08 18:42
MikeMarq14-Sep-08 18:42 
AnswerRe: What's python's claim to fame? Pin
Paul Coldrey7-Oct-08 15:14
professionalPaul Coldrey7-Oct-08 15:14 
GeneralRe: What's python's claim to fame? Pin
MikeMarq20-Oct-08 3:07
MikeMarq20-Oct-08 3:07 
GeneralRe: What's python's claim to fame? Pin
Paul Coldrey20-Oct-08 13:06
professionalPaul Coldrey20-Oct-08 13:06 
Lots of languages have restrictions on certain types that stop you treating them as genuine objects. For example C# won't let you inherit an int or override any of its methods. The reason they do this is for speed because it means that for these "special" types they don't need to do any virtual function lookups. In Python everything is a "real" object. Hence when you say 1+1 Python goes off and does a virtual function lookup for the (int) + (int) function,... and you can override this function if you are insane. The clever thing is that because Guido knew this could be a performance issue he optimised the VF lookup really well and this is part of the reason why Python is so much faster than you would expect. All the VF lookups (And other object oriented overheads) are outrageously fast and they more than offset the extra calls that are required to keep the language clean. Obviously making 1+1 implement 1-1 is not a good idea,... however, suppose you want to count how many additions are happening in a given piece of code as an optimisation metric,.. in Python you can override '+' and add some code to count the number of times it is called. Sounds like a small thing,... but you would be surprised how many optimisation-based limitations there are in C# and some of them get really annoying when you are trying to write pretty mundane code.

Paul Coldrey
http://www.lumient.com.au/

GeneralRe: What's python's claim to fame? Pin
MikeBeard27-Jan-09 5:36
MikeBeard27-Jan-09 5:36 
AnswerRe: What's python's claim to fame? Pin
MikeBeard27-Jan-09 5:45
MikeBeard27-Jan-09 5:45 
GeneralRe: What's python's claim to fame? Pin
Anonymous3-Apr-09 12:04
Anonymous3-Apr-09 12:04 
GeneralRe: What's python's claim to fame? Pin
Anonymous24-Apr-09 17:17
Anonymous24-Apr-09 17:17 
Questionkernel programing in linux Pin
gulavaniashish11-Sep-08 23:44
gulavaniashish11-Sep-08 23:44 
QuestionDot Net Framework for Linux Platform Pin
Lakul5-Sep-08 23:07
Lakul5-Sep-08 23:07 
AnswerRe: Dot Net Framework for Linux Platform Pin
avdesh1225-Sep-08 10:29
avdesh1225-Sep-08 10:29 
AnswerRe: Dot Net Framework for Linux Platform Pin
DevMentor.org24-Oct-08 18:00
DevMentor.org24-Oct-08 18:00 
QuestionPopulation of the BPB in MBR Pin
Franz Klein5-Sep-08 8:51
Franz Klein5-Sep-08 8:51 
Questionperl loop issue Pin
rdx128-Aug-08 23:16
rdx128-Aug-08 23:16 
AnswerRe: perl loop issue Pin
jschell22-Mar-09 9:31
jschell22-Mar-09 9:31 
AnswerRe: perl loop issue Pin
Member 38111902-Sep-09 1:45
Member 38111902-Sep-09 1:45 
Questionphpmailer Error (Could not instantiate mail function)? Pin
Mohammad Dayyan28-Aug-08 11:17
Mohammad Dayyan28-Aug-08 11:17 
AnswerAnswer of this error : Pin
Mohammad Dayyan29-Aug-08 12:21
Mohammad Dayyan29-Aug-08 12:21 
Questionfedora 8 pgadmin3 Pin
omer erakman26-Aug-08 0:07
omer erakman26-Aug-08 0:07 
QuestionWhat's the meaning of & sign here ? Pin
Mohammad Dayyan22-Aug-08 12:33
Mohammad Dayyan22-Aug-08 12:33 
AnswerRe: What's the meaning of & sign here ? Pin
luayessa24-Aug-08 1:57
luayessa24-Aug-08 1:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.