[fpc-pascal] Generic specialization using $mode objfpc

leledumbo leledumbo_cool at yahoo.co.id
Sat Nov 1 05:54:53 CET 2014


> Hm... so I'll choose the mode delphi in my new projects to type less code
hehe...

You actually ended up typing much less using objfpc style generics. Think of
how many angle brackets you would need to type in Delphi mode? And how many
if the specialized type changes? ;)
Delphi generics can actually do the same (create a new type first), but
objfpc enforces this.



--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Generic-specialization-using-mode-objfpc-tp5720409p5720429.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list