DrawLine args name confusion

Started by
11 comments, last by _the_phantom_ 10 years, 1 month ago

the problem is all the names here bring a little confusion imo
(and its just hard to decide)

(say three family names, if you treat each of those
example as a family

1)
DrawLine(int x0, int y0, int x1, int y1, unsigned color);
2)
DrawLine(int ax, int ay, int bx, int by, unsigned color);
3)

DrawLine(int x, int y, int x_, int y_, unsigned color);


maybe some other propositions (but prefereably assume that this must stay this form 4 ints separately)

This has been fully and correctly answered; among your list #1 is the correct choice, and #3 is absolutely inexcusably the incorrect choice.

When your question has been properly answered (as this has) it is time to give thanks and move on to your next task.
The reason you are constantly down-voted is because you keep dragging on topics that have already been answered, asking the exact same question with the exact same reason as to why you asked in the first place (you can’t decide).

You (fir) only have 2 types of topics:
#1:
You: I have 3 options, and I can’t decide.
Us: Pick #1. Reason.
You: But I just can’t decide. I have 3 options.
Us: <Throwing hands into the air and leaving.>

#2:
You: I have 3 options, and I can’t decide.
Us: Pick #1. Reason.
You: No you are wrong.
Us: Pick #1. Reason.
You: That’s not the answer I want to hear.
Us: Pick #1, mother fucker. Reason.
You: <Arguing.>
Us: <Throwing hands into the air and leaving.>


All you do is either argue correct advice or ignore it and repeat the question.
Enough is enough.
If you didn’t come here to have us help you decide which naming convention to use, why did you post this?
Stop trolling. You have the correct answer already. Your question has been answered, it’s done, discussion is over. Give proper thanks and move to your next task.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

Advertisement

the problem is all the names here bring a little confusion imo
(and its just hard to decide)

(say three family names, if you treat each of those
example as a family

1)
DrawLine(int x0, int y0, int x1, int y1, unsigned color);
2)
DrawLine(int ax, int ay, int bx, int by, unsigned color);
3)

DrawLine(int x, int y, int x_, int y_, unsigned color);


maybe some other propositions (but prefereably assume that this must stay this form 4 ints separately)

This has been fully and correctly answered; among your list #1 is the correct choice, and #3 is absolutely inexcusably the incorrect choice.

When your question has been properly answered (as this has) it is time to give thanks and move on to your next task.
The reason you are constantly down-voted is because you keep dragging on topics that have already been answered, asking the exact same question with the exact same reason as to why you asked in the first place (you can’t decide).

You (fir) only have 2 types of topics:
#1:
You: I have 3 options, and I can’t decide.
Us: Pick #1. Reason.
You: But I just can’t decide. I have 3 options.
Us: <Throwing hands into the air and leaving.>

#2:
You: I have 3 options, and I can’t decide.
Us: Pick #1. Reason.
You: No you are wrong.
Us: Pick #1. Reason.
You: That’s not the answer I want to hear.
Us: Pick #1, mother fucker. Reason.
You: <Arguing.>
Us: <Throwing hands into the air and leaving.>


All you do is either argue correct advice or ignore it and repeat the question.
Enough is enough.
If you didn’t come here to have us help you decide which naming convention to use, why did you post this?
Stop trolling. You have the correct answer already. Your question has been answered, it’s done, discussion is over. Give proper thanks and move to your next task.


L. Spiro

Haha, fun, quite interesting

imo you see it wrong - In general i think this kind of 'collisions'

(if you see my approach is coliding with something here I didnt realy see it) come from some collision of assumptions or something like that [dont wory about downvotes, i do not

check it, () I f i would care on this i would feel like an animal

i think, really I can evan say that i would like them more than pepsicola]

anyway you speaking in general and it is hard to this kind of

generalisation because i dont even see it so I really cannot answer it

If you are saying to me stop stooping and wasting the time on details it is not working this way, I like to go in depth with such details, (sometimes, if speaking in general) -(it does not mean that i do not respect yr opinion )

Specyficcaly about 'reason' here , youre the first suggesting

that this #1 is correct choice by common usage amongst the prorammers (as I read it)

This is some answer - but if this easy to get? Im not sure..

((but if this is really common this is some point to consider,

I didnt knew it)) So Im not quite convinced... all this three families seem about equally acceptable (also I dont get why #3 is wrong,

this was not explained imo) (also forgot mention 4th possible

family, long names

4) DrawLine(int begin_x, int begin_y, int end_ x, int end_y, unsigned color);

Im not convinced becouse there are some subtle meanings here,

I seem to be closer to #2 now,

for example if I had routine that uses only two pixels this is more natural like enum type names not ordinal numbering also this second subtle thing with this reversed order I mentioned

Clearly you aren't interested in reason and just want to shove your own opinion around under the guise of 'discussion' so I'm going to kill this here and now before any more people get dragged into the entropic black hole this topic threatens to become.

This topic is closed to new replies.

Advertisement