Our rules have been updated and given
their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!
Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it,
follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
[Programming] Thread: Restricting masking of red pandas since 2013.
Posts
My experience is that they never let you study for it at work.
So unless the raise is really big, I value my free time far more.
I did the bing challenge last night, it was hilarious because I just typed random questions about programming and pretty much always had one side with stack overflow and the other side with MSDN.
HMM WONDER WHICH ONE IS BING, NO WONDER WHY NO ONE USES THAT SHIT
I could sacrifice a few hours to get a 10k+ raise.
Anything less, probably not worth my effort unless it ramps up quickly each year.
lol
lolwut
They didn't require it ahead of time?
You give a grace period and use it either as an excuse to temporarily pay less and / or still take advantage of delicious fresh grads.
Shitty language aside, I've seen this book highly recommended for general OOP practices, and since I'm doing PHP projects right now I might as well read up on it.
Wait, why not just make it an interface? Admittedly, I don't know the circumstances that would lead to having an abstract class that had only abstract members.
I still have no idea what answer they were looking for, so I told them what I would do with it. They didn't look happy, and I doubt I will hear from them again. Good news is that I get to learn some Javascript/Backbone for my newest project which will make me more marketable.
Interface: Classes can implement this and each class that implements it can have the methods do different things as the methods aren't defined in the interface but in the class that implements it.
I feel I explained it poorly but I believe this is main difference. Not sure on the abstract members part though and therefore can't give you an answer.
I can't imagine a reason why one would prefer to use a pure abstract class (a class that has only pure virtual functions) over an interface, if both are available. In C++, you use pure abstract classes to define interfaces because there is no such thing as an interface, per say. In C#, though, which has both classes and interfaces? Interface all the way.
Here's a quick example:
AbstractPerson
PersonImpl (extends AbstractPerson)
InterfacePerson
PersonImpl2 (implements InterfacePerson)
main:
Bottom two work, but the 2nd one down does not.
Yeah I'm trying to come up with a reason to do it and I'm blanking.
Well, thanks for that. That means that depending on language, Kolosus' answer is correct because why would you use that when you can use an interface?
There's not really a good reason. The abstract class would "lock" the inheriting class into a particular base class. The abstract class has the benefit that if you wanted to added concrete methods with default implementations in the future, you have the capability to do so, but this sort of reasoning runs afoul of the "don't over-engineer your software" principle.
Technically, interfaces are compiled down differently than abstract classes, but I'm not aware of any potential perceivable performance or semantic implications other than what abstract classes and interfaces give you at a high level.
You are just not calling them "abstract" while still never instantiating them.
I don’t think C# has multiple inheritance either, so same for it.
But it is almost always a non-distinction cause it isn't a very practical usage we're talking here.
The PhalLounge :: Chat board for Phalla discussion and Secret Santas :: PhallAX 2013
Critical Failures IRC! :: #CriticalFailures and #mafia on irc.slashnet.org
:rotate: CentOS :rotate:
I almost re-implemented it in 1.8, but then I remembered backports.
And done.
Thats all.
Project requirements have suddenly expanded to add in a consolidated reporting requirement.
This is not currently a development project, per se, but I am running into the following issue. The only way to pull all the data currently available is excel and word (no crystal reports or anything like that).
The data it pulls does not graph correctly in excel, it seems to ignore the time portion and only pay attention to the date portion of the horizontal series marks.
Which leads to three questions:
1. How easy would it be to consolidate the data into hourly blocks by modifying my SQL query?
2. Is this easier to do via excel?
3. Is there a way to just fix the damn graph so it just works?
SODOMISE INTOLERANCE
Tide goes in. Tide goes out.
I kind of hoped Julia would have taken off for this sort of thing, but it has not yet. My pain was R, but I'm sure MatLab is equivalently painful, if not moreso.
edit: Even though julia, like Ruby, also uses "end" keywords instead of curly braces for blocks *angry fist*
the worst thing about matlab for me, a function call is
foo(arg1, arg2)
and indexing a matrix is
foo(index1,index2)
and you're allowed to call a function the same thing as you've called a variable.
WAT.
none of us taking the MATLAB class his year has any idea what's going on, there's no tutorials and the lecturer prefaces everything with "it's easy to do..."
also figuring out that ending a statement with ; hid the output took a while and a lot of frustration