|
>Because all PowerShell objects are .NET objects, they share a .ToString() method, Congrats, PSH, you did what TCL did ~30 years ago, but worse. With TCL everything it's a string, even numbers. Yes, it sucks you need to [ eval ] math operations, but well, the advantages outnumber the quirks. If you came from Lisp, you will be at home in the spot. Use the l* functions as you were doing the same with Lisp lists, but without juggling with car, cdr, caar, cddr and so on. And there's Expect which is utterly underrated. Yes, I hate upvar sometimes, but with namespaces you can almost avoid that issue. On TCL done for serious stuff... if people have been using Excel with millions of rows for covid patients and census, TCL/Tk with SQLite would outperform these by a huge margin. |
https://github.com/SimHacker/micropolis/blob/master/micropol...