Ok I'm programming in C# and I've been creating, well I guess basically it's an IRC bot. It takes the value of the streamreader and parses it through if statements to determine what action (if any to take).
To make it easier for me to debug code, and edit I've subheaded certain if statements under static void subs.
I wonder though as this project is large enough in itself and is ever growing, is it good practice and advisable to subsection some of these subs into other classes / namespaces?
This would make it easier for me to debug and find the correct if statement. But as I use class global variables I'd have to link back to them from the other classes and wonder if this actually works or not?
Also is it generally bad practice to have a lot of code under one class / namespace?
Any opinnions and suggestions are much appreciated
Last Post: 05-12-2007, 09:15 AM
By SWhockey98 in forum Java
Last Post: 09-29-2005, 04:26 PM
By DaveMere in forum Java
Last Post: 08-09-2005, 02:11 PM
By RobDog888 in forum .NET
Last Post: 04-15-2005, 06:43 PM
By Constant in forum VB Classic
Last Post: 07-05-2002, 04:37 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL