Posts from — September 2011
One thing I really like about the software development books I’m reading is that most of them don’t just describe features, but give practical advice, based on experience, on the best ways to do things.
I’m wondering if they are any similar books for PLC programming?Â Books that don’t just discuss how to write a ladder logic program, but the best way to do it — and why that recommended way works better.Â (Note: I’m thinking books here, not websites or blogs, because this is the kind of topic that is best approached in a systemic way by a substantial book, not a serious of disconnected posts.Â The Art of Unit Testing is a good example of what I’d like to see.)
September 27, 2011 5 Comments
I just bought a lot of software development books, mostly centered on Microsoft’s .NET Framework.Â I have a code base that is getting old and creaky (for example, parts are written in VB6) and it’s time to look at re-doing it, using Visual Studio 2010.
I’m tempted to write everything in a mix of F# and Boo, but I won’t, because it would be hard for almost anyone else to maintain it.Â Instead, I’m planning on mostly C#, with maybe some IronPython thrown in (for rapid customization).
I’m reading each book quickly first to get an idea of what I can learn, then I will go back in depth for the techniques that I will use.
So what is on my list?
- C# In Depth, Second Edition — to make sure I’m up to speed with all the latest changes to C#.Â I haven’t read it yet.
- Functional Programming in C# — highly recommended; it’s well written and shows how to use a lot of the functional techniques I’ve come to love from using Python; in short, it makes C# much more usable.Â However, if you aren’t already familiar with concepts such as closures, first class functions, and lambdas, it’s going to be slow going for a while — and consider learning them in another language first (such as Lua using Programming in Lua).
- The Art of Unit Testing: With Examples in .NET — highly recommended; it provides lots of practical advice and best practices for creating unit tests that work well.
- IronPython In Action — I haven’t read it yet, but it looks good, with a lot of best practices advice.
- Practical Statecharts in C/C++, First Edition — I haven’t read it yet.Â This book is really aimed at embedded developers, and although I don’t plan on using the author’s Quantum Programming framework, I think I will get some good ideas from it.
The Manning books all include a free PDF of the book when you register your book.Â I haven’t done this yet, but I will soon.
All my books are real, not e-books, because I prefer real books when learning a new topic, the paper books were cheaper or about the same price, and I won’t buy ebooks that require a proprietary reader (such as Kindle or Apple books).
September 12, 2011 No Comments
If you want to learn MCAD or make models to build in your garage, there are a couple of new choices:
- Siemens PLM Systems is making the student edition of Solid Edge available to basically anyone for free.Â Limitations include no commercial use, files incompatible with commercial Solid Edge, and watermarked drawings.Â See Deelip’s post for more details.
- ASCON has introduced Kompas 3D-Home for $50.Â David Levin says that Kompas 3D-Home cannot be used commercially, but otherwise has no limitations.
September 7, 2011 No Comments
Recently, I needed to compile some code for Visual Studio 2003, which I don’t have (I have VS 2002 and VS 2005).
The obvious approach is to convert the project to VS 2005, which uses .NET 2.0.Â However, I wanted to compile to .NET 1.1 for various reasons, and VS2005 does not allow this out of the box.
The first approach I tried was using the MSBee program.Â MSBee is a program for MSBuild to allow compiling a program in VS 2005 to .NET 1.1.Â MSBee requires modifying the project file, and has to be run from the command line.Â I gave it a try, and it gave me a lot of errors.
I probably could have figured out those MSBuild errors, but I found a better solution: SharpDevelop 2.2.Â SharpDevelop typically allows you to compile to either the current .NET version or the previous one.Â So SharpDevelop 2.2 can target either .NET 2.0 or .NET 1.1 — and it can read and convert VS 2003 project files.
Sharp Develop read my VS 2003 solution files without a problem, and I went to the Project menu, selected Project Options, clicked on the Compiling tab, and set the Target Framework to .NET Framework 1.1.Â Success!
September 2, 2011 No Comments