Writing less code != to more efficient. Performing file IO is expensive in regards to resources. Writing to file once is more efficient than writing to file and then reading it back in. Doesn't it...
Type: Posts; User: Junky
Writing less code != to more efficient. Performing file IO is expensive in regards to resources. Writing to file once is more efficient than writing to file and then reading it back in. Doesn't it...
So you didn't like duplicating printing stuff to screen and to a file (2 steps). Instead you decided to write everything to file, read it back in and then display to screen (3 steps). Plus the added...