436 reputation
38
bio website jsweeneydev.net84.net
location New Hampshire
age 23
visits member for 2 years, 3 months
seen Jun 30 at 14:28

Programmers: "Hello. I was wondering what -CLOSED-"

The name's Jeff. I'm a software developer from New Hampshire. My hobbies include researching, creating, and developing (software and etcetera). I like logic, reasoned opinions, cool Javascript effects, and macs. My dislikes are monopoly abusive companies, closed minds and most types of redundancy.


Apr
7
comment XML: Multiple roots + text content outside the root. Does anyone do it?
I've seen plenty of XML that doesn't follow the standard, from not using quotes correctly to closing tags inaccurately. Ticks me off too ;) I just need to know if you have personally ever seen code that goes against these two particular standards, and what it was for.
Apr
7
asked XML: Multiple roots + text content outside the root. Does anyone do it?
Apr
4
comment Why is CS never a topic of conversation of the layman?
youtube.com/watch?v=rJp86_tj9KQ
Mar
30
awarded  Critic
Mar
29
comment When should JavaScript generate HTML?
@PeterTaylor Because that's what most frameworks do; inject raw HTML from an AJAX request with innerHTML or document.write, as opposed to intelligently adding necessary elements with appendChild. You can add HTML if it's done sparingly and wisely.
Mar
29
comment When should JavaScript generate HTML?
@PeterTaylor If an element or two is added with document.appendChild or something, there probably won't be any problems. The issue is with code that looks that looks something like this- div.innerHTML="<table cellpadding='0'><tr><td><label>Val:</label></td><td><input type='text' /></td></tr></table> -is a nightmare to debug.
Mar
28
answered When should JavaScript generate HTML?
Mar
28
comment How do you dive into large code bases?
I would like to see how this gets answered as well; usually I end up just rewriting everything if code is too complex (or poorly written), and that's probably unacceptable/unwise for large projects.
Mar
27
comment how to choose a web framework and javascript library?
@Trylks well, good luck to you ;)
Mar
27
comment how to choose a web framework and javascript library?
@Trylks Server-sided scripting languages (like PHP or server-sided JS) are ok for generating HTML content, as they will always generate the content before it's sent to the client. I can't think of one justifiable case to use client-sided Javascript to spit out fundamental HTML content (though it is done often). Javascript can be disabled, and it should only add/remove HTML in an intentionally dynamic page (such as a webapp like Gmail). The most efficient way to use HTML is to use HTML :)
Mar
26
comment How does one pronounce “cron” as in “cron job”?
+1 (heh, "crawn")
Mar
26
answered What is an effective way to organize tasks for a new project?
Mar
26
comment how to choose a web framework and javascript library?
@Trylks then try out a framework. The only reason for the warning is because StackOverflow is largely populated by developers that know a lot about a framework, but not a lot about Javascript itself ;) And remember: Javascript frameworks were built in Javascript, so there is always a way to do what a framework does without using it, though it isn't always practical.
Mar
26
comment how to choose a web framework and javascript library?
@Trylks That's fine, but at least know (or set out to know) what plain Javascript is capable of.
Mar
24
comment Call constructor using an arguments object in javascript?
@Beanow Fair enough. Remember that the apply function doesn't return anything though.
Mar
24
comment C++ 'using': Should I use it or should I avoid it?
+1 it's amazing how many tutorials and college courses just tell you to use the using keyword without a thorough explanation of why namespaces are used to begin with.
Mar
23
comment Thoughts on web development architecture through integrating C++ in the future to a web application
@Holland What will your web application do? And yes, it is very possible to make a good web application with almost any reputable server-sided language out there (stick to Javascript for client-programming though; from what I've seen, Flash, Sliverlight, and other plug-in based client solutions seem to be on their way out).
Mar
23
answered Thoughts on web development architecture through integrating C++ in the future to a web application
Mar
23
awarded  Commentator
Mar
23
revised Call constructor using an arguments object in javascript?
added 124 characters in body