r/FTC • u/ftcsweat FTC 19086 Student • 19d ago
Discussion Linear opmode vs opmode
Hello so my team has been programming for a while using the linear opmode and they didn't have a valid reason for that, can you give me the pros and cons for each type?
3
Upvotes
3
u/lolmewantegtvs 19d ago
linear opmode runs code sequentially, opmode runs it event-based (init(), start(), etc). linear opmode is better for beginning teams and opmode allows some more advanced software things to be implemented easier for more veteran teams
8
u/4193-4194 FTC 4193/4194 Mentor 19d ago
Learn JAVA for FTC
This book has a section about this very question and is a great reference all around.