2 comments

  • ReDress 56 minutes ago
    I just looked at the first example / utility he implemented; which was 'touch'

    Will this actually update the 'last modified' date for an already existing file?

    Also, there's a standard way of processing command line arguments on Linux/Unix, which is not being followed here.

    • _ache_ 35 minutes ago
      No it will *replace* or create the files "touched" by an empty file.

      Major bug in the first command.

      Technically, yes, it updates the last modified date, by actually emptying the file. He should have use "w+" or "a" instead of "w".

      PS: I like this guy.

      • taspeotis 0 minutes ago
        Should have used AI
      • geocar 1 minute ago
        w+ truncates
    • lycos 54 minutes ago
      to be fair the title didn't promise it would be done well
      • ReDress 50 minutes ago
        well, if we go by the title then I would expect that he's writing the code on a piece of paper and not typing into a computer - heh

        But, okay, that could make a valid excuse.

        But, what you cannot excuse yourself for, is that you don't really add any functionality. In fact, you don't reproduce all the functionality let alone adding more.

        • danielbln 36 minutes ago
          But it's no AI, it's organic, hand woven, the toil and pain of really putting it down by hand... or something of the sort.
          • piekvorst 19 minutes ago
            Primitive technology, modern look
          • agumonkey 26 minutes ago
            True slop ?
            • danielbln 19 minutes ago
              The true ultimate expression of the human condition.
  • el_psy_congroo 17 minutes ago
    sometimes, I really miss coding by hand
    • dolmen 5 minutes ago
      What is stopping you?
      • KingOfCoders 4 minutes ago
        Probably "I miss coding by hand and being paid for that".

        Might be a 9-5 coder.