You would think iteration, you know looping over stuff, would be a solved problem in programming languages. Seriously, here’s some FORTRAN code that does a loop and would run on a computer fifty years ago:
Common JavaScript “Gotchas”PHP was my first programming language, and my initial exposure to JavaScript was through libraries like jQuery. There were things about JavaScript that always seemed to trip me up in the beginning due to how they worked differently than PHP. Heck there are still some things today that are confusing.
Be careful with JS numbers!It is common in Javascript to have unexpected behaviors, but this one is particulary vicious. Javascript doesn’t have integer type but lets you think it has. parseInt and parseFloat built-in functions, the fact that “1? is displayed as “1? and not as “1.
Async Unit Tests, Part 2: The Right WayUpdate: The information in this blog post only applies to Visual Studio 2010. Visual Studio 2012 will support asynchronous unit tests, as long as those tests are "async Task" tests, not "async void" tests. Last time, we looked at incorrect approaches to async unit testing.
Async Unit Tests, Part 1: The Wrong WayThe core meaning of this quote is that code without unit tests is not as useful as code with unit tests. The speaker even goes so far as to say he won't use code without tests.
The Twitter stackFor various reasons, including performance and cost, Twitter has poured significant engineering effort into breaking down the site backend into smaller JVM based services.
Understanding your own codeI recently ran into a statement that left me very perplexed. A programmer was proudly declaring that he can’t understand every piece of code he wrote a week ago. I honestly tried to figure out where the pride comes from, but I can’t.
[rshepherd]Courtesy of the is another fascinating postmortem, this time from the Game Developers Conference 2011.
Gmail and the GCBack in 2006 I was working on the Gmail team and we were undertaking a complete rewrite of the frontend code. Gmail’s original web client had strokes of genius in it but was getting really hard to maintain and was limiting new feature development.
This Read-It-Later-list is just that, bookmarks of stuff I intend to read or have read. I do not necessarily agree with opinions or statements in the bookmarked articles.
This list is compiled from my Pocket list.