<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">On Tue, Dec 8, 2020 at 2:50 PM Brian Willoughby <<a href="mailto:brianw@audiobanshee.com">brianw@audiobanshee.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>> Java, on the other hand, is much more C-like, but not compatible.<br>
<br>
Java borrowed from Objective C (Java 2 interfaces are ObjC protocols) after having borrowed from standard C in the beginning.<br>
<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">I'd argue that Java borrowed mainly from C++ (Java interfaces are C++ classes solely containing pure virtual methods and constants) mainly because C++ was and is more of an actively developed mainstream cross-platform language than Objective-C. Also, there is very little C lineage - the fact that you can't declare a global function (ie, a static method outside a class) in Java means the intent to move away from procedural and to OOP was clear. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I too learned Objective-C on a large black cube a long time ago, but TBH I didn't miss it when I moved on to C++ and Java.</div><div class="gmail_default" style="font-size:small"><br></div></div></div>