I have read the doc, but couldn't understand these:
1. Is it possible to make generic function in a unit (outside of any class/object)? If yes, how?
2. Why do we need to
specialize generic classes? Why can't we create instance without it like in Delphi? (I am reading Marco Cantu book, that's where I found Delphi does not need it, not comparing Laz with Delphi)
3. (IDK if it makes sense but) Can we not create class procedure type:
type cpt = class procedure (...) of object;
4. I also use Xubuntu, it is not up to date with latest version of lazarus and fpc, it tried to download 3.0.2 the last time I checked. Do you have some PPA I can add to directly update lazarus/fpc instead of manually downloading DEB files?
5. Isn't FPC 3.0.4 DEB and FPC-SRC.DEB (or atleast FPC DEB package) supposed to remain the same if new version of compiler hasn't been released? The size of DEB files of both FPC and FPC-SRC were different between 1.8.0 Laz and 1.8.2.
6. Is it logical/clever practice to mix oop modes (objfpc and Delphi)?
Thanks