Why I'm happy programming in xtalk

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Why I'm happy programming in xtalk

Post by mwieder » Mon Aug 15, 2022 1:25 am

During the type erasure process, the Java compiler erases all type parameters and replaces each with its first bound if the type parameter is bounded, or Object if the type parameter is unbounded.
https://docs/oracle.com/javase/tutorial ... Types.html
Protected methods: a protected method is similar to a private method, with the addition that it can be called with, or without, an explicit receiver, but that receiver is always self (it's defining class) or an object that inherits from self.
https://medium.com/@tjoye20/ruby-access ... 788b2604a7
A friend function of a class is defined outside that class' scope but it has the right to access all private and protected members of the class. Even though the prototypes for friend functions appear in the class definition, friends are not member functions.
https://www.tutorialspoint.com/cplusplu ... ctions.htm

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Why I'm happy programming in xtalk

Post by richmond62 » Mon Aug 15, 2022 4:09 am

Obscure to the point of self-destruction.

While xTalk is not.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Why I'm happy programming in xtalk

Post by jacque » Mon Aug 15, 2022 4:37 pm

I'm not sure I want my code to be my friend.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Why I'm happy programming in xtalk

Post by mwieder » Mon Aug 15, 2022 4:53 pm

Heh. When I was at Apple we brought in Bjarne Stroustrup (the author of C++) to give a talk. He spent most of it on something like "things I wouldn't have done if I knew then what I know now", and among those he would never have come with friend functions.

Post Reply

Return to “Off-Topic”