tag:blogger.com,1999:blog-3554166144204741789.post9191880896106503967..comments2023-12-31T02:16:32.747-08:00Comments on 1-800-MAGIC: Scriptster: C# as a scripting languageSergey Solyanikhttp://www.blogger.com/profile/03811112928687191837noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3554166144204741789.post-71279707305423700242009-07-03T10:25:19.138-07:002009-07-03T10:25:19.138-07:00Oh, I don't know. It's new, not much penet...Oh, I don't know. It's new, not much penetration yet. It doesn't integrate into CMD yet. I personally am not a huge fan of PowerShell syntax.<br /><br />I think a lot of management scripting interface at Microsoft is done via PowerShell now, though.Sergey Solyanikhttps://www.blogger.com/profile/03811112928687191837noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-63573185944136100282009-07-03T09:53:34.051-07:002009-07-03T09:53:34.051-07:00>We use CMD.
Why not PowerShell?>We use CMD. <br />Why not PowerShell?Yuri Chebotarevhttps://www.blogger.com/profile/06603695388130883778noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-87010647964653390702009-07-03T09:51:04.004-07:002009-07-03T09:51:04.004-07:00We use CMD. I actually don't think CMD is any ...We use CMD. I actually don't think CMD is any different from bash/csh/ksh in terms of usability and programmability.<br /><br />As far as using them all w/o scripting, it's just what you're used to.<br /><br />As far as programming, I submit that Unix shells are even worse - does this look like a statement from a reasonable programming language to you?<br /><br />if [! -x $HOME/blah ]; then...<br /><br />(1) Why ";" after conditional?<br />(2) Why these silly conditionals which are the cross between Fortran and command line flags?<br />(3) Why existence of a variable and the emptiness of the variable are different tests, even though you cannot have an empty variable?<br />...Sergey Solyanikhttps://www.blogger.com/profile/03811112928687191837noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-33344161192559220992009-07-03T07:38:03.591-07:002009-07-03T07:38:03.591-07:00Sounds interesting. If I ever get assimilated by ...Sounds interesting. If I ever get assimilated by the Windows world, I see about using it. I know it is old school, but I use Perl for quick jobs. I work on Unix, but at home I use Windows and have Cygwin unix environment.<br /><br />I really hate the Windows "cmd" command line windows. I like to run a Cygwin rxvt window running Bash as the shell. What do you windows guys use for a command line?nathan3700https://www.blogger.com/profile/04423294092652508970noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-15447065946160896082009-07-01T09:20:56.367-07:002009-07-01T09:20:56.367-07:00Nice! I wonder why Microsoft did not made it build...Nice! I wonder why Microsoft did not made it build in :-) ( and made some more of these security holes :-) Kidz love scriptz to pw0n!<br /><br />My 2 ( actually 5 cents ) :-)<br /><br />1) It will be nice to have option if it will be just script: just BODY of what is inside Main. As Yuri suggest, just allow to skip this part: for small sweet scripts this is overhead.<br /><br />2) Yes, it is hard, but 'nuke' your //ref thing :-) Make some dictionary and scan for "signs" and add "using" automatically. I believe if you "add" too much it will not be too bad :-)<br /><br />3) It should run on any platform. Make it work with "mono" :-) and help "spread" to Linux and OS X - even if % is small it will surely help get PR and traction :-) and will boost Windows adoption.<br /><br />4) Of course, documentation, "C# for dummies and examples are in order on "dedicated site".<br /><br />5) I would call it SharpScript or some thing :-) and get Web site with some community engine. It may just point to codeplex. if you like :-) but I would add some extra staff :-)DzembuGaijinhttps://www.blogger.com/profile/18060101061698045052noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-14131676964257113282009-07-01T06:20:11.039-07:002009-07-01T06:20:11.039-07:00sweet. suggestion - its annoying to write
using S...sweet. suggestion - its annoying to write <br />using System;<br />......<br />class Program<br />{<br /> static void Main(string[] args)<br /> {<br />every time... introduce some kind of "light" syntax).Yuri Chebotarevhttps://www.blogger.com/profile/06603695388130883778noreply@blogger.com