Guest askjames01 Posted April 30, 2006 Share Posted April 30, 2006 Before i'll start asking questions i would like to inform you that this thread is exclusive for peoplethat has advance coding ability and comprehension regarding PHP programming.-You must know how to read large coding and complicated and advance codes written by some other programmers.-You must know how to modify large coding the same above.-You must know how to analyze large project and know how to organize the project.-you must be knowledgeable to implement large coding.-you must be skillful to divide the large project into modules.-and many more...so here it goes...so Real Hardcore Gurus of programming.Can you share to me some of your good habits on how to be like with you?1. What attitudes that a programmer must have?2. What habits should a programmer must adopt to be a hardcore?Everyday, every hour i'm trying to think only programming and coding php.i seat down in the front of my computer every morning, every night, if i have ample time to do coding.and i'm trying to not to watch t.v. as often as i can avoid it.'i'm going to smash that t.v. it's evil!' :)so what must a simple programmer should do?-/james/ Quote Link to comment https://forums.phpfreaks.com/topic/8760-hardcore-programmer/ Share on other sites More sharing options...
Guest askjames01 Posted May 1, 2006 Share Posted May 1, 2006 i must be losing my mind that i wrote this thread.am i? Quote Link to comment https://forums.phpfreaks.com/topic/8760-hardcore-programmer/#findComment-32296 Share on other sites More sharing options...
neylitalo Posted May 1, 2006 Share Posted May 1, 2006 I don't think there are really any particular attitudes that you need to have, but you certainly do need to develop good habits. Some habits that are good to get into:[list][*]Always, always make your code portable. Use <?php instead of <? (in the case of PHP), don't depend on register_globals, etc.[*]If your code could be reused, put it in a function. Don't even copy and paste, unless you are going to make substantial changes.[*]Indent code when you can - it makes it sooo much easier to read.[*]Use HEREDOC syntax for quoting instead of escaping quotes, if you can - it's much easier to read that way, too.[/list]And I'm sure there are several other habits, theories, and ideas that you can learn from a computer science class. Quote Link to comment https://forums.phpfreaks.com/topic/8760-hardcore-programmer/#findComment-32365 Share on other sites More sharing options...
Barand Posted May 13, 2006 Share Posted May 13, 2006 As well as for code used in several places, I use functions/methods to break the problem down into smaller chunks eg[code]switch ($_POST['action']) { case 'add' : displayItemForm(); break; case 'edit' : displayItemForm ($id); break; case 'insert' : addNewRecord(); break; case 'change' : updateRecord ($id); break; case 'delete' : deleteSelectedRecords(); break;}function displayItemForm($id=0) { // echo form code here}function addNewRecord() { // insert form data into new record}// etc.[/code] Quote Link to comment https://forums.phpfreaks.com/topic/8760-hardcore-programmer/#findComment-35526 Share on other sites More sharing options...
Guest askjames01 Posted May 13, 2006 Share Posted May 13, 2006 [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /] Yahoooooooooooooo...!thanks GOD Barand replied i know you are a hardcore programmer.i saw your personal website and the projects that you have done are really amazing.... :)I knew it!, you are really a hardcore programmer, no doubt...because i noticed that when it comes to this forum you don't say too many blah, blah andjust simply solve the problem...Mr. Exalted "Eric Rosebrock" i recommend Barand to be the admin too... his the true SUPER GURUhere... :) Quote Link to comment https://forums.phpfreaks.com/topic/8760-hardcore-programmer/#findComment-35534 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.