Fed up with Microsoft (.NET)
December 9, 2007 11:36 AM
Subscribe
Best programming language for internal automation?
I don't have any formal programming training but have written and read enough that my code is fairly 'tight' - all object-oriented, all of my projects utilize code-reuse from the classes I've created, etc.
I write programs to automate tasks I perform as a DB admin. I have one intra-office app with an interface but all the others are just desktop apps (most without forms) for automation - a lot of data-access, file preparation & archival, data-logging, etc. We are on a Microsoft platform so most of my code is in VB6, some in VB.NET, some in VBScript, and some in SQL. I have flirted with JavaScript and C# and don't think I'd have much trouble switching.
Over the years I've grown increasingly frustrated at Microsoft's direction with regards to the security implementation in Vista, the ever-changing/expanding nature of .NET, etc. After a year of wanting to wipe Vista I finally did, putting 64-bit XP on my machine...what a relief! I've also seen the advantages of open source - its flexibility, availability, cross-platform nature, and constant innovation by other programmers and users.
Anyway, after re-installing everything, some of my compiled VB.NET programs no longer work! The particular project sparking this question was compiled and stable for over a year on 32-bit XP and Vista; it is suddenly broken (even after I checked to ensure it was compiled to run on x86 - a gotcha I'd already run into on 64-bit). I have had this happen before when the latest & greatest '.NET framework' or VisualStudio version was released, and frankly I'm sick of it.
After struggling for hours to track down the reason for my program suddenly being broken I just said "screw it" and started re-writing it in VBScript...though there are lots of disadvantages to a scripting language (especially error-handling and forms), the BIG advantage is that every VBScript program I've written during the past 7 years still works perfectly on the 8 or 10 flavors of Windows on my network. I never have to install special frameworks or DLLs (depending upon what object model I'm referencing) or anything else - it just works.
So my question is this: what would you recommend for non-web intranet programming of the sort I'm doing? Something that will work well on all flavors of Windows from 2000 Server to Vista 64, allow disk and network drive access (with the Windows Server security model), easy data access for SQL Server and Microsoft Access, etc.? A good IDE would be nice too, particularly when I'm learning the language - please throw in any IDE recommendations you have as well (Sharp?).
I'm guessing Java would be the way to go but I'm just wondering if there are other recommendations. Thanks!
posted by jjsonp to computers & internet (21 comments total)
2 users marked this as a favorite
An example of a utility I use creates a new IIS virtual folder, updates the registry, changes the permissions on some files and adds some new user accounts.
I've also had some luck with Python, but the integration isn't there to the same degree.
(*) I say I use VBScript, but I may be using the windows scripting host with vbscript. Needless to say, I have text files with the extension .vbs which when double clicked or called from a command prompt do the things I need.
posted by seanyboy at 11:49 AM on December 9, 2007