|
tef posted:similarly old editors like vi and emacs being popular show that we haven't really progressed in terms of interface either. Not really. Newer software is easier to get up to speed on. Some may argue that nothing new is as fast to edit in as vi or emacs, but that's arguable and besides, it's a reasonable trade-off for many. In other words, I don't think your case is as airtight as you presume.
|
# ¿ Dec 15, 2010 04:29 |
|
|
# ¿ May 19, 2024 14:24 |
|
Ryouga Inverse posted:It was said on a Starcraft forum but it holds true everywhere: People don't post on forums because they want to be helpful or to discuss things. They post on forums because they want to be right. I like that. I will use that quote in the future. I find that if you don't want to be a douche, try to interpret other people's comments/questions in the most charitable way possible. For example, with the code under question, you could assume the guy is an idiot, or you could assume he's just ignorant.
|
# ¿ Jan 17, 2011 00:29 |
|
Hammerite posted:Why shouldn't it? (In general, not in this specific situation.) For the reason it's being talked about here. Bucking convention just confuses people. Confusing people is sometimes a painful step needed to implement change for the better, but change for changes sake isn't "for the better".
|
# ¿ Mar 3, 2011 17:59 |
|
MononcQc posted:If the behavior is well-documented, convention is only a preconception the programmer brings to the table to get himself confused. Very true. You still end up with lots of confused programmers, though.
|
# ¿ Mar 3, 2011 18:22 |
|
tef posted:there was nothing on the knife that said don't place in eye socket. I like you.
|
# ¿ Mar 11, 2011 23:51 |
|
Dren posted:As someone who has spent a lot of time sitting, thinking of a good name for something when I could've been coding instead I find this bit very encouraging. Doesn't that mean you've wrote a lot of bad code? I would find that discouraging.
|
# ¿ Mar 15, 2011 05:38 |
|
MEAT TREAT posted:Like you only poo poo out gold nuggets? No. I wasn't being disparaging anyone. I was saying that from what he said, I didn't get how it would be encouraging. Person 1: "I spend lots of time trying to come up with names" Person 2: "Spending lots of time on naming is a bad sign." Person 1: "I find that encouraging!" Me: "What?"
|
# ¿ Mar 15, 2011 08:04 |
|
NotShadowStar posted:Every time I read Python code or the bizarre things that Python does I wonder how the hell that language caught on. It's like someone's academic experiment that broke out of the lab. Funnily enough, every time I read Python code I wonder how come it's not even more popular.
|
# ¿ Mar 29, 2011 18:05 |
|
I have no idea why I don't like dealing with XML, but I'll often skip using or working on a project just because I'd have to work with XML. I'm a fickle bitch, I guess.
|
# ¿ Apr 4, 2011 20:13 |
|
Aleksei Vasiliev posted:
I got a good laugh out of that. Needlessly constructing one liners at the sake of readability is AWESOME.
|
# ¿ Apr 9, 2011 07:45 |
|
ninjeff posted:If you're referring to the filter, that's not that bad; he was probably in the middle of refactoring it from when IsItemDraggable was a string or something, and got called to work on something else. I'm glad I'm not the only one. It's not pretty, but to my amateur self it didn't seem like a horror.
|
# ¿ May 7, 2011 23:18 |
|
Amtiskaw posted:The horror was the parsing of a string literal to bool to compare to a bool, Hah! I skimmed right over that.
|
# ¿ May 8, 2011 07:51 |
|
A A 2 3 5 8 K posted:For some reason I've never been able to figure out, software developers can solve complex problems every day but most act like they have the capabilities of a drooling retard when it comes to reading code that isn't formatted the way they're used to. As if it isn't trivial, and a small inconvenience at most, to switch between reading code with braces or not-braces, different whitespace rules, or whatever. To be fair, it seems like whatever code style you're used to is less of an intellectual thing that you can just reason yourself around and more of a preference issue. It's like...I can't stand the taste of fish. I know that most people like fish, and that there is nothing wrong with fish, but that doesn't mean I can just logic myself into enjoying the taste. I cut my teeth on Python, but have been doing most of my recent work in Java. I just feel...uncomfortable...reading and writing it. Of course, I don't go around trying to tell people that the "look" of Java is wrong, either.
|
# ¿ May 10, 2011 18:06 |
|
Jabor posted:Whoah, this language does DWIM on English as well? Haha!
|
# ¿ May 12, 2011 00:22 |
|
BigRedDot posted:So of course our software was fragile, barely functioning garbage. But lots of people at the lab had no basis for comparing it to robust, documented, or maintainable software, so they all thought our stuff was hot poo poo, as opposed to steaming poo poo. It seems like that's often the case when a company doesn't view software as their product but as something they have to do to make their awesome widget work.
|
# ¿ May 14, 2011 16:39 |
|
I can't stop lauging about the Code Composer Studio Monitor. That's fantastic engineering!
|
# ¿ May 17, 2011 07:07 |
|
quote:One security expert familiar with the investigation wondered how the hackers could have known to breach security by focusing on the vulnerability in the browser. “It would have been hard to prepare for this type of vulnerability,” he said. The security expert insisted on anonymity because the inquiry was at an early stage. What? I suspect he insisted on anonymity because he's just smart enough to realize he's dumb. I'm not a security expert at all, but have heard of these type of attacks for a decade.
|
# ¿ Jun 14, 2011 22:22 |
|
Lysidas posted:The pressures that we're under in academia ("publish or perish") are guaranteed to produce horrible code that works just well enough to get results out of. Good luck to others who want to reproduce your work!
|
# ¿ Jun 15, 2011 22:27 |
|
GrumpyDoctor posted:I get the impression that there are an awful lot of scientists out there who could really use a software engineer just attached to their groups to, well, actually engineer their software. I basically have that job, and I think it's the best thing ever. This does sound like a great job. I love science and software and helping people. I think I'll take your job, ok?
|
# ¿ Jun 16, 2011 00:53 |
|
Lysandus posted:So he took a date, made it a string, parsed a date from that string and turned that date into a string... I do that sort of thing semi-often when I'm coding late at night, tired, and haven't planned out what I'm doing ahead of time. I like it because I always get a laugh out of it when I come back the next day to see why my code is weirding out on me.
|
# ¿ Jul 15, 2011 22:33 |
|
Zamujasa posted:We don't use any version control system. I'd go on a rampage.
|
# ¿ Jul 27, 2011 19:49 |
|
Ogive posted:Nobody is going to live or die if an opening brace is on the same line or the next line as an if statement. I don't think you've met many of the programmers I know.
|
# ¿ Jul 29, 2011 20:02 |
|
Lurchington posted:pep8 supremacy 79 characters I'm a more advanced Python programmer than I am a Java programmer, but it seems like it's a lot easier to keep your lines short and readable in Python than it is in Java. Also, PEP8 supremacy!
|
# ¿ Jul 29, 2011 23:25 |
|
code:
code:
|
# ¿ Jul 30, 2011 17:17 |
|
code:
Mustach posted:How do you quantify the difference? How do you quantify that red is your favorite color instead of green? It just looks better and easier to read to me.
|
# ¿ Jul 30, 2011 17:29 |
|
tef posted:can anyone spot the bug in the binary search? The worst part about being self-taught/un-educated in programming is that I've noticed this bug several times, but thought I just didn't understand what was really going on.
|
# ¿ Nov 16, 2011 22:29 |
|
AlsoD posted:These last few pages have convinced me that my current plan of avoiding C++ in favour of Haskell or, if I'm desperate and tired, Java is probably not the greatest career move. Is there a handy guide to C++ templates? Are they comparable to Haskell's type system? Someone can correct me if I'm wrong, as I'm not a professional programmer, but... It's my understanding that Java, despite it's shortcomings, is a very widespread "pro" language in use by lots of places that pay people to write software. So, if that's what you mean by "not the greatest career move", you may be wrong.
|
# ¿ Nov 29, 2011 19:23 |
|
Get this guys: sometimes I use an ORM and sometimes I use SQL. I'm loving crazy.
|
# ¿ Dec 11, 2011 21:17 |
|
Tw1tchy posted:Hahah, dang, it's spread all over twitter now. Even Garry Newman, the maker of GMod is laughing at it a bit. I mean, yes, I feel sorry for them, but come on, if you coded it this way, okay, that's a problem you can fix, but being arrogant about it? That's where the real problem was. Yeah, I agree. Maybe it's just the fact that I've done my own share of stuff like this merely because I didn't know better. The response of the dev is the real horror.
|
# ¿ Dec 24, 2011 19:37 |
|
The Gripper posted:How about a language where whitespace is significant, and tabs and spaces are treated differently? Impossible. No one would ever be productive in such a language, and even if they could they certainly could not enjoy such a language.
|
# ¿ Feb 3, 2012 23:28 |
|
The Gripper posted:The worst is with concurrency frameworks and the like, where the most promising looking example is almost always some complex mathematical computation which probably looks clean and makes a lot of sense to someone that knows that particular math, but to anyone else it's difficult to separate "here's the code I need to use to implement this for my own use" from the "holy god m=p*x ^ 7; _,x=sub1(-y^(x)^add1(m));" part. I find this general thing to happen with the documentation on an un-trivial number of libraries. That is, illustrating usage of the library with examples that seem too domain-specific or outside of the knowledge base of a significant portion of their users. I can understand why this happens, and that sometimes it's the best illustration, but I don't like it!
|
# ¿ Mar 16, 2012 19:55 |
|
I like how almost every time someone posts a horror someone else knows why it's not a horror or not as horrible as it first seems. I think it means there are no horrible programmers.
|
# ¿ Apr 5, 2012 04:21 |
|
This is probably a coding horror in and of itself, but I can't stand XML and I can't really articulate any reason that an XML-defender couldn't give an answer of some sort to.
|
# ¿ Apr 27, 2012 22:15 |
|
Suspicious Dish posted:No, I'm talking about the format that ClientRegistry.blob is in. It's a custom binary format, magics 0x5001 (uncompressed) and 0x4301 (zlib compressed). I don't think the format has been written up before. I, along with a few other people, reverse engineered it, so let me write a bit about it. I would love to hear the story from Valve about why the hell they did this.
|
# ¿ May 1, 2012 17:24 |
|
As a hobbyist who has maybe 5 years of hobbyist experience... I find answers on SO via Google all the time, but if I ask a question on there its not uncommon to not get a good answer. I think this is because all the easy to answer questions have already been asked.
|
# ¿ May 2, 2012 03:16 |
|
SlightlyMadman posted:At my last job, the CTO had the most horribly formatted code I'd ever seen in my life. I ended up using python for as much of my new development as I possibly could, just to avoid him going in and mangling my code. He tried to mess with it a few times but he could never get anything to compile so we just reverted his changes. He was also a terrible programmer, so this was quite a blessing. I've never worked anywhere with a CTO, but it seems odd that one would be writing code.
|
# ¿ May 9, 2012 14:55 |
|
floWenoL posted:In today's edition on how not to launch a product: Every single time I release something into the wild I'm biting my nails wondering if I made some horrific fuckup like this.
|
# ¿ May 24, 2012 17:44 |
|
Ithaqua posted:I think code reviews should be done on any team with more than one developer, personally. A thread for single developers to review each others code. Good idea or bad? Since I'm entirely self taught and haven't worked with any other developers before (besides minor-ish contributions to open source projects where I didn't really work with anyone else, I just fixed stuff and submitted it), I think I'd benefit a lot from code reviews.
|
# ¿ Jun 13, 2012 18:46 |
|
Zombywuf posted:When I'm a particularly low ebb I think about all the office productivity software that is effectively written as an emulation layer for the business practices of the 1950s and just how much this is holding us back as a civilisation. +1 Not that I know there's better ways of handling business or whatever, but it always saddens me that so much software is like...well...here's a typewriter on your screen, here's a ledger on your screen, here's a Rolodex on your screen, etc.
|
# ¿ Jun 19, 2012 23:40 |
|
|
# ¿ May 19, 2024 14:24 |
|
npe posted:I can vouch for how at least how one major US bank works... transfers were done via what amounted to timed FTP jobs of text files which listed each transaction. These transfers frequently failed and had to be restarted, involving manual effort to rerun the transactions that hadn't processed yet. Naturally, this was a 24x7 department of people to monitor these jobs (which ran 5 times daily, as I remember) and repair them when they failed. gently caress banks. Just clear transactions as soon as I do them! This is the god drat 21st century, yet you insist on these stupid pending transactions and all sorts of poo poo that doesn't make any sense except to irritate me.
|
# ¿ Jun 21, 2012 23:08 |