Reputation
7,914
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 24 44
Newest
 Nice Answer
Impact
~276k people reached

Jan
29
comment How does this function returning a function work?
In javascript, Boolean is an object of type 'function', but it's not a class.
Jan
28
answered How does this function returning a function work?
Jan
28
revised How does this function returning a function work?
code formatting
Jan
17
comment Separating data access in ASP.NET MVC
@Uporabnik003 A viewmodel in this context represents the formatted and processed data that an MVC view needs to properly display itself. It's specifically an MVC concept, and would be in the MVC (web) project, not the service project, if you've placed your services in their own project. The ConvertToBookViewModel method itself I'd probably just have in the controller itself, or in a class next to the viewmodels if it needs to be shared between controllers.
Dec
30
comment Is it the same to say “instantiate a class” and “instantiate an object”? “Instantiate a class” does not mean creating a new class?
If you include the phrases "instantiate a class" and "instantiate an object", you'll notice the 'object' variant is much more common.
Dec
30
comment Separating Web API and the client application in .NET
There are plenty of javascript client-side mvc frameworks out there if you want no other server-side code besides the API. There are even alternative .net server-side mvc frameworks if you don't want to use the ASP.NET one. Or you can just write html and javascript on the client-side without a framework. Those are all options. If you want more detail, though, you need to be more specific with your question...
Dec
30
comment How to determine when to open a new branch or a new repository when using Git?
If you use branches to distinguish between each client's distinct version of your product, you cannot 'merge and delete' the branches. They will be perpetual. I think that's what the question is asking: should they be perpetual branches or their own repo?
Dec
30
reviewed Edit and Reopen Do you know the name of this algorithm? (cycle with history?)
Dec
30
revised Do you know the name of this algorithm? (cycle with history?)
don't need 'edit' flag
Dec
30
reviewed Leave Closed Is there a named anti pattern for historically grown software?
Dec
30
comment Is it the same to say “instantiate a class” and “instantiate an object”? “Instantiate a class” does not mean creating a new class?
@太極者無極而生 For the record, I think both ways of phrasing are fine in that they both convey the same idea and I doubt anybody would be confused by either. But in my opinion, objects are instances, so objects are what get instantiated, not classes.
Dec
30
comment Is it the same to say “instantiate a class” and “instantiate an object”? “Instantiate a class” does not mean creating a new class?
@DavidPacker Your comment was fine... I wasn't claiming to be right, just that my thought process was different.
Dec
30
comment Is it the same to say “instantiate a class” and “instantiate an object”? “Instantiate a class” does not mean creating a new class?
@DavidPacker Funny, I was thinking the exact opposite... You can't really instantiate a class, in the same way you can't construct a blueprint or template. You instantiate an object based on a class, the same (metaphorical) way you construct a building based on its blueprint.
Dec
29
reviewed Leave Closed How can we be certain that the lower components of computer programming like compilers, assemblers, machine instructions, etc. are flawless?
Dec
29
reviewed Approve What are “class methods” and “instance methods”, in Python?
Dec
29
reviewed Reopen When a class represents a property that might be invalid, how should the validation be done?
Dec
29
reviewed Leave Closed Workaround for implementing operations on doubly linked or circular data structures in languages with immutable data
Dec
29
reviewed Leave Closed What's the dominant naming convention for variables in PHP: camelcase or underscores?
Dec
29
reviewed Reopen What is the most efficient way to implement a RESTful client app?
Dec
23
comment Is individual code ownership important?
This seems very similar to another question that came along a few years later.