Click here to Skip to main content
15,880,796 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsPretending OOP never happened Pin
Kent Sharkey17-May-20 5:45
staffKent Sharkey17-May-20 5:45 
GeneralRe: Pretending OOP never happened Pin
Joe Woodbury17-May-20 10:47
professionalJoe Woodbury17-May-20 10:47 
GeneralRe: Pretending OOP never happened Pin
David O'Neil17-May-20 16:02
professionalDavid O'Neil17-May-20 16:02 
GeneralRe: Pretending OOP never happened Pin
Bernhard Hiller17-May-20 20:37
Bernhard Hiller17-May-20 20:37 
GeneralRe: Pretending OOP never happened Pin
Nelek17-May-20 10:53
protectorNelek17-May-20 10:53 
GeneralRe: Pretending OOP never happened Pin
#realJSOP18-May-20 1:07
mve#realJSOP18-May-20 1:07 
GeneralRe: Pretending OOP never happened Pin
#realJSOP18-May-20 1:22
mve#realJSOP18-May-20 1:22 
GeneralRe: Pretending OOP never happened Pin
kalberts18-May-20 2:33
kalberts18-May-20 2:33 
In my very first university level programming class, we did OOP without knowing of it. The programming language was plain Pascal, and we were taught how to group closely relate data into a given type of record (c/c++: struct). Operations to manipulate the data of each record type were directly associated with the record type, and no other code was allowed to modify the fields of the record. All calls to the functions took a specific record instance as its first parameter - we didn't name it "this", but I guess we could have.

This was a nice and orderly coding discipline, not enforced by the compiler but by the professor. So when "real" OOP arrived a couple of years later, it really was not much of a change to me; it was just syntactic sugar. I never learned the unruly behaviour that makes it difficult to accept OOP.

This is quite similar to what was then termed "structured programming", roughly the same as goto-less programming. I learned while and repeat/until and if/then/else before I learned goto, so I never could see the value of it: It just breaks everything, every structure! I never learned goto misbehaviour either. I think I have benefited from that, too.

(I am not perfectly hones saying that I didn't know goto - my very first, high school self study, programming experience was with Univac's very first attempt at Basic, with single-letter or single-letter-single-digit numeric variable names and 26 string variable names. There I saw the goto. But I consider that just a toy experience, at the level of programming Lego motors and lights.)
GeneralRe: Pretending OOP never happened Pin
Rob Grainger19-May-20 4:21
Rob Grainger19-May-20 4:21 
GeneralRe: Pretending OOP never happened Pin
kalberts19-May-20 4:44
kalberts19-May-20 4:44 
GeneralRe: Pretending OOP never happened Pin
#realJSOP19-May-20 5:21
mve#realJSOP19-May-20 5:21 
GeneralRe: Pretending OOP never happened Pin
Rob Grainger20-May-20 8:13
Rob Grainger20-May-20 8:13 
GeneralRe: Pretending OOP never happened Pin
Roland M Smith18-May-20 5:46
Roland M Smith18-May-20 5:46 
GeneralRe: Pretending OOP never happened Pin
Kent Sharkey18-May-20 6:06
staffKent Sharkey18-May-20 6:06 
GeneralRe: Pretending OOP never happened Pin
kalberts18-May-20 6:15
kalberts18-May-20 6:15 
GeneralRe: Pretending OOP never happened Pin
Kent Sharkey18-May-20 13:20
staffKent Sharkey18-May-20 13:20 
GeneralRe: Pretending OOP never happened Pin
GuyThiebaut18-May-20 20:56
professionalGuyThiebaut18-May-20 20:56 
NewsALGOL 60 at 60: The greatest computer language you've never used and grandaddy of the programming family tree Pin
Kent Sharkey17-May-20 5:45
staffKent Sharkey17-May-20 5:45 
NewsWindows 10 quietly got a built-in network sniffer, how to use Pin
Kent Sharkey17-May-20 5:45
staffKent Sharkey17-May-20 5:45 
GeneralRe: Windows 10 quietly got a built-in network sniffer, how to use Pin
Nelek17-May-20 10:46
protectorNelek17-May-20 10:46 
NewsQuantum computing will (eventually) help us discover vaccines in days Pin
Kent Sharkey17-May-20 5:45
staffKent Sharkey17-May-20 5:45 
GeneralRe: Quantum computing will (eventually) help us discover vaccines in days Pin
Joe Woodbury17-May-20 10:51
professionalJoe Woodbury17-May-20 10:51 
GeneralRe: Quantum computing will (eventually) help us discover vaccines in days Pin
Nelek17-May-20 10:52
protectorNelek17-May-20 10:52 
GeneralRe: Quantum computing will (eventually) help us discover vaccines in days Pin
Joe Woodbury17-May-20 11:19
professionalJoe Woodbury17-May-20 11:19 
NewsNASA creates Artemis Accords in effort to extend its values to the Moon Pin
Kent Sharkey17-May-20 5:45
staffKent Sharkey17-May-20 5:45 

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.