What is the best way to know what should your method name be when developing a web app? I know this is an easy question, but seriously what considerations and practices should I be doing in order to derive the best names possible for my methods?
16409
So I'm working on this class that's supposed to request help documentation from a vendor through a web service. I try to name it DocumentRetriever, VendorDocRequester, DocGetter, but they just don't sound right. I ended up browsing through  for half an hour trying to come up with an adequate word.   Start programming with bad names is like having a very bad hair day in the morning, the rest of the day goes downhill from there. Feel me?
42746
Should I use exit() or just return statements in main()? Personally I favor the return statements because I feel it's like reading any other function and the flow control when I'm reading the code is smooth (in my opinion). And even if I want to refactor the main() function, having return seems like a better choice than exit().  Does exit() do anything special that return doesn't?
71331
I am a big fan of minifying everything whenever possible. It is a sin for me to don't do this.  However, I recently read that one of the thousands tips to boost your website rank on search engines was to:     give you content context with good class and id name in your HTML     I always change id and class names to one or two character length...  Is not that I don't believe what that guy said, but I really need some confirmation on this. For me it doesn't make sense why would that matter.   Is that point correct? (in case it is) Why?
85756
Could someone please demystify interfaces for me or point me to some good examples? I keep seeing interfaces popup here and there, but I haven't ever really been exposed to good explanations of interfaces or when to use them.  I am talking about interfaces in a context of interfaces vs. abstract classes.
20778
I have programmed with WPF for more than a year. When I started there weren't so many examples and guidelines to follow, now the situation is much more better.  I would like to ask you some help in listing the best WPF (open) source code examples or projects that you suggest to study in order to learn more about project structure, best practices, etc.  Thank you, Marco
86053
Is there any advantage to using the older testMethod keyword to identify test methods or is it better to use the @IsTest annotation?  Does the location of these test methods have any significance? E.g. Either being included within the definition of the class being tested or defined in a separate class.
48121
Is REST a better approach to doing Web Services or is SOAP?  Or are they different tools for different problems?   Or is it a nuanced issue - that is, is one slightly better in certain arenas than another, etc?  I would especially appreciate information about those concepts and their relation to the PHP-universe and also modern high-end web-applications.
22784
What is the best way to unit test a method that calls into multiple methods, for example:  modify(string value) {     if(value.Length &gt; 5)  replaceit(value);      else changeit(value); }   This pseudo code has a modify method that (currently) calls either replaceit() or changeit(). I have already wrote tests for replaceit and changeit, so writing a new test for modify will be 99% the same set of code.  I need to test it thought because it may change in the future.    So do I copy paste the existing test code?  Move the test code to a common function?  Any other ideas?  I'm not sure of the best practice here.
5948
A "non-believer" of C# was asking me what the purpose to extension methods was. I explained that you could then add new methods to objects that were already defined, especially when you don't own/control the source to the original object.  He brought up "Why not just add a method to your own class?" We've been going round and round (in a good way). My general response is that it is another tool in the toolbelt, and his response is it is a useless waste of a tool... but I thought I'd get a more "enlightened" answer.  What are some scenarios that you've used extension methods that you couldn't have (or shouldn't have) used a method added on to your own class?
76431
When I load script/console, sometimes I want to play with the output of a controller or a view helper method.  Are there ways to:   simulate a request? call methods from a controller instance on said request? test helper methods, either via said controller instance or another way?
23258
I'm trying to figure out the best way to link a printed piece to the electronic file name. What are the best practices for file naming and version control? Do you use a log of sorts for graphic design?
121473
Is it okay if I ask a question on Stack Overflow about the concern I have in my project? I am midway and unable to figure out how to move ahead.  I am not looking for someone to write and give code for me, but I am stuck at some point where I am unable to understand how to proceed, as it includes different programming languages/nosql database.  Or to put it in another way, where can I ask such question?
55162
What's the best framework for creating mock objects in Java? Why? What are the pros and cons of each framework?
64535
While looking over various PHP libraries I've noticed that a lot of people choose to prefix some class methods with a single underscore, such as  public function _foo()   ...instead of...  public function foo()   I realize that ultimately this comes down to personal preference, but I was wondering if anyone had some insight into where this habit comes from.  My thought is that it's probably being carried over from PHP 4, before class methods could be marked as protected or private, as a way of implying "do not call this method from outside the class".  However, it also occurred to me that maybe it originates somewhere (a language) I'm not familiar with or that there may be good reasoning behind it that I would benefit from knowing.  Any thoughts, insights and/or opinions would be appreciated.
119536
Today, I asked my first question on WebApps.SE: . (I'm fairly active on other SE sites.) My question was about a web app that didn't have a tag created for it yet, and since I don't have 300 rep on the site, I wasn't able to create the appropriate tags. Looking over the list of tags already on the site, none of them looked like they would have been appropriate for my question.  What is the right course of action in this situation?
40372
I've looked in the Apex developer's guide and a saw the   which has basically only has this:   We recommend following Java standards for naming, that is, classes start with a capital letter, methods start with a lowercase verb, and variable names should be meaningful.   I'm looking for something more in depth, such as end all Controllers with Controller and their tests with ControllerTest, etc.  What is a good set of naming conventions to use when developing on the Force.com platofrm?  It would be preferable if the answer has something that handles custom objects, classes, visualforce pages, and components and not just Apex classes.
37542
What languages or platforms influenced the .NET 1.0 Team to build-in the concept of Attributes from the very start? Was this an Aspect-Oriented thing? Serialization? or something else? I was still in VB6-land at this time, and never used any of the pre-1.0 .NET versions.