The Little Guy Posted March 17, 2009 Share Posted March 17, 2009 I found this quote about one of my sites... this code is ass. i'm far from a PHP pro and i can finger paint better code than this. i don't mind PHP newbies, we've all got to start somewhere, but sites like this spread junk code which only adds fuel to the "PHP sucks" fire. Would anyone agree or disagree about any of this? I have never really gotten any feedback about my coding abilities, or the coding on my site. Does anyone have an feedback for me? url: http://phpsnips.com Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/ Share on other sites More sharing options...
Daniel0 Posted March 17, 2009 Share Posted March 17, 2009 Which particular script would that be? Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-786786 Share on other sites More sharing options...
The Little Guy Posted March 17, 2009 Author Share Posted March 17, 2009 Just all of them in general. Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-786787 Share on other sites More sharing options...
jackpf Posted March 17, 2009 Share Posted March 17, 2009 Lol I dislike your style of coding: if(foo()) { bar(); } I find this much easier to read: if(foo()) { bar(); } But it's entirely personal preference. Apart from that I don't really see any problem with it. I mean, everyone has their own styles of coding. Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-786856 Share on other sites More sharing options...
syed Posted March 17, 2009 Share Posted March 17, 2009 The Little Guy, Nice site, dont worry about the comment. Keep it up. Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-786964 Share on other sites More sharing options...
The Little Guy Posted March 17, 2009 Author Share Posted March 17, 2009 Thanks guys Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-787049 Share on other sites More sharing options...
TheFilmGod Posted March 18, 2009 Share Posted March 18, 2009 No, I think your code is pretty good. I do have a concern though - it might be just me, but I really don't find how some of those code snippets are really worthwhile looking over or just "useful." Instead of aiming for "quality" of the code. why don't you focus writing scripts that people are most prone to use/need. For example -> Simple session script, simple mysql login, mysql add new table, validating name/email, etc. Higher demand > high quality of rarely used scripts Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-787325 Share on other sites More sharing options...
The Little Guy Posted March 18, 2009 Author Share Posted March 18, 2009 For example -> Simple session script, simple mysql login, mysql add new table, validating name/email, etc. haha, I have a few of those they just don't seem to get the good ratings though... For some reason, people like the useless ones that do cool things, such as my "jpeg to ascii converter", it has the highest score (probably mostly bots), and the most views. But I do like the new ones you pointed out, I'll add some of those, Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-787459 Share on other sites More sharing options...
waynew Posted March 18, 2009 Share Posted March 18, 2009 Thanks guys Seriously. Your code sucks so badly that it makes me want to go around punching babies in the face. In all fairness (and honesty)... whatever dude; don't let some random guy get to you. Be strong, like me. Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-787671 Share on other sites More sharing options...
Maq Posted March 18, 2009 Share Posted March 18, 2009 Just get ideas from this forum, look for repeated questions and make a snippet/tutorial for it. Quote Link to comment https://forums.phpfreaks.com/topic/149830-coding-quality/#findComment-787673 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.