It is currently Sat Dec 14, 2019 9:28 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Add "Declare" keyword for interfaces for consistency
PostPosted: Fri Oct 18, 2019 3:22 am 
Offline
Addict
Addict

Joined: Sat Jun 30, 2007 8:04 pm
Posts: 3362
We can already declare function return types like this:

Code:
Declare.s name()
Procedure.s name()
Prototype.s name()


Interfaces are kind of weird in that you have to declare the return type after the function name:

Code:
Interface ISomeInterface
  name.s()
EndInterface


For consistency, it would be nice to see something like this instead:

Code:
Interface ISomeInterface
  Declare.s name()
EndInterface


I'm already conditioned to look on the left side for the return type. Examining interfaces is a jarring exception.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye