Click here to Skip to main content
15,886,362 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Pet Peeve of the Week Pin
Mark_Wallace30-Mar-20 3:34
Mark_Wallace30-Mar-20 3:34 
GeneralRe: Pet Peeve of the Week Pin
ZurdoDev30-Mar-20 3:39
professionalZurdoDev30-Mar-20 3:39 
GeneralRe: Pet Peeve of the Week Pin
Mark_Wallace30-Mar-20 4:00
Mark_Wallace30-Mar-20 4:00 
GeneralRe: Pet Peeve of the Week Pin
ZurdoDev30-Mar-20 4:08
professionalZurdoDev30-Mar-20 4:08 
GeneralRe: Pet Peeve of the Week Pin
Mark_Wallace30-Mar-20 4:56
Mark_Wallace30-Mar-20 4:56 
GeneralRe: Pet Peeve of the Week Pin
kalberts30-Mar-20 4:45
kalberts30-Mar-20 4:45 
GeneralRe: Pet Peeve of the Week Pin
Mark_Wallace30-Mar-20 4:53
Mark_Wallace30-Mar-20 4:53 
GeneralRe: Pet Peeve of the Week Pin
kalberts1-Apr-20 22:56
kalberts1-Apr-20 22:56 
(sorry for being so late responding - I had overlooked the reply from you)
Mark_Wallace wrote:
you would like the operating system to handle absolutely everything
Certainly not. That is similar to the recent discussion about the value of OO. When you make a huge program system, you may put all the functions for manipulating all the different kind of data into a single basket. Or you may associate data objects with suitable tools for manipulating them.

I am much in favor of associating a document with a document editor, a music file with a music player etc. Not as an operating system, but as a tool. An operating system is like a house where I can find the hammer, the CD player, the bread knife or whatever tool I need, but there are not the house, and they are not defined by the house.

For your analogy: The traditional way to use software is to pick up the tool, the hammer, and then see if can hit a nail by it. You've got the tool as the primary object, with e.g. the document as more or less secondary, non-primary "data" that is there just for the tool to have something to work on. That is what I have concluded to be backwards.

A storage facility like a cabinet or folder is a first class object by itself. It may contain other objects, dynamically changing, or as more or less fixed components. You've to operations to manipulate a cabinet or folder object, e.g. placing documents there. That is similar to operations to add words to a document. A document exists as an object even if it has no words in it. The cabinet exists even if it has no documents in it.

The problem is that you consider the editing function to be a first class object. You treat it as if it were a cabinet. But the cabinet is not a function to operate on documents. You see the editor functions as an object only because you see the executable file as something on your disk. Conceptually, it isn't - is is a set of invokable actions. There is a difference between actions and objects. Imagine the different actions you can do with your car: Those actions do not exist as an "object". When they are not invoked, they exist primarily in you head as the ability and training you've got that enables you to drive that car - but that isn't an object. When I see a car that is moving, I see a car where the driving function is being invoked. I do not see a driver that handles one or more cars as data.

I want to move the focus from the executable file over to the document (or whatever). The nail being hammered in is conceptually essential - the hammer doing it is not. And when you focus on the document (or nail), you see four separate documents (or nails being hammered in), not one "Insert word" function that operates on a set of four documents. You do not put four nails into the hammer, you hammer in one nail at a time, and you might as well use four different hammers. There is no reason to let the tool create any bonds between the four documents, or the four nails.

You can view a .docx file an object on which you can apply editing functions. Separate .docx are presented in separate windows; there is no way to put them all into a single "editor window". Unfortunately, behind the curtains, there is a mess, making operations on the documents not fully independent. In Notepad++ you can pull .txt documents out to run in fully separate processes (but you have to accept to start up with the documents in a pile in a single process). I don't know any way to run MS-Word as similarly independent processes, but I wish there were. Then I could view a document as an object with editing functions, rather than seeing a editor tool where the data it handles as secondary.
GeneralRe: Pet Peeve of the Week Pin
Mark_Wallace2-Apr-20 0:28
Mark_Wallace2-Apr-20 0:28 
GeneralRe: Pet Peeve of the Week Pin
Richard Deeming31-Mar-20 2:22
mveRichard Deeming31-Mar-20 2:22 
GeneralUn-f*ckin-believable Pin
#realJSOP28-Mar-20 7:04
mve#realJSOP28-Mar-20 7:04 
GeneralRe: Un-f*ckin-believable Pin
OriginalGriff28-Mar-20 7:26
mveOriginalGriff28-Mar-20 7:26 
GeneralRe: Un-f*ckin-believable Pin
Mark_Wallace28-Mar-20 8:00
Mark_Wallace28-Mar-20 8:00 
JokeRe: Un-f*ckin-believable Pin
Peter_in_278028-Mar-20 11:58
professionalPeter_in_278028-Mar-20 11:58 
JokeRe: Un-f*ckin-believable Pin
Nelek28-Mar-20 12:08
protectorNelek28-Mar-20 12:08 
GeneralRe: Un-f*ckin-believable Pin
Mark_Wallace28-Mar-20 20:47
Mark_Wallace28-Mar-20 20:47 
JokeHe's bristling Pin
honey the codewitch28-Mar-20 4:47
mvahoney the codewitch28-Mar-20 4:47 
GeneralRe: He's bristling Pin
Greg Utas28-Mar-20 6:18
professionalGreg Utas28-Mar-20 6:18 
GeneralRe: He's bristling Pin
Mark_Wallace28-Mar-20 8:22
Mark_Wallace28-Mar-20 8:22 
GeneralRe: He's bristling Pin
Peter_in_278028-Mar-20 12:01
professionalPeter_in_278028-Mar-20 12:01 
GeneralRe: He's bristling Pin
phil.o28-Mar-20 20:13
professionalphil.o28-Mar-20 20:13 
GeneralNot so good news Pin
Nelek28-Mar-20 4:26
protectorNelek28-Mar-20 4:26 
GeneralRe: Not so good news Pin
Amarnath S28-Mar-20 6:07
professionalAmarnath S28-Mar-20 6:07 
GeneralRe: Not so good news Pin
Nelek28-Mar-20 8:20
protectorNelek28-Mar-20 8:20 
GeneralRe: Not so good news Pin
Mark_Wallace28-Mar-20 8:23
Mark_Wallace28-Mar-20 8:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.