0
votes
Vote UpVote

Castalia’s Inline Variable Declaration

TwoDesk Delphi Blog – One of the biggest complaints I hear about Delphi syntax is the need to declare variables at the top of a function before they can be used. Other languages, like C++ or java, let you declare a variable at any point in your code. I have mixed feelings about this. On the one hand, I believe that Delphi’s approach (require all variables to be declared in a VAR section at the beginning of a function) is stronger and more readable, and that it gives you a quick at-a-glance feeling for the data being used in your function. It also contributes to Delphi’s lightning-fast compile times, for ...
Favorite? Off-Topic? jacob @ 2011-07-05 14:00

Statistics

Visits: 18
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)