Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1075932 Posts in 44152 Topics- by 36119 Members - Latest Member: Royalhandstudios

December 29, 2014, 04:18:26 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)The grumpy old programmer room
Pages: 1 ... 213 214 [215] 216 217 ... 236
Print
Author Topic: The grumpy old programmer room  (Read 437342 times)
Klaim
Level 10
*****



View Profile WWW
« Reply #4280 on: August 27, 2013, 11:32:49 AM »

If you fail for too long to see the problem, maybe invest some time in trying a static analysis tool, they are good at finding the source of such kind of errors.
Logged

http://www.klaimsden.net | Game : NetRush | Digital Story-Telling Technologies : Art Of Sequence
DantronLesotho
Level 1
*



View Profile
« Reply #4281 on: August 27, 2013, 11:35:27 AM »

A* pathfinding shouldn't be so difficult to conceptualize in the framework of a language. Sure it's easy to say "you check this and this and this" but to get it together in a reasonable manner (for the first time anyway) maddening.
Logged

"Somewhere, something incredible is waiting to be known." -Carl Sagan
Geti
Level 10
*****



View Profile WWW
« Reply #4282 on: August 27, 2013, 08:18:18 PM »

Re: A* almost every explanation of it I've seen is shitty and I think that's a large part of the problem. My condolences.
Logged

Kekskiller
Guest
« Reply #4283 on: August 28, 2013, 02:08:26 AM »

Only thing I needed to understand it was a well-made animated iteration with different colors different parts/positions of the algorithm. The associated text, however, always sucked and didn't really do much. I think Wikipedia did it rather well.
Logged
Kekskiller
Guest
« Reply #4284 on: September 04, 2013, 06:05:55 AM »

I just met a C++ programmer who didn't know what fclose does. Yes, fclose. A muthafackin FCLOSE.
I hope he was on drugs or so. It can't be that bad, can it.
Logged
Polly
Level 4
****


View Profile
« Reply #4285 on: September 04, 2013, 06:09:32 AM »

I just met a C++ programmer who didn't know what fclose does.

To be fair, fclose is ( a remnant of ) C .. not C++.
Logged
Graham-
Level 10
*****


ftw


View Profile
« Reply #4286 on: September 04, 2013, 06:18:20 AM »

I met a lisp programmer who didn't know what a list was. Then I realized he didn't know what anything else was, so didn't need a word for list.

what's c++
Logged
Kekskiller
Guest
« Reply #4287 on: September 04, 2013, 06:26:52 AM »

I just met a C++ programmer who didn't know what fclose does.

To be fair, fclose is ( a remnant of ) C .. not C++.

That doesn't matter. It's as part of C++ as of C and I'd expect a C++ programmer to atleast know the standard library cause C++ doesn't cover everything. It's an expression of how barely some C++ programmer know what actually behind all their C++ stuff. That's why I'm grumpy.
Logged
Graham-
Level 10
*****


ftw


View Profile
« Reply #4288 on: September 04, 2013, 06:39:46 AM »

what makes a language a language?

can he express ideas competently in c++? I know guys who know apis out their ears, but then they use objects improperly. what defines improper? clearly less clear than what is otherwise available, less secure, less robust - however you want to describe it.

I don't know any language really. But if you gave me a task I'd just start coding it. I'd decide the language later, even if I already have a given compiler/interpreter Smiley.
Logged
Polly
Level 4
****


View Profile
« Reply #4289 on: September 04, 2013, 06:39:53 AM »

That doesn't matter. It's as part of C++ as of C and I'd expect a C++ programmer to atleast know the standard library cause C++ doesn't cover everything.

To be fair, C++ does cover file I/O ( f/if/ofstream ) Wink
Logged
Kekskiller
Guest
« Reply #4290 on: September 04, 2013, 06:43:35 AM »

Have you lost your minds? This is the grumpy programmer room, don't even attempt to turn my mood right now.

To be fair, C++ does cover file I/O ( f/if/ofstream ) Wink

And now think about how this is usually implemented. M$ compilers don't count.
Logged
Graham-
Level 10
*****


ftw


View Profile
« Reply #4291 on: September 04, 2013, 06:44:45 AM »

You could be using this as an excuse to get grumpier. Use your powers of grumpiness! ... Don't be a drone. Choose your path.
Logged
Kekskiller
Guest
« Reply #4292 on: September 04, 2013, 10:35:13 AM »

I'm not sure if I should take this seriously or become more grumpy because you may want to make me less grumpy by forcing me to think about.

AHHHHHHHHHH Screamy
Logged
Endurion
Level 2
**



View Profile WWW Email
« Reply #4293 on: September 04, 2013, 11:25:22 AM »

Have you lost your minds? This is the grumpy programmer room, don't even attempt to turn my mood right now.

To be fair, C++ does cover file I/O ( f/if/ofstream ) Wink

And now think about how this is usually implemented. M$ compilers don't count.

So, who's this M-Dollar, and what does he do different?
Logged
Kekskiller
Guest
« Reply #4294 on: September 04, 2013, 12:03:10 PM »

A magician of folk, spreading and stinky advertisements. Also created one the most non-legacy legacy compile systems ever made in the history of ultimate cross-platform grumpyness.
Logged
Geti
Level 10
*****



View Profile WWW
« Reply #4295 on: September 04, 2013, 04:51:42 PM »

@kek oh man he's probably never seen a FILE* and thinks structs in C are the same as structs in C++ (and will happily try to add a constructor and then send emails when it doesn't work).

We have these guys at uni. I think it is actually that bad. These are the people that will be writing the software of tomorrow. Please send help.

... I secretly hope that they're just lacking experience and they'll develop into fully rounded programmers who read before they write and all that good stuff, but I've got a feeling they wont.
Logged

Kekskiller
Guest
« Reply #4296 on: September 04, 2013, 05:25:59 PM »

No, you don't understand. He's not a rookie nor is not in knowledge of the difference between C and C++. He's even using C libs, funcs and structs in his code but he simply doesn't know what fclose is. You can't just hide this from yourself for like 2 years of professional C++ programming. It's as if it never existed and sudden this "new library function" pops up everywhere. And he's not even a dum guy or anything.

Every time someone mentions C functions it's most probably memory management, string functions or file operations. It simply can't be but it just is. I wouldn't even have a problem if he's rookie cause we all learn but someone who is getting paid for knowing stuff like that? The single leading C++ UI programmer if the whole team? Seriously?

Whatever. I'm getting over it. Eventually. In time. Or not. Who knows. Just-don't-think-about-it's-going-to-be-all-right.
Logged
Graham-
Level 10
*****


ftw


View Profile
« Reply #4297 on: September 05, 2013, 06:16:08 AM »

I programmed in Javascript for quite a while before I knew what a prototype was.
Logged
Impmaster
Level 10
*****


Scary, isn't it?


View Profile WWW Email
« Reply #4298 on: September 05, 2013, 06:19:25 AM »

I don't think you need to know how to program in the slightest to know what a prototype is.
Logged

Do I need a signature?
BorisTheBrave
Level 10
*****


View Profile WWW
« Reply #4299 on: September 05, 2013, 07:26:19 AM »

Why on earth would a C++ developer use fclose when there is fstream or external libraries? I have been a C++ developer for over 4 years including time working with C and fortran, and have still never needed nor bothered to get to grips with the garbage C++ imported from C. It's not there because it's useful and cool, it's there for compatibility.

Knowing that std::fstream is implemented in terms of fopen is irrelevant - you might as well castigate Java programmers for not knowing about fopen, or a C user for not knowing about brk.
Logged
Pages: 1 ... 213 214 [215] 216 217 ... 236
Print
Jump to:  

Theme orange-lt created by panic