|
mr_jim posted:I don't have a lot of C++ experience. What's the horror here?
|
# ¿ Aug 20, 2009 15:40 |
|
|
# ¿ May 15, 2024 04:01 |
|
Avenging Dentist posted:No one uses "volatile" for anything but primitives, and even that is rare, so it's not like anyone would notice. *: not great.
|
# ¿ Aug 20, 2009 18:54 |
|
Please tell me you are a teacher who is grading a high school student's homework.
|
# ¿ Sep 2, 2009 18:11 |
|
jarito posted:I've seen MUCH worse on our exam we give to people applying for jobs.
|
# ¿ Sep 2, 2009 23:30 |
|
Yeah I have been interviewed by no less than 6 people over the course of a few hours by a number of companies and not a single one of them seemed interested in my coding ability. Most just wanted to know if I'd "fit the culture." Then one time someone asked me to solve a simple parallelization problem and it took me about 30 seconds, the guy was so surprised it seemed he would faint. What's funny is usually the 5th or 6th interviewers would start off with something like, "Well I'm sure you've seen enough technical problems and written enough code already, seeing as you've been here for hours..." "Actually no, I haven't seen any of either." It's like no one actually wants to ask technical questions or make coding problems if they don't have to.
|
# ¿ Sep 3, 2009 14:52 |
|
I'd have to agree with AD. I work with some people who couldn't have a normal conversation with someone outside their field of work (or much of the time inside their field of work), especially if they tried. But they get their job done just fine.
|
# ¿ Sep 3, 2009 19:25 |
|
So that pretty much describes my boss
|
# ¿ Sep 3, 2009 19:40 |
|
C++:code:
|
# ¿ Sep 29, 2009 14:09 |
|
code:
|
# ¿ Dec 10, 2009 01:43 |
|
code:
|
# ¿ Jan 31, 2010 20:50 |
|
Zombywuf posted:Or simply automate a process to collect the warnings, svn blame to get the developer from the file and line number and email them the relevant lines from the error log. I work with BigRedDot, and I have emailed people about warnings and bugs before. Never has an email I sent out about a bug or warning resulted in the bug or warning being fixed. And every time I've fixed a bug or warning in a library I didn't initially write, it's caused my boss to respond with, "you shouldn't be wasting your time with that. Don't compile with -Wall. If the warning isn't on by default then just ignore it." My boss is the guy who created our build system. Features of our build system:
|
# ¿ Feb 8, 2010 17:31 |
|
Janin posted:
|
# ¿ Mar 17, 2010 16:35 |
|
code:
|
# ¿ Mar 29, 2010 22:36 |
|
TagUrIt posted:
ymgve posted:
|
# ¿ May 14, 2010 06:12 |
|
My co-worker came to me today asking how he could make it a compile time error to access an element in a map via operator[]() for when that element didn't exist in the map. He explained the bigger problem to me like this: "I want to be able to be like map[blah] or whatever but the problem is that if there's no entry for blah then it will insert an invalid pointer into my map!" I told him to check if blah exists in the map before trying to access map[blah]. He actually laughed at me and told me that would be ludicrous. He is currently trying to figure out how to write a "smart" pointer that will throw an exception when default constructed as a replacement for putting bare pointers in a map.
|
# ¿ May 21, 2010 20:53 |
|
Your tax dollars at work folks (if you're American that is).
|
# ¿ May 21, 2010 20:58 |
|
lumberjack4 posted:Has he ever written error handling in any of his code?
|
# ¿ May 21, 2010 21:00 |
|
No sorry there's a currently a hiring freeze in effect. I'm afraid you'll have to go ask non-retarded questions elsewhere for now.
|
# ¿ May 21, 2010 22:00 |
|
Lexical Unit fucked around with this message at 23:16 on Mar 4, 2020 |
# ¿ May 21, 2010 23:40 |
|
code:
|
# ¿ Aug 31, 2010 17:24 |
|
So my boss comes into my office the other day and says that we've sold some Canadian group on our display system. They only have one request, that we change all Imperial units to SI. This is a nightmare because there's no structure or coherence to any of the GUIs we write. Each display and each dialog window is the pet project of someone, some single person, who works on it alone with no peer review, and no standards to guide them. But I shouldn't fear because my boss has the solution! He picked up a dry erase marker and wrote this on my white board: ENV_VAR_UNITS_CONVERSION_FACTOR="0.9144" The solution is so obvious!
|
# ¿ Mar 31, 2011 02:51 |
|
NotShadowStar posted:Sorry about your floating point future hell. Thank gord my boss doesn't work in finances, because I'm sure he'd use floats to store money. Instead he works in the defense industry where things like "quality" and "corectness" are of no real concern.
|
# ¿ Mar 31, 2011 04:10 |
|
I just replaced about 500 lines of lovely C++ with about 10 of Boost.Spirit. Here's a taste of what I just vanquished (formatting preserved): code:
Lexical Unit fucked around with this message at 20:08 on May 19, 2011 |
# ¿ May 19, 2011 20:04 |
|
We have to submit powerpoint slides each week for a group meeting. For my next slide I added a bullet to the Issues section: "Overcoming the cognitive dissonance I get from seeing yards and meters on the same graph." I do so love working here.
|
# ¿ Jun 13, 2011 21:46 |
|
NotShadowStar posted:fffffffffffffff goddamn I'm getting PTSD
|
# ¿ Jun 15, 2011 19:44 |
|
My boss just came into my office and told me he's putting using namespace std; in a header file I wrote because his textual parser for some swig whatever doesn't recognize std::string, just string.
|
# ¿ Jun 16, 2011 15:59 |
|
|
# ¿ May 15, 2024 04:01 |
|
TasteMyHouse posted:can you at least convince him to use using std::string;?
|
# ¿ Jun 16, 2011 19:09 |