pseudocode - File names in programs: why the need for them? -


i'm learning basics of programming, , going on calling files in pseodocode.

my text explains process of calling file read or write to, doesn't explain why have internal name reference file read or write. when reviewing friend, thought perhaps it's because program need variable reference actual file in memory.

would mind clarifying why reference existing files in memory file name in program? appreciate understanding.

thank time!

the reason why name objects in programs separate semantic meaning transient features.

in case, program may let user place file in directory, other default one. in case filename change accordingly, while internal name used program refer file object remain.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -