Many "services" (eg Some terminal window implementations, GitHub, etc) will not wrap long lines and do not have scroll bars.
So anything beyond past 72 or 80 chars can simply get cut off.
Also, it just helps for readability even if there are scrollbars, code can be easier to read/digest/debug if it can fit on (or mostly on) a single screen width.
So while, the code will run, it may not always be able to be displayed in its entirety.