|
hobbesmaster posted:Its 2012, you can afford a couple hundred bytes of memory. Gazpacho fucked around with this message at 03:48 on Sep 6, 2012 |
# ¿ Sep 6, 2012 03:32 |
|
|
# ¿ Apr 29, 2024 10:07 |
|
MeruFM posted:that's amazing and reminds me of something similar
|
# ¿ Sep 8, 2012 08:20 |
|
If you assume that a notation in a programming language should behave consistently with a similar notation in some other programming language or any other formal notation at all, you are making a rookie mistake.
|
# ¿ Oct 25, 2012 03:04 |
|
OK, medical IT will rob you of your sanity. But at least you get paid mad cash right? Right?
|
# ¿ Dec 8, 2012 04:40 |
|
shrughes? More like Scrooghes.
|
# ¿ Dec 26, 2012 22:08 |
|
xf86enodev posted:This is the most depressing thing I've ever read about computing. Even looking for the 'any' key sounds more reasonable. Not that I'm perfect, mind you. I had to struggle for years with the concept that machine language really doesn't work like BASIC and is something totally different. Fortunately nobody was paying for my code during that time.
|
# ¿ Dec 27, 2012 07:11 |
|
zergstain posted:Place I'm starting at in about a week uses CVS. I'm not sure how I should feel about that. Wheany posted:There is always the option of not using any version control at all. (There might be directories <product>_old <product>_old_old <product>_bak etc on the server, for example) Gazpacho fucked around with this message at 00:31 on Dec 28, 2012 |
# ¿ Dec 28, 2012 00:25 |
|
Some people just take comfort in developing the hard way that they know rather than the easy way they could learn. I also have had to repeatedly hassle a developer to move tags out of his code sections.
|
# ¿ Jan 5, 2013 23:31 |
|
That particular layout task involves common off-by-one gotchas that a novice is going to struggle with regardless of whether they use a template system. At best the use of a template system will make any bugs stand out better on review.
|
# ¿ Jan 6, 2013 06:51 |
|
A server side integer variable isn't my idea of an exorbitant cost and you are getting sort of hung up on the specifics of an arbitrary example.
|
# ¿ Jan 6, 2013 23:04 |
|
Freakus posted:Html in code is bad, but code in templates is bad. There's more code than html in all rewrites I've seen - really, what's the point either way?
|
# ¿ Jan 9, 2013 11:54 |
|
dwazegek posted:Found about a bazillion instances of this in a ASP.NET MVC3 project [Junior dev drops XHTML tag into HTML document] "Why the gently caress am I getting a warning? Stupid Macro$uck!! They can't do anything right!" [Dev changes tag to a string echo, saves day]
|
# ¿ Jan 10, 2013 14:49 |
|
Lucky you — The dev before you commented his "e-mail the error to an alias" code.
|
# ¿ Jan 11, 2013 06:44 |
|
Well if you decide to fix it be really careful and go slow and test everything. In my previous job I rewrote some copy-pasted code to about a tenth of the code size and felt really good about it until a customer site in Japan said they were broken. (I had left one of their copies out of the new version.)
Gazpacho fucked around with this message at 21:18 on Jan 11, 2013 |
# ¿ Jan 11, 2013 21:15 |
|
I know that and it doesn't change what I said.
|
# ¿ Jan 12, 2013 10:41 |
|
Problem: A procedure is too long. Solution: Django! There are options somewhere in between. Gazpacho fucked around with this message at 20:31 on Jan 16, 2013 |
# ¿ Jan 16, 2013 20:29 |
|
HORATIO HORNBLOWER posted:Can't decide if I'm proud of ashamed.
|
# ¿ Jan 18, 2013 21:05 |
|
It's totally predictable once you know the semantic rules; object fields are not in scope, except those of the global object. It's not like you're dealing with implementation bugs or DWIM madness.
Gazpacho fucked around with this message at 14:53 on Jan 20, 2013 |
# ¿ Jan 20, 2013 14:38 |
|
Contra Duck posted:
|
# ¿ Jan 21, 2013 09:24 |
|
Crossposted from YOSPOS: The ancient bug that woke up me and other devs in the middle of the night for weeks because none of us knew what valgrind was.C++ code:
Gazpacho fucked around with this message at 03:29 on Jan 23, 2013 |
# ¿ Jan 22, 2013 22:40 |
|
armorer posted:So the senior dev blamed his lovely code on the users being stupid? That is one of the most ridiculous sidesteps I've ever heard.
|
# ¿ Feb 27, 2013 22:00 |
|
All of Perl's alternative conditionals are horrors and people who use them are bad.
|
# ¿ Mar 9, 2013 03:10 |
|
Are you saying that you have to code with a line editor in 2013 CE? You're not saying that, are you?
|
# ¿ Mar 13, 2013 08:02 |
|
The Gripper posted:Australia's developer market is super trashy to enter into currently so I won't fault you for sticking with the job you have for the time being, but for the love of god make sure you mention this home-rolled BASIC setup as an issue in your next interview, don't gloss it over.
|
# ¿ Mar 13, 2013 18:29 |
|
I once patched an output encoding bug that I had no way to reproduce, by copying and pasting the offending library routines into the app, 3 calls deep, then modifying the innermost function to discard the problem characters. And I'd do it again. That ticket was OLD. Gazpacho fucked around with this message at 07:25 on Mar 25, 2013 |
# ¿ Mar 25, 2013 07:12 |
|
The command means exactly what the word says, but people used to Subversion/Perforce tend to forget that those systems "implement" content branching by not really implementing it all but making you simulate it yourself with the directory tree. This is why so many people, when they want to branch content in git, approach it as "I gots to make a new directory somewheres and copy stuffs to it." Gazpacho fucked around with this message at 08:40 on Apr 17, 2013 |
# ¿ Apr 17, 2013 06:57 |
|
Gazpacho fucked around with this message at 19:49 on Apr 17, 2013 |
# ¿ Apr 17, 2013 16:58 |
|
I apologize. My previous comment was too much like "Linux community support" sperging and not the right approach.
|
# ¿ Apr 17, 2013 19:20 |
|
Welcome to the Unix command line.
|
# ¿ Apr 19, 2013 03:36 |
|
Presto posted:The other problem is that it's insidious. Every time I think I finally have a handle on it, it does something that I can't fathom. "OK, I'll just do a pull here and... wait, how can I have a merge conflict in a file that I haven't loving touched?" Whatever the case may be, git provides you the necessary diff tracking to find out what happened and learn from it so you should do that. And god help you if you believe hacking a CVS repo is a reasonable recovery option. Gazpacho fucked around with this message at 21:32 on Apr 19, 2013 |
# ¿ Apr 19, 2013 17:27 |
|
I wish I could find the project I came across years ago, where someone had built a lazy computation system in C++ out of logical operators.
|
# ¿ Apr 20, 2013 21:59 |
|
Dren posted:I've found that you don't have to ask people about code in order to figure out that they can't code. You can weed them out before that. Ask them to explain some projects on their resume, their role on those projects, and describe a code problem they encountered.
|
# ¿ May 7, 2013 05:00 |
|
Volmarias posted:As opposed to...
|
# ¿ Jun 4, 2013 05:36 |
|
Dirk Pitt posted:The first thing you learn when you leave the sacred grounds of the computer engineering area of your local university, is throw everything they taught you about programming out the window.
|
# ¿ Jun 20, 2013 16:15 |
|
Deus Rex posted:No, people with my background are superior to all others because they're like me.
|
# ¿ Jun 21, 2013 06:09 |
|
I'm guessing it's just a series of customizations that clients asked for over an extended period and were hacked in the most immediately convenient way possible.
|
# ¿ Jun 23, 2013 06:07 |
|
Bunny Cuddlin posted:I'm tempted to post this whole code segment, but I think it's better to meditate on what someone was thinking when they wrote this line:
|
# ¿ Jun 25, 2013 04:00 |
|
You need a smaller review meeting.
|
# ¿ Jul 9, 2013 04:39 |
|
I imagine you all on the day of layoffs, sobbing and crying out "How could we fail? WE HAD A CODING STANDARD!"
|
# ¿ Jul 9, 2013 16:14 |
|
|
# ¿ Apr 29, 2024 10:07 |
|
C# code:
|
# ¿ Jul 12, 2013 04:34 |