The best replacement for constructor is setter injection.


The best alternatives to constructor are rated as following:
★★★★★  setter injection
★★★  method java
★★★  method
★★★  prototype javascript
★★★  initializer
★★  factory method
★★  init
★  static factory
★  setter dependency injection
★  initialize backbone
★  initcomponent extjs
★  assignment operator
★  factory
  setter injection spring
  builder
  property injection
  initialize
  baufix
  operator overloading

Your alternative for constructor is not listed? Suggest!
Speaking about constructor, one probably shouldn't forget about new.

Other search terms related to constructor and their ratings are:

★★★★★ new
★★★★ array java
★★★★ array
★★★ new c++
★★ pointer c++
★★ access modifier
★★ default arguments in c++
arguments c++
inheritance c++
You have in mind a companion for constructor and it is not yet here? Propose!



Google Trends

Scale is based on the average worldwide traffic of constructor in all years. Click on graph for more.
constructor
setter injection
method java