Interpreted code is compiled line by line when a program is run which means there could be errors. Compiled code is translated into object code, all at once and an executable file is produced. Interpreted code can use breakpoints which are beneficial during development. The source code of compiled code is kept confidential which allows it to be used commercially.