Anti-pull harness vs slip lead to teach the dog not to pull? I'd say the answer is neither, if your goal is to teach the dog not to pull. Both devices have their place when you need to use them short term for safety reasons. I keep a slip lead in my car in case I find a loose dog that needs to be escorted home. It's easy to get a slip lead onto a dog, and it's difficult for a dog to wiggle loose from a taut slip lead. An anti-pull harness can help with a large dog that forgets leash manners.
However, neither device will actually train the dog not to pull. Gear does not train dogs. Training trains dogs. Eventually the dog becomes habituated if you rely on the devices without adding in training. One of the dogs I had years ago would walk down the street, pulling, even as her tongue turned blue from her nylon slip collar. Another one of my dogs learned to spin around and run backwards while wearing a front clip harness. I think the video link provided by
@cosmos has some good tips, especially if you are working with a dog that is nervous while on leash. I would add two things to the training however.
One is the concept of walking at heel. I teach this two different ways. One is to work with the dog off leash (though a long line would also work.) I amble around, letting the dog follow me if he wishes. As soon as he happens to wander into heel position, I click and give him a treat. I then resume walking. When the dog falls into heel again, I give another treat. Pretty soon the dog is following me like a shadow, hoping for more treats. At that point I make the game harder with speed and direction changes. Each time the dog slides back into heel position he gets another click and treat. The other way I train for heeling is to start by teaching Touch. Then I use Touch to lure the dog to my side. I reward him randomly for staying there. Each time the dog drifts away I request a Touch to get him back to my side. Both these games teach the dog that heel position is a good place to hang out, because dogs walking next to me get fed treats.
The other is to use access to interesting things as a substitute for food rewards. Often a dog will try to drag you towards an interesting scent. Unless the dog is exceptionally food motivated, at that moment they probably think the scent is more rewarding than a training treat. So I look where the dog is looking, and I stop moving. I wait for him to stop pulling. Then I take a step towards whatever caught his interest. I stop again if he pulls. I keep walking if he gives me a slack leash. Each moment of slack leash gets him closer to the thing he wants to visit.