[fpc-pascal] Scoped enums and inferred types

Ryan Joseph ryan at thealchemistguild.com
Wed Feb 21 16:05:53 CET 2018



> On Feb 21, 2018, at 5:16 PM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> I simply rely on my IDE (Lazarus, Visual Studio)  to complete long identifier names for me so that I don't have to. *shrugs*

Sure enough it’s not a pressing matter by any means but I thought it was worth asking about since I saw it in Swift and it made sense. 

Adding compiler features is a slippery slope and I have no idea where to draw lines. Scoped enums aren’t necessary and in fact enums in general could be replaced with constants easily enough so that feature was probably debated at some point also.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list