Search:

Type: Posts; User: jwenting

Search: Search took 0.01 seconds.

  1. Replies
    30
    Views
    10,347

    no class needs to use an operator for anything....

    no class needs to use an operator for anything. Operator overloading is a luxury, not a necessity.

    You indeed can't use globals for array sizes, but you can use magic numbers.
    Some people have...
  2. Replies
    30
    Views
    10,347

    That is an error in the implementation of those...

    That is an error in the implementation of those classes, don't blame the operator for that...



    you don't. You define some globals and hope noone changes them.
  3. Replies
    30
    Views
    10,347

    your example is contrived. It is never necessary...

    your example is contrived. It is never necessary to use x++, though x=x+1 might require more lines of code (which itself in many companies is a good thing because they judge programmer productivity...
  4. Replies
    30
    Views
    10,347

    I've never heard of something being banned from...

    I've never heard of something being banned from use when it's not being taught, as long as it is proven correct.
    I've in fact made good use of that in university. I was taught a rather rapid method...
  5. Replies
    30
    Views
    10,347

    it does exist, in student assignments ;)

    it does exist, in student assignments ;)
Results 1 to 5 of 5