ChrisSD
Joined 9 years ago
Karma
7,323
Submissions
1,785
Member since
Aug 5
64b2ffe4-6461-4f2e-9258-2a1839d40720
View on Hacker NewsJoined 9 years ago
But of course Python function were always duck typed so it often didn't matter to the user.
In practice almost every application does still need to do its own parameter parsing; a flat array is not enough.
That said having key/value semantics and not just stream of bytes would make the shell much more versatile, at the cost of making it bigger.
Most Windows NT kernel functions take a buffer to use rather than allocating their own memory. Even many Win32 functions don't allocate (although there you have to be much more careful).
Though nowadays system files should be protected even from admin and even if you do manage to delete them, Windows can restore them.