Search:

Type: Posts; User: jrahhali

Page 1 of 11 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    17
    Views
    2,865

    @phantomotap: O_o is right! I think you're...

    @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...
  2. Replies
    17
    Views
    2,865

    Should functions be _this_ small?

    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...
  3. Replies
    5
    Views
    950

    You're right. the user shouldn't know that the...

    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....
  4. Replies
    5
    Views
    950

    The LinkedList will be responsible for traversing...

    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;
  5. Replies
    5
    Views
    950

    class template question

    background: I have a linked list assignment to complete.

    I have a node class:



    template <typename T>
    class Node
    {
    ...
  6. How would you design the relationship between these two classes?

    Say you had two classes:


    class Adult {
    public:
    void crawl() {...}
    void run() {...}
    }

    class Baby {
  7. Thanks Salem, that helped.

    Thanks Salem, that helped.
  8. Question about Separating Presentation Layer from Business Logic

    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,...
  9. I have tried it both ways. Sorry, I may not have...

    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.
  10. Two Questions about Classes: I need some advice.

    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...
  11. thanks elkvis

    thanks elkvis
  12. Help With Group Project: 15 Careeer Questions For Professional Programmers

    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...
  13. Replies
    6
    Views
    1,993

    Great. Thanks everyone who replied.

    Great. Thanks everyone who replied.
  14. How Can An Entire Object be Compared to a Single Constant?

    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 =...
  15. Replies
    6
    Views
    1,993

    So the programmers who wrote the part of firefox...

    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...
  16. Replies
    6
    Views
    1,993

    A Few Questions About the OSI Model

    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...
  17. I was thinking more like this link I found: Intel...

    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.
  18. Looking to get caught up on current CPU technology

    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...
  19. Can someone explain the USB tree in Device Manager?

    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...
  20. thanks Tater. That helps.

    thanks Tater. That helps.
  21. OK, I'm going to try to give an example of what I...

    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...
  22. Codeplug, thanks for the link. I did read it,...

    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...
  23. Why do I/O Addresses/Ports need a range of addresses?

    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...
  24. Replies
    0
    Views
    1,532

    Expansion Crystal and AGP

    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...
  25. thanks guys, that answers it.

    thanks guys, that answers it.
Results 1 to 25 of 263
Page 1 of 11 1 2 3 4