autofocus Posted January 7, 2010 Share Posted January 7, 2010 Hi. as i am coding and learning more, it is becoming difficult to manage code snippets. how you manage your code snippets? please list some good snippet managers. i tried snippely but it does not have backup/restore function. another one i tried is http://www.air-tutorial.com/snippet-manager. Quote Link to comment https://forums.phpfreaks.com/topic/187648-need-good-snippet-manager/ Share on other sites More sharing options...
ignace Posted January 8, 2010 Share Posted January 8, 2010 how you manage your code snippets Simple. I don't. As a programmer you always learn new things and you actually have no use in snippets as by the time you come across the same problem you will be able to write a more efficient solution. Plus having a good memory helps aswell. I for example can look at someone's code see how he did things and apply it a few years later. Quote Link to comment https://forums.phpfreaks.com/topic/187648-need-good-snippet-manager/#findComment-990887 Share on other sites More sharing options...
Catfish Posted January 8, 2010 Share Posted January 8, 2010 Yeah I rarely find I ever will reuse a piece of code unless it is a very broad piece of code like a function that will connect to a database, select the database and return false if anything fails. If I end up looking at code I did a while ago, like ignace said, you will probably have learnt a better way of doing it so you re-write the code again... only... better. Since I have a really bad memory, I put the php manual on my quick launch tool bar. Quote Link to comment https://forums.phpfreaks.com/topic/187648-need-good-snippet-manager/#findComment-990923 Share on other sites More sharing options...
ignace Posted January 8, 2010 Share Posted January 8, 2010 Since I have a really bad memory, I put the php manual on my quick launch tool bar. Actually there is a much faster way atleast if you are using Firefox just type in your url address bar: php function_name This will point you immediatly to the correct page (well atleast most of the times as this is the same as choosing "I'm feeling lucky" in Google). Another possibility is downloading the PHP manual add-on (https://addons.mozilla.org/nl/firefox/addon/8984). Quote Link to comment https://forums.phpfreaks.com/topic/187648-need-good-snippet-manager/#findComment-990973 Share on other sites More sharing options...
autofocus Posted January 11, 2010 Author Share Posted January 11, 2010 Thanks for replies. i liked http://sourceforge.net/projects/snippetmanager/ Quote Link to comment https://forums.phpfreaks.com/topic/187648-need-good-snippet-manager/#findComment-992529 Share on other sites More sharing options...
jeremy0 Posted January 11, 2010 Share Posted January 11, 2010 I agree with the replies - <i>if</i> i use code snippets, it's only because it's a general or commonly-done task, and it's always updating each time... Quote Link to comment https://forums.phpfreaks.com/topic/187648-need-good-snippet-manager/#findComment-992533 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.