Code Examples and Notes

Project Page

The Pelfe Programming Language is essentially based on Perl, and follows a similar philosophy of allowing for great programmer freedom, and not placing restrictions on the programmer which are spurious or without any real need or absolutely necessary but instead on the tastes of the designer. We try to limit the effects that the tastes of the language designer has on how the language can be used. We believe, that instead of making the language more difficult to write and read, instead the reverse is often true. Restricting how a language can be used, in certian unusual cases where a certian feature must be used, can actually cause the programmer to resort to odd workarounds and hacks that can harm readability. There are some features, which are more unusual and which one would not normally use, but may be needed in some special situation. Some may want to remove this feature since if used where it is not needed, it may impair readability. Yet, in situations where it is needed, it may provide a more straightforward solution, and its absense may cause more difficult to understand and convoluted code. The language has its more obvious and more used, straightforward features that will be used in a typical program. The more unusual features tend to be less natural and less favourably used when there is a simpler and more common way to write something. The lesser used features, which in some contexts may not be appropriate, may in other contexts be essential. So therefore, it is best we believe to let the programmers decide and not restrict or limit the language that would make more difficult applications impossible.