Talk:CumulativeFactory
From APIDesign
Comments on APIDesignPatterns:CumulativeFactory <comments />
paulo said ...
Radim said ...
Cf. Item 2 in Effective Java 2nd edition (also you can see it here - http://rwhansen.blogspot.com/2007/07/theres-builder-pattern-that-joshua.html). The idea is the same but moving this into Builder seems like nicer solution.
--Radim 01:27, 11 November 2008 (CET)
assomyJeoxy said ...
http://bicucati.00freehost.com/brand/systweak/index.html http://bicucati.00freehost.com/brand/lynda/photoshop_cs4_for_photographers.html http://bicucati.00freehost.com/brand/guygowan/adobe_photoshop_cosmetic_techniques.html
http://bivozoju.00freehost.com/software/virus_protection/avg_anti-virus_8_0_windows.html http://bivozoju.00freehost.com/software/business_management/index.html http://bivozoju.00freehost.com/software/utilities/ntfs_for_mac_os_x_8_0.html
http://cixuvala.00freehost.com/software/development_software/graphisoft_archicad_13_windows.html http://cixuvala.00freehost.com/software/required_addons/ http://cixuvala.00freehost.com/brand/nuance/paperport_professional_11_2.html
http://fajehoco.00freehost.com/software/utilities/elcomsoft_distributed_password_recovery_2_71_195_windows.html http://fajehoco.00freehost.com/brand/microsoft/microsoft_office_visio_pro_2007_windows.html http://fajehoco.00freehost.com/brand/acapsoft/acapsoft_egg_1_581_windows.html
http://gijevun.00freehost.com/brand/symantec/system_center_10_1_9.html http://gijevun.00freehost.com/brand/wolfram/wolfram_mathematica_7_windows.html http://gijevun.00freehost.com/brand/avanquest/index.html
http://habegesi.00freehost.com/software/ebooks/index.html http://habegesi.00freehost.com/brand/paragon/paragon_total_defrag_2010_winodws.html http://habegesi.00freehost.com/brand/adobe/flash_cs5_professional_11.html
http://habegesi.00freehost.com/software/virus_protection/ashampoo_magical_security_2_202_windows.html http://habegesi.00freehost.com/software/language_and_travel/rosetta_stone_ltd_rosetta_german_german_3_levels_3_2_windows.html http://habegesi.00freehost.com/brand/smithmicro/
http://muvefuco.00freehost.com/brand/onone_software/onone_software_focalpoint_1_0_windows.html http://muvefuco.00freehost.com/brand/solidworks/ http://muvefuco.00freehost.com/software/utilities/activestate_komodo_ide_6_0_0_57120_windows.html
http://vizequne.00freehost.com/brand/steinberg/index.html http://vizequne.00freehost.com/brand/lynda/google_apps_docs_essential_training.html http://vizequne.00freehost.com/brand/rosetta_stone_ltd/french_3_levels_3_2.html
http://wupiqeb.00freehost.com/software/language_and_travel/english_american_3_levels_3_2.html http://wupiqeb.00freehost.com/brand/elcomsoft/elcomsoft_advanced_archive_password_recovery_4_50_windows.html http://wupiqeb.00freehost.com/software/virus_protection/ashampoo_magical_security_2_202_windows.html
http://bogoqap.00freehost.com/software/language_and_travel/maps_of_iberia_spain_and_portugal_8_55_2931.html http://bogoqap.00freehost.com/brand/total_training/ http://bogoqap.00freehost.com/software/development_software/graphisoft_archicad_13_windows.html http://bogoqap.00freehost.com/brand/acronis/index.html http://bogoqap.00freehost.com/brand/novell/index.html
--[http://habegesi.00freehost.com
assomyJeoxy] 18:07, 27 March 2011 (CEST)
The problem with these declarative methods is always leaving the object in a incomplete state. I prefer factory methods with private constructor myself. Hide the instance, so that immutable object tricks can be used, but still use descritive function names. Plus if you're using generics you can use the limited type inference that java has. Do you prefer new Tuple<Int,Int>(a,b); or Tuples.pair(a,b) ?
--paulo 12:20, 10 November 2008 (CET)