-
Recent Posts
Meta
Author Archives: dannyrosales
C# vs. VB
Does coding in these languages make you understand the .NET framework better or worse? I would argue that it just confuses and muddy’s up any significant cognitive comprehension of the vast framework we now know as .NET. It really confuses … Continue reading
Posted in Uncategorized
Leave a comment
Paradigm Shift taking hold
The functional hype is starting to make sense. I have been reading up on Functional programming, and am beginning to see the light. I am also learning up on TDD with Mocks. Trying to figure out how I can converge … Continue reading
namespace manager required
using System; using System.IO; using System.Xml; using System.Xml.XPath; namespace consAppXpath1 { class Program { static void Main(string[] args) { //load xml Byte[] content = System.Text.Encoding.ASCII.GetBytes(Properties.Resources.TestConfigInNamespace); MemoryStream memoryStream = new MemoryStream(content); XPathDocument doc = new XPathDocument(memoryStream); //setup xpath processing XPathNavigator nav … Continue reading
Posted in Code-ing, Uncategorized
Leave a comment
I like AOP
by Mathew D. Groves… “Whatever tool you decide to use, AOP will help you do your job more effectively. You’ll spend less time copying and pasting the same boilerplate code or fixing the same bug in that boilerplate 100 times. … Continue reading
Learning Node.js
Learning Node.js from the Beginner’s tutorial… var http = require(“http”); var url = require(“url”); function start() { function onRequest(request, response) { var pathname = url.parse(request.url).pathname; console.log(“Request for ” + pathname + ” received.”); response.writeHead(200, {“Content-Type”: “text/plain”}); response.write(“Hello World-9”); response.end(); } … Continue reading
Posted in Uncategorized
Leave a comment
Crockford-The Good Parts
There are four patterns of invocation in JS: the method invocation pattern, the function invocation pattern, the constructor invocation pattern and the apply invocation pattern. The patterns differ in how the bonus parameter [[this]] is initialized
Posted in Uncategorized
Leave a comment
Anonymous functions in JavaScript
If you need recursion, then name a function, but if you don’t, un-naming a function is fine … in other words, anonymous functions will do just fine when you don’t need recursion var add = function(a,b) { return a+b; };
Posted in Uncategorized
Leave a comment
TDD lives on in Python
check this out… http://www.tdd-django-tutorial.com/
QUnit
Just got through Jorn’s article on using QUnit to unit test JavaScript…http://coding.smashingmagazine.com/2012/06/27/introduction-to-javascript-unit-testing/ , next, is Jasmine, here is the link to get the code , https://github.com/pivotal/jasmine
Posted in Uncategorized
Leave a comment
Visual explanation of how SQL Joins work
This is a cool repost describing visually the different flavors of SQL joins… Visual explanation of how SQL Joins work.
Posted in Uncategorized
Leave a comment