Computational Complexity in Apex — SALESFORCE JOURNAL

The logic of nested iteration can be a real trap for new programmers. I see this a lot on Salesforce Stack Exchange, coming from two different angles. One angle simply asserts, having been taught so, that “nested loops are bad.” Well, not exactly – not as such, although they can be in specific implementations. The other side perceives […]

Computational Complexity in Apex — SALESFORCE JOURNAL