I would appreciate it if you would comment at the top of all files you touch, "I do not know what I am doing, I apologise for anyone who has to maintain this". It might make it a little less painful, knowing you acknowledge that the work you do is only yours to do because you are the lowest bidder.Please stop padding your code (such as the following) in order to boost your line-count and make what you do look intimidating. No one with a computer science degree would ever think to write
print "<tr>\n";print "<td>\n";print $ssep;print "</td>\n";print "<td>\n";print $sseq;print "</td>\n";print "<td>\n";...
2/8/2006 6:32:55 AM
cout<<"l\n";cout<<"o\n";cout<<"l\n";
2/8/2006 6:59:11 AM
why would you want to boost line count?
2/8/2006 7:21:34 AM
some (bad) consultants charge per lines of code. or some (bad) managers rate productivity in lines of code/hour
2/8/2006 7:23:06 AM
I would think that the fee charged should be inversely proportional to the lines of code written to solve the problem.also, I frequely put multiple print statements if I'm printing out multiple lines. It makes it easier to read. (which is what you were concerned about right)
2/8/2006 8:33:25 AM
^You will end up with some very inefficient shit
2/8/2006 8:39:57 AM
ya probably but i just write little scripts and shit anywayif i were trying to be efficient, i'd use one call to the print function, but breakup the lines of code
print("bla bla bla\n bla bla bla bla\n")
2/8/2006 8:43:11 AM
He's just trolling Quinn. Learn to assume he is an idiot, and we'll all be happy here.
2/8/2006 8:44:20 AM
2/8/2006 8:45:27 AM
Go away alias.
2/8/2006 8:53:34 AM
cry me a river
2/8/2006 8:57:20 AM
Kill your pathetic existence and I promise to shed a tear.
2/8/2006 9:01:33 AM
I know this is a little off topic, but do you think that this result of bad coders, or bad coders?
2/8/2006 9:38:30 AM
http://www.thedailywtf.com
2/8/2006 9:52:03 AM
^ Funny stuff.
2/8/2006 10:03:46 AM
2/8/2006 10:57:59 AM
2/8/2006 12:10:54 PM
sorry, that's what i meant to say
2/8/2006 12:22:28 PM
Yeah, paying per line of code implies alot of trust and naivitee on the part of the firm comissioning the code. That only works if you trust they're programming the code to be as efficient as possible.
2/8/2006 1:02:38 PM
^ and code reviews should be a must, so people cant get away with the bullshit like in the first post.
2/8/2006 1:08:44 PM
i would rather deal with simple, inefficient code than clever-ass uncommented code
2/8/2006 5:35:42 PM
Many times efficient code can be than inefficient code. Mainly what matters is: does the code do what it's intended and does it perform that task within desired performance limits?
2/8/2006 5:47:26 PM
^^ i tend to agree. ease of development is often a lot more valuable than the performance hit from this kind of thing. especially in this example, where the php code mimics how you might write actual HTML.[Edited on February 8, 2006 at 5:51 PM. Reason : regex, otoh, is an unavoidable maintenance nightmare]
2/8/2006 5:49:37 PM
regex aren't hard once you're used to them.
2/8/2006 5:58:32 PM
2/8/2006 6:38:06 PM
if you don't want to run up against crappy programmers, stop doing web programming. All the dregs get into web programming before anything else.
2/8/2006 6:45:35 PM
I'm surprised that americans are still doing web programming
2/8/2006 7:23:41 PM
if you don't want to run up against crappy programmers, stop doing web programming.All the dregs get into web programming before anything else.
2/8/2006 7:29:46 PM
preg_match("|^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$|", $string);
print "<td>\n";print $ssep;print "</td>\n";
2/8/2006 11:48:54 PM
to
print "<td>$ssep</td>\n";
2/9/2006 2:28:50 PM
good job
2/9/2006 2:30:19 PM
outsourcing to india is great
2/10/2006 12:34:01 AM
whats that from
2/10/2006 12:40:42 AM
just want to pay half the price for a programmer? be prepared to only half understand what he says.
2/10/2006 12:53:55 AM
echo '<tr>','<td>',($value) ? 'yes' : 'no','</td>','</tr>';
2/10/2006 1:21:10 AM
^^^issue in AccuRev from a tester in India^^He's just a tester
2/10/2006 9:32:33 AM
I wouldn't consider most web development Software Development at all.
2/10/2006 10:04:58 AM
^^ I deal with that same shit all to often
2/10/2006 10:21:16 AM
I've never seen an actual useful, working, compiled application come from any NCSU undergrad except for that kid who got sued by Apple.Until I see your name on the Photoshop/Firefox/MSWord credits STFU about who is this or that.
2/10/2006 10:49:55 AM
hello SAS
2/10/2006 11:57:10 AM
I new some of you would blame it on India...
2/10/2006 12:25:12 PM
Wolftrap, ever use an SE phone?A Cisco router?MS application suites?Make a phone call over a Nortel Switch?etc.NC State grads have done a fuckton of usefull stuff. Just because you haven't heard of it doesn't mean it doesn't exist.My senior design group alone has 3 members that could probably hold their own with 20 year+ experienced engineers and software developers and there are at least 4 other groups that could boast that. State graduates some very smart people.
2/10/2006 1:35:14 PM
undergrad
2/10/2006 2:04:35 PM
OMFG name a freshman in his first semester who has single-handedly programmed enterprise-level server software for fortune 500 companiesEHEHE NCSU IS SO DUM STFU EHEHE[Edited on February 10, 2006 at 3:09 PM. Reason : *hiccup*]
2/10/2006 3:08:51 PM
^ I wrote software for RedHat as an undergrad [/brag]
2/10/2006 3:25:24 PM
single-handedly/wolftrap
2/10/2006 3:30:52 PM
2/10/2006 7:29:17 PM
I run/wrote a ridiculously large website and have since my junior/senior year of high school.It's not compiled, but I think it should count.[Edited on February 10, 2006 at 9:09 PM. Reason : .]
2/10/2006 9:07:32 PM
i fully admit that i quit paying attention to good code long ago.this is why my crap won't show up correctly in firefox.there, i've said it.the first step to recovery is admitting that you have a problem.
2/10/2006 10:03:15 PM
I agree with Stein, all web developers should fall into the category "bad coders".
2/10/2006 10:55:20 PM