Retracting my post "there are no good laptops for devs right now"

Last August, I wrote a post bemoaning the fact that there are no good laptops for devs right now.

I'm writing to retract that post.

I'd been used to using Lenovo's in recent history, but I gotta say that my last Lenovo experience - a P50 - was horrible. Couple that with a problem with the latest Dell MBP clone (the double space issue I described in my previous post) and I just have no faith in any PC manufacturer. So I elected to go with a MacBook Pro 15" for a few reasons.

  • Portability. I'm still traveling a fair bit and the ability to have a light laptop is huge for me. I can handle a 4lb MBP, but I didn't want an 8lb monster complete with huge power brick.
  • Experience. I've gotten quite used to many things about the Apple life - I like the software and the experience of the operating system. I like the gestures coupled with THE best trackpad money can buy. I really only need Windows for Visual Studio.
  • Vastly inferior hardware. In short, details matter. I want the nicest, brightest screen that I can have. I can't work from one screen UNLESS that screen is attached to a Mac. I want the best trackpad. In essence, I want the hardware to complement my working process. I don't want to feel like I'm fighting the hardware to do what I'm paid to do - Get Shit Done.
  • Lenovo workstations has sharply declined in quality, mainly from a software perspective. With my P50, I had to reformat it every 6 or so months because it become so slow as to be unusable. It consistently had problems with slow boot times. At its worst, typing into a text editor becomes a huge chore - every 2-3 seconds, the next keystroke registers. These are supposed to be stacked, top-of-the-line machines, and they just don't act like it. No thanks!

So, I felt like I had to compromise. I wanted 32 GB of RAM, but I wanted a Mac more. So I opted for a 15" MacBook Pro with touch bar, 16GB RAM, and 1TB hard drive.

As a mainly .NET guy, I was left with the choice of dual-boot Windows or Windows on Parallels. I chose Parallels, and I played with the settings for a little while before landing on 6GB of RAM. I can comfortably run multiple instances of Visual Studio - with SQL Server - on this 6GB.

Allow me to make a bold statement: I can attest to the fact that you in fact do NOT need 32 GB of RAM as a developer (Scott Hanselman said himself the other day that 16 GB of RAM is the "sweet spot"). I live without it just fine - and my Windows experience is plenty fast.

All that said, I officially retract my earlier statement. I now maintain the only laptop that truly has everything is the MacBook Pro - at least, everything for me. I know some of you will disagree, but as they say, you can't account for taste.

Lessons learned from dabbling in open source

About a year ago, I wrote and released a library that buttons to the top of AutoMapper, an object mapping library written by Jimmy Bogard and one of the most popular NuGet packages out there. It's called AutoMapper.Attributes and its basic idea was to be able to define simple mappings using C#/VB.NET attributes. It was meant as a kind of a toy library, but I released it and have been pleasantly surprised at how folks have reacted to it, to the tune of over 25,000 downloads in two years - not too shabby if I do say so myself!

The best way to test software you've written is to dogfood it, so I did what any normal developer did and used it both at work and in personal projects. It worked for a while... that is, until it didn't.

Glad you asked, Jimmy!

As I started using it more and more, I slowly came to the realization that the library itself is an anti-pattern. The idea of it is completely flawed, and here's why.

Fact One: Mapping is hard.

Unless the object maps are very simple (and if you're mapping, they almost never are), attributes do a very poor job of capturing the nuance of many mapping use cases.

Fact (really, opinion) Two: Maps should be separate from the objects being mapped.

This is a little prescriptive, but by and large, mapping attributes (or mapptributes, as I call them, ha) cross an invisible boundary that, in my opinion, shouldn't be crossed. Attributing classes with information about other classes they're being mapped to is total betrayal of separation of concerns.

Fact Three: Facts 1 and 2 led developers in my own organization to work around the limitations of my library.

The most painful realization that mapping attributes were the wrong solution was when I saw people using my own library in ways I never intended. I remember going over a use case with a junior developer where he did horrible things to the code in order to get AssertConfigurationIsValid to not throw. I remember him describing (kindly) how my library wasn't sufficient enough to do something that I considered to be fairly critical, so he wrote his way around it.

The first thing I asked myself was, why didn't you stop using the library then? That was the moment that I started to realize my library was the wrong solution to begin with.

So, a few lessons learned.

One: Maintaining open source software is hard work.

I don't get nearly the volume of issues that other libraries do, but I felt a tiny bit of the pain of having to answer to folks that say, "your software doesn't work for me and here's why". Of course I was happy to help, but it was often hard to prioritize that when my nights were occupied with family/work/self-care/etc. Maintaining the library became a bit of a chore.

Two: The best way to know if your software is good is to use it yourself.

This isn't particularly an open source thing, but the best way to know that the software was good or not was to use it. It was great until it wasn't. I didn't truly feel what that felt like until I realized that my own creation was quickly becoming my codebase's own worst enemy. To that end...

Three: Realizing your software was the wrong solution is humbling.

When I wrote it, I thought that my library was a cool use of attributes and was a good way to reduce the amount of code I was writing for attributes. What I realized instead was that my library's flawed premise was causing me to write more code, and more painful code at that.

This is a humbling experience and I highly recommend it - it's good to be reminded that you truly don't have all the answers.

Finally: You have to know when to quit.

It happens all the time - abandoned open source projects. This one was a tiny, tiny one and it's time to let it go. To that end, I'm not doing any more maintenance on it. It'll live forever in my Github repo as a good lesson learned in dabbling in open source.

Now, to deal with all the codebases I have that use it...

There are no good laptops for devs right now

I’m convinced there are no good laptops right now for developers.

Things I want: quad core, decent battery life, 32GB of RAM, MacBook-esque trackpad.

Here’s basically my choices:

  • Macbook Pro, but only 16 GB of RAM
  • Any other machine that has some problem

I bought a Dell XPS 15 last week to see if it could be my development machine. It has a lot of pros but one huge con.

Good: screen amazing, 32 GB RAM, travel friendly.
Bad: Only decent battery life, trackpad good but nothing like MacBook still.
Ugly: Every 10-20 words, it types two spaces.

When I googled the issue, I was shocked – this has been a problem for a long time apparently with no good remedy.

So, I’m left with two choices. Keep it and buy a Dell protection plan so they can fix it onsite, or return it. I’m not testing Dell support hell – the notebook isn’t good enough in any other way for me to take that gamble.

Guess I’m waiting for a 32 GB MacBook.

My Essential .NET, C#, VB.NET, and Web Dev Tools and Frameworks

Here is my (mostly) comprehensive list of tools I use for development, either at home or work.  It’s like Scott Hanselman’s, but focused almost purely on development, with a couple of extras.  While you’re at it, go check his out.  All opinions are my own and are not bought or sold.

The Main Stuff

Visual Studio – king of IDEs and the essential tool for .NET devs everywhere. Not much else to say except that it has a great starting toolset for any developer and amazing plugin support.  The Community edition gives the masses the power of the Professional SKU, for free.  Simply amazing and getting better with every release.

Visual Studio Code – Microsoft's cross-platform IDE has taken the lightweight-yet-extensible text editor world by storm. I use this on my Mac for developing ASP.NET Core apps, writing Markdown files, and just editing plain text files. Has almost totally replaced my use of Notepad++. The plugin system and rapid development turnaround is going to threaten the paid alternatives in a big way (Sublime, I'm looking at you).

Node Package Manager - best tool for installing your command-line dev tools and front-end frameworks. I use it in conjunction with Visual Studio and Visual Studio Code to do development across several stacks, including WebForms apps that I support.

SQL Server Management Studio – it ranges from a useful IDE for SQL to a huge time saver for things like table creation and script generation.  The DROP and CREATE tools are awesome for generating scripts for tables, stored procs and more.

LINQPad – the best .NET code scratchpad on the market. It's not just for writing LINQ queries - it's   It’s not a complete replacement for SQL Management Studio, but for complex queries with lots of data, it’s my first choice.  The Premium edition is a steal and makes this essential tool 5 times more useful with C# autocomplete, NuGet, cross-database query support, and debugging.

NimbleText – thanks to Scott Hanselman, I have found this program – and my new favorite way to write repetitive code or handle small or large data transformation tasks.  I’ve used it from everything from writing HTML to generating SQL insert scripts.  Its time-saving power cannot be overstated.  And, it’s FREE!

Fiddler – the essential tool for viewing and diagnosing HTTP requests that are happening on your machine.  Turn on SSL decryption and see previously-unknown HTTPS requests decrypted before your eyes.  Use it to view incoming and outgoing HTTP requests in real time.  Turn it into a proxy and send a device’s HTTP requests through it to test devices within your network.  Replay captured HTTP requests with its Composer system.  Fiddler’s amazing abilities cannot be overstated.  It’s helped me diagnose and fix more problems with HTTP services than any other tool.

dotPeek – my favorite way to decompile .NET code, free from JetBrains.  It even has the ability to break a .NET DLL/EXE down into a fully-structured Visual Studio project!

Postman (Chrome extension) – my second-favorite way to test HTTP services is Postman.  Postman has an easy-to-use interface and provides a straightforward way to make HTTP requests.

Google Chrome – I used to use Firefox exclusively, but stopped after it started feeling bloated, buggy, and crash-happy.  Chrome’s dev tools are better than Firebug, which I also found to be frustrating and slow.  Plus, it has much better plugin and app support.

PowerShell - easily the best scripting language on the Windows platform. Great scripting plus the power of the .NET Framework at your disposal when you need those extra awesome features. Also, recently made cross-platform!

Webpac  - bundle all of your JS, CSS, TS, etc files together for delivery to your local friendly web app. I use this on new and old projects alike. Powerful and simple to configure.

Visual Studio add-ins

ReSharper – perhaps the most essential tool for .NET devs around the world.  Amazing refactoring that puts Visual Studio’s default refactoring capabilities to shame.  Code generation that makes writing constructors, methods, or pretty much anything a snap.  Search tools that makes navigation through code effortless.  A built-in test runner that makes running and viewing tests a breeze.  A code analysis tool to help you find mistakes and potential pitfalls in your code.  Built-in added support and intellisense for common frameworks such as ASP.NET MVC.  It is truly the god of all Visual Studio plugins.  Go download it and tell your friends.

OzCode – if you’re a C# developer, you need OzCode.  It turns debugging from a necessary chore to a borderline delight.  Break down code expressions, highlight the most needed data in an object, compare data between two objects, find all objects of a given type in memory, and exceptional exception handling make OzCode a star – and that’s just the tip of the iceberg.

Web Essentials – a great tool by Mads Kristensen of Microsoft – it’s his personal testbed for new web-based Visual Studio features.  Features things like quick HTML typing using ZenCoding, a link between the browser and Visual Studio for seeing immediate changes to your changed HTML/CSS, better Intellisense for CSS/HTML/JavaScript/Angular, and so much more.  Install it and watch your productivity in web development go to 10.

GhostDoc - best way to quickly write your XML code comments. Makes it so easy to annotate your code with comments about the code you're writing.

Source control

Git - the favorite source control solution for tons of developers. So prevalent that all recent Microsoft open source code is published to GitHub instead of their own internal SCM, Team Foundation Server. Most powerful learned with the command line or using tools such as...

SourceTree – a great visual tool for Git users.  Not perfect, but very helpful.


C# - my preferred backend language since the start of my career. So much power and ease in the language and in the .NET Framework. Made even more relevant with the recent introduction of .NET Core.

JavaScript - famously called the machine language of the web, it's the most critical language for any software engineer of all disciples and skill levels to master if you're doing web work of any kind.

TypeScript - my preferred language for all JavaScript development I do. Embraces the weirdness of JavaScript while adding awesome features like a better type system, interfaces, and all of the features of any flavor of ECMAScript.

F# - simply the best .NET language in existence, F# is one of the best functional languages for any programmer to learn. Learning this will make you a better programmer no matter if you stick with object-oriented for the rest of your career.


Microsoft Azure - the no-brainer hosting solution for .NET developers and, well, any developers for that matter. Runs Windows as well as it runs Linux, Unix, you name it. Amazing interface and tons of power - even has a RESTful API that you can use to spin up and maintain servers.



ASP.NET Web API – built on top of MVC, Web API makes spinning up an RESTful API a breeze.  Host it in IIS or self-host on top of OWIN (this works great with Topshelf.)  Use it to power everything from your mobile app to your single-page application, powered by your favorite JavaScript frontend framework.  Versatile and fun to use.

React - amazing view library which has gotten a ton of love in the last couple of years. Combine it with your tooling of choice to create awesome web apps that scale well from a codebase perspective. Write your views in JavaScript using JSX and put the power of your HTML into your JS, as opposed to the other way around with Angular.

Angular 2 – Faster than Angular 1. Simpler… that’s debatable! Very batteries included compared to React. Get started quickly and create awesome web apps around components using an easy-to-learn templating system. Combine with TypeScript for an awesome development experience.

Redux - the Redux state container has emerged as the pattern/framework of choice for creating web apps using React. Extremely simple to understand and with a low API surface area, which means you can get started really quickly. Combine with Angular 2 using ngrx, a framework designed around the Redux pattern.

SignalR – the easiest and most powerful way to create an excellent realtime experience for the web or anything that can connect over HTTP.  I personally used it to power realtime text message communications between a Xamarin-powered mobile app as well as a desktop app.


Xamarin – I don't do mobile anymore, but this was my personal favorite way to create an awesome mobile experience using the C# dev stack.  Completely free from Microsoft.  Use Xamarin.Forms to create mobile views for all major mobile platforms and share a 90% common codebase.

Data access

Entity Framework – my favorite way to access a database, period.  Use LINQ to communicate with your database, create your data views using attributed POCOs and easily update your model with Migrations.  It’s not for everyone, but it’s fast enough for most use cases and getting better every day.

Dapper – when I want a way to quickly access a database using SQL, Dapper has my back.  Deceptively simple API for what turns out to be a very fast way to access data.  Powers the data access layer behind StackExchange, one of the highest traffic websites on the planet.


Newtonsoft.JSON – the standard for JSON serializing and deserializing in .NET.  Used everywhere.  Go and buy him a beer – James Newton-King has made all of our lives easier.

AutoMapper — used to map properties in objects together. One of my favorite libraries in .NET. I combine it with AutoMapper.Attributes to create self-documenting type definitions.

TopShelf – when spinning up a Windows service using .NET, nothing is faster and easier than TopShelf.  Utilize its Fluent API to quickly and painlessly create a Window service, fast, in a manner that’s self-documenting.

RabbitMQ – when you need a reliable messaging queue for your suite of applications, RabbitMQ is a strong choice.  If using .NET,EasyNetQ makes the experience that much easier – it abstracts the most difficult parts away into message passing via POCOs.

Underscore.JS – my favorite JavaScript framework for object manipulation and collection traversing/ transformation.  It’s not as nice as LINQ, but it has a decent chaining syntax and is very feature-complete.  Lodash is another alternative that is drop-in compatible with some extra functions.

Moment.js – Dates in JavaScript are harder than they need to be.  Moment.js makes it that much less difficult by providing a simple and powerful date API.  Usually my second web project add-in (first being Underscore, of course.)

Little stuff

F.lux – changes the color temperature of your monitors at night.  A small thing but makes night programming much easier on the eyes.

Paint.NET – a fast, free paint tool written using .NET.

WinRAR – my choice for compression.  Yeah, I know Scott Hanselman recommends 7Zip, but 7Zip’s context menu requires two clicks – WinRAR’s only requires one I'm codger-y and like WinRAR. (Thanks for all those who pointed out that, in fact, you can configure 7Zip's context menu to require one click.)

Treesize Free – a great cleanup tool for those who have constrained hard drive space.

LastPass – a wonderful password manager that makes managing logins a much easier endeavor.  When you’re in IT, you know how crucial it is to keep track of passwords and LastPass makes that much much easier. 

Reddit– I subscribe to r/programming, r/dotnet and a handful of other useful programming-related subreddits.  Useful for a quick mid-day browse when you need to look away from Visual Studio for 5 minutes.

Hacker News – not necessarily programming focused, but it has some interesting tech-related topics.  I just started reading this recently.  Clearly, I’ve missed the party for a long time.

StackExchange– if StackExchange doesn’t have an answer to your programming question or problem, then you’re probably on your own.  Learn from the wisdom of others’ mistakes and find quick, elegant solutions to your programming problems.  Chase down those obscure exceptions.  If you haven’t used it, then you’ve never used Google to solve a problem.

Scott Hanselman’s Blog – Scott Hanselman is my main man.  His blog posts are always interesting and valuable and his contributions to the Microsoft dev world cannot be overstated.

Dew Drop – my favorite link aggregation site.  It’s my daily morning check.  (Morning Brew isn’t as comprehensive, but is still a decent resource.)

Communication slash speaking slash branding tools

Twitter - the best way to communicate with other professionals in your industry in a meaningful way.

Ghost (blogging platform) - recently replaced WordPress in my life. Ghost focuses on one thing and one thing well - creating a great blogging experience. I love the use of Markdown over a WYSIWIG editor. I love its pure speed over Wordpress.

GitPitch — I use this to create presentations. Write simple slides in Markdown and commit to a GitHub repo, and voila — instant great looking slides. Used to be PowerPoint or Keynote, but GitPitch takes a lot less time, and my code slides look great since GitPitch uses GitHub Flavored Markdown.

Trello - helps me keep track of all of my speaker submissions, my current talks, and any conferences I want to submit to. Useful for so much more.

Camtasia Studio - my favorite tool for recording screencasts and demonstrations. Expensive, but worth it if you do this kind of thing a lot. Open Broadcaster Software (OBS) is a free alternative.

Introducing the TypeScript Cookbook

Do you use TypeScript? Ever wanted to know how to get the return type of a function? How about rolling your own nameof operator?

I've started a GitBook I'm calling TypeScript Cookbook. It's a place for all of my favorite TypeScript recipes, from real-world best practices to esoteric tricks I've picked up along the way. Hot, fresh and guaranteed to please!

It's still very much a work in progress, so please feel free to check it out early and often!

By the way, I'm looking for contributors! If you have any awesome TypeScript recipes to share, please get on GitBook and contribute! The book is fully open source!

Click here and check it out!