I’m not a programmer, but I’d say if you copy large sections of a code, the original author belongs into the list of authors, not into the acknowledgement part, where you e.g. thank your significant other for their support, your collegues for their fruitful discussions or some society for their funding.
I’m not a programmer, but I’d say if you copy large sections of a code, the original author belongs into the list of authors, not into the acknowledgement part, where you e.g. thank your significant other for their support, your collegues for their fruitful discussions or some society for their funding.