Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


R > C# Coders
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Nov 20, 2007 1:26 pm    Post subject: Reply with quote

You can never tell if someone is good by 1 code snippet. If you think otherwise, you are a shit head.

And yes i have, what about it? It's ok to be messy when it's a one person project like CE. Well not ok, but you won't get bitched at.

_________________
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Nov 20, 2007 2:55 pm    Post subject: Reply with quote

-.-

My DLL thing is one person...

Or were you saying to comment in the game?

My dad's a professional C# developer, and I've watched him program--he doesn't comment much.
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Nov 20, 2007 3:11 pm    Post subject: Reply with quote

Well, I pity whoever has to look at his code.

And it's just not comments, it's overall readibility and comprehension of the code. Comments are just a path to comprehension.

When you code for yourself, you barely comment. I don't comment either, unless i'm releasing to someone. But, when you work on a game you work in a group and the code must be efficient and clean.

Sloppy code is just horrible.

Besides you're missing the point, i'm not calling YOU a bad programmer, i'm just saying 1 piece of work isn't enough to determine something, which you got peaved about when he said "as if"

_________________
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Nov 20, 2007 4:01 pm    Post subject: Reply with quote

Quote:

Well, I pity whoever has to look at his code.


Honestly, it's not hard at all to read. I can post some of his work if you really don't believe me.

Quote:
And it's just not comments, it's overall readibility and comprehension of the code. Comments are just a path to comprehension.


Well see, this applies to not only him, but me as well. Anyone who really knows what they're doing would know what all this stuff is--it's simply applying the algorithm.

My Dad wrote:

If you don't know what it is, you shouldn't be messing with it.


Quote:
When you code for yourself, you barely comment. I don't comment either, unless i'm releasing to someone. But, when you work on a game you work in a group and the code must be efficient and clean.


I would hate to work in a group with people who don't know what they're doing. If someone thinks that I have some code that is inifficient, then they can fix it up, as long as it accomplishes the same thing--this goes back to my dad's quote:

My Dad wrote:

If you don't know what it is, you shouldn't be messing with it.


Quote:
Sloppy code is just horrible.


I agree, and I do what I can to keep it away, as do many people (except DB in some instances, which he admitted to me in a PM:

Code:

procedure setrm(modrm : byte; i : byte);
begin
    modrm := (modrm and $3F) or (i shl 6)
end;


(^ may not be exactly correct, but in the assemblerunit.pas, there's a lot of things like that)

Quote:
Besides you're missing the point, i'm not calling YOU a bad programmer, i'm just saying 1 piece of work isn't enough to determine something,


I understand that.

~~

Btw, you didn't answer if you were talking about my DLL or the game.

I've been talking about the DLL.
Back to top
View user's profile Send private message
ZenX
Grandmaster Cheater Supreme
Reputation: 1

Joined: 26 May 2007
Posts: 1021
Location: ">>Pointer<<" : Address 00400560 Offset :1FE

PostPosted: Tue Nov 20, 2007 4:44 pm    Post subject: Reply with quote

Lol, for a second i though you were saying my code was unorganized, because it is commented at just about every block of code, so not only others helping will get confused, but so I, Myself, won't get confused about anything.

Not to mention, the source is pretty big, so having no notes is just horrible O_O.

Also, i guess they are right, i will have to have a bit more of proof.
Besides, i need people experienced in Coding Games.

[email protected]

_________________
CEF Moderator since 2007 ^_^
ZenX-Engine
Back to top
View user's profile Send private message Yahoo Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Nov 20, 2007 4:47 pm    Post subject: Reply with quote

I'm talking about group work.

The DLL is ok. I was never really talking about either, just stating you can't tell something by 1 instance.

And to your dad's comment. What about people that will look at the code in the future. Think of it like this, if you open the program in 6 months, will you understand it or just be like why did i do this instead of this? Comments to yourself help this. Also, when other people open your program for say learning purposes, if its just straight code they might get lost. Go open up one of x0r's trainers in masm and try to understand it, it's confusing as shit and without the comments, people would get lost.

But anyways, i know you're a pretty good c# programmer and you always have your dad incase you need help.

Don't take anything i say personally btw, I tend to direct things at people, you in this case, when I'm just trying to make a point to everyone.

_________________
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Nov 20, 2007 6:46 pm    Post subject: Reply with quote

I understand.

If people have questions, they can ask me--as I do with DB.

I've had a lot of trouble looking at CE source code (as you said, for learning purposes), so I PM him with my question, and he answers them pretty well.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites