Documentation example with scale in and scale out using a loop

Does anyone know if there is any documentation example which consists both scaling in and scaling out using for-loop method in that single example?

I just implemented scaling out method successfully but after I add scaling in method into the codes, it happened that I made some mistakes and failed to work out. Thanks.

Please follow this advice: How to ask a good question

2 Likes

I have figured out the solution. Thanks Tomasz.

The thing is that generally loops should be avoided. There is no point in using loop for sake of using it. You should lean towards using array thinking Understanding how AFL works This way you will write codes that are several orders of magnitude more efficient and shorter too.

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.