1,653 reputation
721
bio website
location Pittsburgh, PA
age
visits member for 3 years, 11 months
seen 12 hours ago

Oct
31
comment Inheritance in imperative programming
I think you're looking for a solution (inheritence) to an undefined problem. Giving a concrete example might help. What is the problem that you would solve in an OO language with inheritance that you can't solve in an imperitive language?
Aug
19
comment to teach or not to teach GUI for beginners in CS
To those who put this on hold, I will argue that this question can absolutely be answered with facts, references, or specific expertise from those with professional backgrounds in computer science education. Although some of the current answers definitely fall outside this category, there is nothing with the question itself that prevents a well founded response from someone with a background in CS education.
Apr
12
comment Design Patterns for Javascript
@gnat This answers the question aksed - not the title: "I'm already using a framework (jQuery) and unobtrusive js, but that still doesn't address the problem I run into when I have more complex web apps that require a lot of javascript, I tend to just end up with a bunch of functions in a single, or possibly a few files. What's a better way to approach this?" These are libraries that provide patterns and structure well beyond basic unobtrusive jQuery usage.
Apr
12
comment Design Patterns for Javascript
+1 @c69 on Stefanov's book. It goes over patterns that actually make since and are useful in the context of JavaScript, instead of just implementing Gang of Four patterns in the language.
Mar
21
comment Why do relational databases only accept SQL queries?
I'll play devils advocate and note than any reasonable ORM should be configurable to meet the needs of an application.
Mar
13
comment Fastest way to find the closest point
+1 The edit adding "is constantly moving" really changed the question...
Mar
13
comment Fastest way to find the closest point
+1, I was about to recommend a similar path. Depending on other constraints and how crucial this is, you could probably develop a very specialized data structure to get the lookup time close to O(1). Some info that would be helpful to optimize... can points repeat? are they over a set range? are they all integer values?
Jan
10
comment Correlation between college grades and job performance?
First you would need a true metric of "job performance"... when in of itself has no good metric.
Dec
22
comment When to use PHP or ASP.NET?
design goals- php originally stood for personal home pages and was designed to make simple serverside scripting easy. asp.net was built to compete w/ java ee as a enterprise level solution. php has assimilated many features over the years, but this "feature tacking" rots through in language inconsistencies and platform quirks. i use php often, but it is and was designed to be a web language, not a general purpose programming platform
Dec
17
comment Confusion of the “stack” in Assembly-level programming
confusing way to ask that, but yes, the stack is in RAM.
Dec
12
comment What's so great about Clojure?
@RobertHarvey Scala, JavaScript, C#, Python, and Haskell are all on the top of my head as far as languages with first class functions that I would consider more human-parsable syntax than Lisps.
Dec
11
comment What's so great about Clojure?
@RobertHarvey I would argue that if you aren't taking advantage of marcos, then there are a plethora of other languages that I would turn to which offer first-class functions with a much more readable syntax.
Dec
8
comment Python productivity VS Java Productivity
+1, fully agree. I love using Python and similar languages on smaller projects where I can wrap my head around their entire scope without much trouble. The problem comes in larger projects where you have to infer interfaces between components. This, combined with weaker refactoring support makes me less confident in producing large, stable, maintainable systems. Lots of tests have to be written and maintained, just to make up for the lack of static analysis that the compiler performs. When it gets to this point, the benefit of the quick initial iteration is lost in mainenance.
Aug
24
comment What is a suitable replacement for an Access 2003 database required to run an older PC?
I would add not to upgrade to the current access version... its performance on older hardware is abysmal...
Jul
5
comment What are some concepts people should understand before programming “big” projects?
+1 proper version tracking should be one of the first things to learn before making a "real" project
Jul
3
comment What are the typical applications of Lisp macros?
+1 for you and -1 for p.se for being necessary to pre-emptively defend a question from the "close happy"...
Jun
29
comment Path of Languages from High School to Career
@CodeAdmiral Namespaces are just a way to organize code to avoid naming collisions - almost the same as pagacke in Java
Jun
29
comment Path of Languages from High School to Career
@CodeAdmiral - yes, java moves at a dinosaur pace. There are too many stakeholders and backwards compatibility is a primary goal, so new features are very slow to evolve. By comparison, C# is a very similar language, but has evolved extremely quickly during its time, much like ruby, php, etc.
Jun
29
comment Path of Languages from High School to Career
+1 Seven Languages in Seven Weeks. Its a great book to expose different paradigms in a concise, to the point manner. The only thing I would add would be to host your pet projects on GitHub or similar, so you have everything saved. I've been programming for about 15 years, and I wish I still had half the code I've written...
Jun
29
comment Is it a good idea to write an OS in a scripting language?
good point, can't argue with that. Asm will always be required at some level; although, I believe that the only piece that absolutely must be written in asm on x86 is the bootloader. After that, most C implementations have inline assembly features that could allow you to construct anything above that. This is in contrast to a scripting language that always must have some lower abstraction of a runtime environment present, as it never touches the hardware without going through the runtime abstraction.