Why categorization into “Property” and “Methods”
I am looking at the String class in Actionscript 3.0.
Unwritten rules of rewriting another team member’s code [closed]
Closed 9 years ago.
How long does one have to wait to consider design change in code?
I had a few days ago. I was having trouble with threads. Had lots of questions asked on StackOverflow and honestly for the first time I did not get the answer I was looking for. Finally, I decided to do a huge re-design of my system code and magically within a few hours I found a solution.
How big does my project need to be for me to unit test it? [closed]
Closed 10 years ago.
Is it wise to be going back and forth between two programming languages? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Preferring Python over C for Algorithmic Programming
I’ve been studying a bit of algorithms and have been looking at sites like SPOJ.pl TopCoder etc. I’ve seen that programmers prefer C or C++ usually for most algorithmic programming contests.
What are the problems which I will face if all the classes I use are loosely coupled
Loosely coupled classes gives flexibility. If I understand it right, Event flow, Observer Pattern and Design Patterns like MVC focus on loose coupling. So in this context I am aiming towards making a project where all the classes are loosely coupled.
Why put a simple query into a stored procedure in a web service?
I’m working as a junior programmer, and the senior programmer above me has instructed me to follow a certain unofficial policy for constructing new queries on our web development projects. Generally, we are developing an intranet site for some client, and they always have databases. He wants me to have a class containing a method for each query that the website will perform. This class calls web methods in a web service, hosted on the same machine. Those web methods use ADO to run stored procedures that perform simple queries. Sometimes the queries need parameters and sometimes they don’t. When I say simple queries, I mean simple…select * from table where column=@parameter
Is it a better practice pre-initialize attributes in a class, or to add them along the way?
I’m sorry if this is a ABSOLUTELY sophomoric question, but I’m curious what the best practices are out there, and I can’t seem to find a good answer on Google.
What do you call an interface with no defining methods used as property setters
In ASP.NET and C# I’ve ran across this before. Your class needs to implement interface ISomething
in order for something in the super class to supply something to you.