![]() |
![]() |
#21 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
No i am right and this post of yours is just trolling.
|
![]() |
![]() |
#22 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
|
![]() |
![]() |
#23 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
|
![]() |
![]() |
#24 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
|
![]() |
![]() |
#25 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,831
|
|
![]() |
![]() |
#26 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
You, sir, have failed to read or understand this thread.
|
![]() |
![]() |
#27 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
Next trolling post will be reported immediately. This is all i can do about it.
I am not arguing for entertainment - it ain't entertaining at all, actually. But just to show any reader that the dominant opinion isn't necessarily the only one, let alone the best. I am often using names in code, but not always. As sometimes it's a good thing, sometimes it's not. Often the name is just cryptic or too general and does not say much about what it is. As an exemple, can you (anyone) tell me what "Count" is and which structure it belongs ? Can you tell by memory, after many years without using them, what "MaxLocMem", "MaxExtMem", "DispCount" and "SysFlags" are ? Or what are "pr_CIS", "pr_COS" ? Or "bsblthd", "bsblttl" ? I don't think so. This shows "self documenting" is a delusion. A comment is REQUIRED to tell the reader what these are. Now consider the following : jsr -636(a6) ; d0 = NewObjectA (a0=class, a1=classID, a2=taglist) It documents the bloody thing a lot better than just using the LVO doesn't it ? |
![]() |
![]() |
#28 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,831
|
Quote:
You can just double check those numbers. Not a big deal, just annoying. Look, I get where you're coming from and I don't think you're wrong, but meynaf isn't either. He limits this to a small part of his code, namely an OS framework, which gets reused over and over again. The advantage of his approach is clearly that he limits dependencies to a single file which itself doesn't have any dependencies what so ever. It's not an approach I like, but I can certainly appreciate the idea behind it and don't see what's so bad about it. |
|
![]() |
![]() |
#29 | |||||
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
Quote:
Quote:
Quote:
Quote:
Quote:
Feel free to report this post. By suggesting to people that it is better to look up, work out, calcaulate, whatever, that the value -636 is the offset where you need to jsr to, and then just throw away that information, is just plain bad advise. I stick to my belief that you only continue in this thread to try to wind people up. |
|||||
![]() |
![]() |
#30 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,831
|
|
![]() |
![]() |
#31 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
Then, if this is so important, which is plainly isn't, why not simply reproduce the constants in this file, or would that have the unwelcome side effect of making the code easier to understand?
|
![]() |
![]() |
#32 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,831
|
Sure, you could, but it doesn't make anything easier to understand, because of the comments that are already there. It's just a convenience, a nice one, but still just a convenience.
|
![]() |
![]() |
#33 | |||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
So you admit you were trolling ? Wow.
Quote:
Quote:
Quote:
I am not asking anyone to change their coding style, i'm just defending mine. Can't you see the difference ? |
|||
![]() |
![]() |
#34 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
|
![]() |
![]() |
#35 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
Quote:
The answer is : to avoid namespace pollution. |
|
![]() |
![]() |
#36 | |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
Really? You got that from that? You idiot.
Quote:
Or, maybe, $18 everywhere. Sure, that's much better. Why do you feel the need? Someone just offered you some very good advice based on their own professional experience, but instead you wanted to start this? |
|
![]() |
![]() |
#37 |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
|
![]() |
![]() |
#38 | |||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
I said i would report trolling post and you said "just report". The link is easy to make.
But now you're even insulting, and guess what : this has been reported. Quote:
But yes, please make your own opinion. No, not "everywhere". Read the thread again. Quote:
Read again. I had a question, then an answer with a suggestion. I replied with simple explanation why the suggestion wasn't applicable. And then a whole house fell on me. Quote:
Now if you think i'm so bad a coder who can't do things properly, i suggest you have a look at this page : http://eab.abime.net/showthread.php?t=85200 Count my name there. All these of course use my system framework includes - which provide automatic error handling and even resource tracking. And they all work fine. With numbers inside. Not using a linker. ![]() |
|||
![]() |
![]() |
#39 | |
<optimized out>
Join Date: Sep 2020
Location: <optimized out>
Posts: 321
|
Quote:
|
|
![]() |
![]() |
#40 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DoSuperMethodA without amiga.lib | meynaf | Coders. System | 26 | 06 December 2020 12:44 |
Wanted: P96 emulation.lib, rtg.lib autodocs, FD/LVO files | PeterK | Coders. System | 6 | 01 January 2015 19:59 |
DoSuperMethodA | mritter0 | Coders. C/C++ | 3 | 08 December 2014 06:56 |
Cinemaware posts Amiga games for download | Mangar | Amiga scene | 20 | 28 September 2004 04:47 |
"New Posts" does not show posts to News section? | fiath | project.EAB | 5 | 27 September 2004 13:23 |
|
|