What is LPC?
LPC programming language is an object -oriented computer language originally designed for the development of computer games. The abbreviation LPC means its creator Lars Pensjö and the programming language from which it was derived, C - hence LPC. Pensjö, a Swedish programmer, developed a programming language for LP-MUD, more dungeon user interfaces in many UNIX systems. MUDS enables players to interact with those in the game by typing commands in a somewhat natural language. This allows the use of LPC to create objects instead of items. For the Dungeon environment there are rooms, weapons, monsters and tingling objects. LPC programming language allows users to create, edit, delete and reproduce these objects in almost any way they choose.
LPC supports procedural programming, modular programming, structured programming, object -oriented programming, programming with defined data types and weakly variable type programming, making it a complex and versatile computer language. OnceThe key features of LPC Pensjö design include its impermeability to common programming errors from content creators. The overall stability of the server is improved, allowing new programmers to focus on the task of building things rather than consuming the programming logic itself.
Although almost everything is in an LPC object, it does not use the concept of class. Instead, an object in the LPC is an object of the plan or clone of the Blueprint object; Although technically differs from the class, these plans can often be treated in the same way. All attributes and methods can be accessed at the instance and class level in LPC, which differs from other object -oriented Languages that allow them to reduce class and instance.
In the LPC code, common objects are defined in centralized files. Since different game "rooms" are created, objects from the central file inherit; Changing this file then affects every piece of code where tEnto object uses. This prevents the need to encode each of these objects to each location used and facilitates the writing and maintenance of the code. This centralization is not unique for LPC coding, but is part of what it allows you to create complicated games with this programming language.
LPC flexibility led to the fact that it was used for different purposes other than the creation of mud games. This also led to its development into the programming language of the pike. The programming language of the pike is used for multimedia applications, system management tasks and internet servers.