I wouldn't say current AI/ML tools are great at managing complexity, they create a lot more complexity per lines of code output than a good engineer would
this.fooA = Foo(arguments); this.fooB = Foo(arguments); this.foos = [this.fooA, this.fooB]; this.foo = instances;