340 reputation
313
bio website
location Chicago, IL
age 38
visits member for 2 years, 9 months
seen Oct 6 at 12:47

I'm a software developer interested in coding and development best practices.


Jun
28
comment Version control and personal configuration file
-1 since this doesn't answer the original question at all. Also, answers that are little more than a link and no explanation aren't useful for the Stack Exchange Q/A format, since external links may disappear at some point, leaving no reference to what the suggested answer was.
Jun
27
comment Loose Coupling in Object Oriented Design
@TMN, the extra coupling is in how I imply that the second example would probably end up internally creating a new Track object. The instantiation of the object is being coupled to a method that should otherwise just be adding a Track object to some sort of list in the Album object (breaking the Single Responsibility Principle). Should the way that the Track gets created ever need to be changed, the addTrack() method would also need to be changed. This is not so in the case of the first example.
Jun
27
comment Loose Coupling in Object Oriented Design
Is this a document that was put together by a professor or trainer? Based on the URL of the link you provided, it looks like it was for a class, though I don't see any credit in the document as to who created it. If this was part of a class, I'd suggest you ask these questions of the person who provided the document. I do agree with your reasoning, by the way - it would seem apparent to me that an Album class would want to inherently know about a Track class.
Jun
24
comment Junior software developer - How to understand web applications in depth?
I have version 3 of the PRO ASP.NET MVC Apress book, not 4, but I can't imagine the authors would have taken this section out of the revised version that covers MVC 4. Chapter 4 ("The MVC Pattern" in my book) discusses what problem is solved by Dependency Injection, and also describes how it plays a part in ASP.NET MVC. Again, assuming it's under the same heading in your version, look for a subsection titled, "Using Dependency Injection," followed by "An MVC-Specific Dependency Injection Example."
Jun
20
comment How do I convert a list of Requirements into Constraints?
And speaking of testing, to make it relevant for you as a solo developer, you can create automatable tests yourself before writing your own implementation - see Test-Driven Development for more on that, though you'll probably want to consider that later on, as I've already encouraged plenty of change for you to think about!
Jun
20
comment How do I convert a list of Requirements into Constraints?
I think that's a fair, abstract observation of Agile. There's of course more nuance to it than just "mini-waterfall development," since you have a stakeholder involved every step of the way, an assumption that you're constantly refining a working product rather than planning out everything from scratch, transparency of the entire process, etc. But thinking of it in terms of little waterfall-like projects isn't too far off the mark. Your last sentence isn't exactly true, though, since testers are often involved from the start to plan out tests before any implementation is actually completed.
Jun
18
comment embedding programming languages into other languages
@series0ne, I can understand why you would find this technique useful, as Ampt eloquently points out above, but I think your example of trying to generate JavaScript in C# code isn't the best. Since you can have C# and JavaScript code in the same project, what you probably are wanting to accomplish can most likely already be done using the standard features of JavaScript and ASP.NET. A better example would be if you can insert assembly code in the middle of a C# program.
Jun
18
comment embedding programming languages into other languages
I suspect you are trying to figure out how to wedge this feature that you are familiar with in C/C++ into JavaScript because you're as not familiar with the latter and how it can be used to insert dynamic elements into the client. Can you give some more specifics as to exactly what you working on? To me, it feels that you are trying to drive a square peg through a round hole when you don't need to.
Jun
11
comment Should I use parentheses in logical statements even where not necessary?
I'm not sure you're actually answering the question, since you lead your answer with an assumption that isn't necessarily true. Would I use parentheses for algebra? Not all the time. If it helps with readability, then certainly, but others have already expressed that here. And expanding mathematic algebra into other forms doesn't exactly have a one-to-one correspondence to programming - what if you are checking the status of a few string values?
May
28
comment How can I extract words from a sentence and determine what part of speech each is?
Agreed - there is no way this could feasibly work (at least in English) with all the words that can act as nouns, verbs, etc., depending on the context.
May
24
comment Project implementation details in node.js
@Munim - I wasn't sure if you were expected to do more than draft out an API for your projects. What I was thinking is, are your superiors expecting a thick document describing every detail of each of your team's upcoming projects (as is typical with waterfall development)? Or are they looking for documented acceptance tests to drive your development (as is often the case with agile development)? I was curious what type of documentation they're expecting.
May
23
comment Project implementation details in node.js
@Munim - what are your seniors' expectations for your specifications? If you haven't already, you should ask them what they expect you to produce.
Mar
11
comment How to know if an Open Source project is mature enough to use in a product?
While that's definitely a way to see if a project is being used in some capacity, you need more context than simply a count of bug tickets to know if the project is reliable enough for a production system. If, for example, the majority of the bug tickets have been open for awhile and are still not resolved, I wouldn't want to incorporate it into a business critical system.
Mar
6
comment What is Development Environment? e.g. Vagrant
Are you curious of what the purpose of Vagrant is? (In which case, you can review their "Why Vagrant?" page). Or are you really wondering what a "development environment" is? It's not clear from your description.
Sep
23
comment Do other developers feel that as they get better, it becomes harder to get jobs?
@nbv4, to be honest, it sounds like you may have dodged a bullet with that company. If you are consistently encountering companies like that, you probably can build up a good list of questions now that you can ask in advance to try to filter out such organizations before you waste your time interviewing on site.
Jul
3
comment Shoring up deficiencies in a “home grown” programmer?
@PachinSV - excellent point. Still, PHP is not a language I'd recommend others pick up in order to learn modern programming practices. C# and Java tend to be the two most used to illustrate modern practices, followed by Ruby and Python. I suppose I shouldn't discount PHP entirely, but unless JohnP is already familiar with it and HTML development, it's not where I'd recommend he first turn for expanding his horizons.
Jul
2
comment Shoring up deficiencies in a “home grown” programmer?
@PachinSV - Yes, but PHP is not an ideal language from which to learn good coding methodologies. See Jeff Atwood's take on it.
Jul
2
comment Shoring up deficiencies in a “home grown” programmer?
@JohnP - I would probably suggest starting with Clean Code - A Handbook of Agile Software Craftsmanship by Robert C. Martin, since it has tons of great tips about following good coding practices. A more recent one I recommend often to other programmers is Essential Skills for the Agile Developer by Alan Shalloway and co., since it's a great quick read on modern recommended object-oriented practices.
Jul
2
comment Shoring up deficiencies in a “home grown” programmer?
While I agree with many of your points, some are a bit overly specific for what JohnP probably really needs. He could use a primer on what would be considered some of the fundamental basics of modern programming practices, including (though certainly not all-inclusive) object-oriented design patterns, unit testing, agile practices, and refactoring (not to mention the classics like the Single Responsibility Principle and Don't Repeat Yourself). You list good things for John to eventually research, but many of them are too broad to be useful to him at the moment.
Jun
7
comment Random Cache Expiry
Can you reword this as a question? It's not clear what you're expecting for an answer.