I just want to preface this post by telling you that I am writing it from the eliptical machine. I had this brilliant idea earlier this evening and it may be the best one I ever had save http://bundl.it.
Things on this end are buzzing aw usual. I am getting ready for
PDC next week. Very excited to meet some very cool people and learn about what's coming up in the world of .NET. There are a lot of sessions I am looking forward to, particularly some of the MEF and Azure stuff. Excited about SQL Server support in the cloud, it's the one thing that's been standing between me and the upper hemispheric web apps.
I have been dabbling in Python for a little bit now and the contrast to C# is facinating. The thing that gets me the most is that while C# will throw an exception at the first sign of a sin against typing, Python will try its darndest to make things work. I both love and loathe this. Python as a language is intuitive, I have found often when I'm unsure about syntax I think, "well, it would make sense if it were this" and then when I go check that's exactly what it is.
I plan on writing about setting up your local Python environment on a Windows machine later in the week, as it is not as easy as it would seem. Now, is the .NET world losing me to the dark side? No, I see the need for both languages and I'm just adding some more tools to my developer's tool box.
There are some exciting events coming to the NY/NJ area in the following months, as well as one rocking nationwide one that I can't wait to tell you all about. Stay tuned, and if your curiousity is killing you shoot me an email or an IM, I'll get you in the know.
My desk:
Comments
fallenrogue on on 11.09.2009 at 11:48 AM
Lose you to Python from .NET? Why choose at all? :) IronPython is amazingly stable and feature rich, just use it along side your C# work for the best of both worlds! THEN, blog about it! :)
Just think, IronPython with C# extensions? You're gonna love it, I promise!
lorg on on 11.10.2009 at 3:40 PM
Can't wait to see you blogging on Python, welcome to the community :)
I wonder, now that you're getting experienced with both languages, what's your take on c#'s equivalent to the Python Zen (if you don't know what I'm talking about, try to "import this", or check out pep 20).
Gene DeClark on on 11.12.2009 at 3:11 PM
The most important thing is to follow the old adage "use the right tool for the right job." Once upon a time, the thought-of-the-day was to create one programming language that would be all things for all people. (PL/I was one result.) Now-a-days it comes down more to interoperability between different layers, each (potentially) implemented in a different language, and each performing the portion of the task for which it's best suited. (Most of .NET 4.0 features address interop for just this reason. COM isn't going away anytime soon, so .NET adapted to better work with COM.) So learning about Python should in no way lessen .NET. People should just use whichever one makes most sense for any given task.
hoopsomuah on on 11.20.2009 at 8:28 PM
like fallenrogue said, you don't have to choose one or the other. Take a look at intellipad (part of the Oslo SDK). It's a WPF app written in C# but it's extension system integrates with Python. We even built support for writing MEF exports in IronPython.
It would be interesting at that point to run down a list of when to use one over the other. I don't think I've ever seen anyone lay out guidelines based on the differences between the two languages.
schematic circuit on on 12.04.2009 at 7:37 AM
i really appreciate this your good article
from there i get something that i want to know
thanks for this usefull informations
Victor on on 12.04.2009 at 5:29 PM
I've been dabbling in the dark art of python for some years.... I find it so amazing!!! nice turn on actually lol!
Simon Segal on on 1.05.2010 at 9:07 PM
Excellent - another C# dev ascending into the world of Python. I have found learning and working with IronPython a real joy this past 6 months or so, however I don't have exactly the same set of expectations around it as I do with regards to my C# coding skills. I expect my skill and expectations to grow with time, yet I have still been able to use the IronPython in the real world to good effect.
What tools are you using? I'm still working with NetBeans 6.7 and posted on how to set that up and some other uses I have had for IronPython in my work such as creating a scripting console for use with my favorite messaging framework NServiceBus. If your interested here are some of the IronPython projects and posts I have been pursuing.
www.simonsegal.net/.../ironpython
Looking forward to following what you get up to with Python.
best free casino rooms on on 1.14.2010 at 10:39 PM
I think that yet another way to think about the view model is you literally say the phrase 'presentation model'. Such that if you have a complicated domain model that has a deep object graph you will see very quickly how cumbersome that can be to work with in your views
Circuit Diagram Dude on on 2.22.2010 at 4:01 AM
Sounds interesting when you talk about Phyton, maybe i should try it!