@phantomotap: O_o is right!
I think you're correct here. payIfNecessary() already means calculateAndDeliverPay() and shouldn't have been split into another function. Martin might have been...
Type: Posts; User: jrahhali
@phantomotap: O_o is right!
I think you're correct here. payIfNecessary() already means calculateAndDeliverPay() and shouldn't have been split into another function. Martin might have been...
I am reading through the book Clean Code by Robert C. Martin. It is a book of advice on how to write more readable, and consequentially, more maintainable code. There is a chapter on writing good...
You're right. the user shouldn't know that the linkedlist is implemented with Node objects. All they need to know is that it is a linked list of type <T>, and who cared how LinkedList manages that....
The LinkedList will be responsible for traversing the Node objects. The Node class is simply:
template <typename T>
class Node
{
private:
T data;
Node* next;
background: I have a linked list assignment to complete.
I have a node class:
template <typename T>
class Node
{
...
Say you had two classes:
class Adult {
public:
void crawl() {...}
void run() {...}
}
class Baby {
Thanks Salem, that helped.
In my programming class, my teacher said that often in production code, there is a layer of abstraction that sits between the presentation layer and the business logic layer. Is this true? If so,...
I have tried it both ways. Sorry, I may not have been clear enough with my questions.
What I am looking for I guess, is advice on what is considered best practice.
I'm doing an assignment in Java that calculates the commission for a salesperson. It's very simple, and could be coded all in the main method, but because I want to get more comforatble working with...
thanks elkvis
I have a group project to do in school right now. My role is to find out about a career as a programmer. I was wondering if those who are a programmer by profession wouldn't mind answering the...
Great. Thanks everyone who replied.
This question actually originates from a Visual Basic course I'm taking, but I think it can be answered here.
Dim WhichButtonDialogResult As DialogResult
WhichButtonDialogResult =...
So the programmers who wrote the part of firefox that communicates with web servers to comply with HTTP standards? Is that fair to call the HTTP protocol a standard? Am I correct when I say that...
I'm learing about the OSI reference model in my networking class, and the layers and examples all seems a little vague to me.
For example, I've learned that HTTP is one protocol that operates at...
I was thinking more like this link I found: Intel & AMD Processors
If that chart only included a lot more of the older processors, that would be great.
Anyone have some good links on the history of Intel and AMD's CPUs, all the way to the current models? I'm not looking for detailed specs of every CPU made, but more of a general overview, that...
I understand that my USB ports are connected by a USB Bus to a USB Root Hub. The USB Root Hub is controlled by my USB Host Controller which is integrated into my chipset. If my chipset can use more...
thanks Tater. That helps.
OK, I'm going to try to give an example of what I THINK happens when you increase your volume 'one unit' in Windows. If readers could fill in the gaps, that would be great.
1. When you boot your...
Codeplug, thanks for the link. I did read it, and have learned some. I still have a problem with their explanation though. Here it is:
Some devices have "much more information to move...
I'm using Windows, and looking at my System Resources. I'm learning about I/O Addresses.
In my understanding, when the CPU wants to communicate with a device, it puts that particular devices...
I'm learning about the expansion bus, and I have two questions about it that I can't figure out.
1. I've learned that the expansion bus operates at it's own set speed, 'pushed' by it's own...
thanks guys, that answers it.