Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $12
Target: $400
3%
Showing results 1 to 9 of 9
Search took
0.00
seconds.
Search:
Posts Made By:
Seta00
Forum:
Code Snippets/Tutorials
01-18-2010, 13:37
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
I see your point, and I do apply these recommendations on general code, but my motivation here is mainly because optimization is one topic highly discussed in AMXx, since gaming is real-time; and...
Forum:
Code Snippets/Tutorials
01-18-2010, 12:23
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
People still don't understand what I mean. The space I save using K&R indentation is filled with COMMENTS. No matter how good your code is indented, no matter how many lines you put between the...
Forum:
Code Snippets/Tutorials
01-16-2010, 22:32
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
This post (http://ubuntuforums.org/showpost.php?p=4740522&postcount=7) is one of the best formulated answers I've ever seen on styling guidelines.
Forum:
Code Snippets/Tutorials
01-16-2010, 22:29
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
Yeah, lets start replying posts without using our brains first.
Is not the number of lines, is more to fit a function, logical block, atom, piece-of-code-that-does-one-delimited-action,...
Forum:
Code Snippets/Tutorials
01-16-2010, 14:47
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
I know this discussion wont end, I'm just exposing my opinion over the tutorial. I think styling guidelines shouldn't be recommended, you just post links to all of them and let the programmer decide...
Forum:
Code Snippets/Tutorials
01-16-2010, 13:47
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
Readability before consistency.
Forum:
Code Snippets/Tutorials
01-16-2010, 13:01
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
Yes, I do, here's a sample:
main() {
new bar, baz = 29;
for (new i = 0; i < baz; i++) {
bar *= baz - i;
}
new arr[32];
Forum:
Code Snippets/Tutorials
01-16-2010, 12:27
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
You didn't understand what I mean, I don't want 1-line code.
Having the opening bracket in the same line of the "code block starter" statement doesn't interfer with readability. Think of you...
Forum:
Code Snippets/Tutorials
01-15-2010, 10:06
Replies:
88
Sticky:
[TUT] Code Styling & Good Programming Habits
Views:
151,018
Posted By
Seta00
Re: [TUT] Code Styling & Good Programming Habits
Nice tut, only thing I disagree is with the new line before opening bracket.
If you're a programmer, you can easily recognize identifiers that imply a code block, and the new lines before every...
Showing results 1 to 9 of 9
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
14:00
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode