Yup... Well, I use Boo while testing classes written in C# 2009/8/3 Harun Yigit LEGOZ <[email protected]>
> Script styled/based languages are very useful if you are writing program > has 30 - 500 lines. But when it comes to develop on an architecture or > reading an existing (and older) code, the developer's life will be miserable > because of the scripts :)) > > > ~~~~~~~~~~~~~~~~~~~~~~~~ > Harun Yiğit Legoz > [HyundaiAssan - Senior Software Developer] > [MCTS: .NET Framework 3.5, ASP.NET <http://asp.net/> Applications] > > [B : http://www.hylegoz.net] > [B : http://hylegoz.spaces.live.com] > [L : http://www.linkedin.com/in/hylegoz] > [F : http://www.facebook.com/hylegoz] > [T : http://twitter.com/hylegoz] > > Samuel > Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> - > "I'm willing to admit that I may not always be right, but I am never > wrong." > > On Mon, Aug 3, 2009 at 10:06 AM, Processor Devil < > [email protected]> wrote: > >> Ok, you are right, only members can view it... Ok, here is the page: >> Why to use Boo. >> Edit<http://groups.google.com/group/battle-programming/edit/why-to-use-boo> >> Ok, guys, here is a simple example why to use Boo instead of c#. >> >> As I said before, Boo will help you develop and debug your classes faster. >> Look at this sample code for generating md5 hash in C#: >> >> ** >> *using System; >> using HackFramework.BasicAlgorithms; >> >> class Program >> { >> public static void Main(string[] args) >> { >> if (args.Length == 1) >> { >> MD5Class x = new MD5Class(args[0]); >> Console.WriteLine(x.ToString()); >> } >> else >> Console.WriteLine("Usage: md5hash <string>"); >> } >> }* >> >> and now the same in Boo: >> >> *import HackFramework.BasicAlgorithms >> >> if argv.Length==1: >> x = MD5Class(argv[0]) >> print x.ToString() >> else: >> print "Usage: md5hash <string>" >> * >> 7 lines instead of 16 doing the same thing. >> Code in Boo is very simple, wrist-friendly and can be used as script, >> compiled to .exe or used in Boo Interactive Shell in throw-away mode (if you >> are testing something, you don't need the "test code" more than once) >> >> Well, I am not telling you to stop using C#. I program only in C#, but if >> I have some class I want to test its functionality, I do it in Boo. >> It is also pointless for me to make some simple utilities as md5hash in C# >> for you, C# is for real coding :) >> >> 2009/8/1 William Louis <[email protected]> >> >>> >>> Instead of giving the like y not try to cpy-paste the small content >>> here... >>> >> >> >
