PB thoughts
Posted: Sat Jun 01, 2013 2:01 pm
I realise the open source PB thing didn't work out so I am not suggesting it. If a few selected members of the PB community had access to a source control PB it would mean quicker bug fixes for small issues. A fix here, and a fix there would help Fred over the long run and because it is only a few select individuals of the community there would be a good amount of trust.
Over the last month of using PB on various tasks I have found it enjoyable but there have been snags here and there regarding consistency in the libraries.
I.E. The most recent one happens to be DisplaySolidSprite. It takes an RGB colour value, but the colour constants are in RGBA, and so it causes issue where you have to reverse the colour.
The issue above can be solved quickly by simply using RGBA values in DisplaySolidSprite and ignoring the alpha value. This would just make it consistent with the colour constants. But there is another issue, other functions expect RGB and not RGBA values. Wouldn't it have been easier to just stick with RGBA through and through and avoid this confusion?
There have been other slight inconsistent issues, which I should have logged, but other than that having more examples on how to do things in the manual would also be good.
I still have yet to use a larger portion of the PB libraries, but the ones such as DB access is awesome because they are so simple. Being a huge fan of the Python programming language and having used it commercially I found that while I am 40% less productive with PB over Python, but the figure can be reduced with time, and by learning the library functionality. I chose PB in order to keep the Python simplicity but gain a large performance advantage as my current project requires a fair bit of processing power for data generation. This project is a hobbyist one, of course.
I find that PB's strength comes from having a very simple language, but with a lot of libraries, which would reduce development time on certain kinds of projects. Are there any plans to incorporate other libraries into PB in the future? What goals does Fred have with PB? Is he going to take over the world with it?
Working with PB has been a pleasure so far, but I am missing certain things that other languages have, such as first class functions, closures, list comprehensions. It is very difficult to move away from functional languages of any kind as they are the most productive languages to work with, as demonstrated by the addition of functional tools in mainstream languages such as Java, C++11, and the .Net, and performance of functional languages is pretty good these days.
Just my $100.
Over the last month of using PB on various tasks I have found it enjoyable but there have been snags here and there regarding consistency in the libraries.
I.E. The most recent one happens to be DisplaySolidSprite. It takes an RGB colour value, but the colour constants are in RGBA, and so it causes issue where you have to reverse the colour.
The issue above can be solved quickly by simply using RGBA values in DisplaySolidSprite and ignoring the alpha value. This would just make it consistent with the colour constants. But there is another issue, other functions expect RGB and not RGBA values. Wouldn't it have been easier to just stick with RGBA through and through and avoid this confusion?
There have been other slight inconsistent issues, which I should have logged, but other than that having more examples on how to do things in the manual would also be good.
I still have yet to use a larger portion of the PB libraries, but the ones such as DB access is awesome because they are so simple. Being a huge fan of the Python programming language and having used it commercially I found that while I am 40% less productive with PB over Python, but the figure can be reduced with time, and by learning the library functionality. I chose PB in order to keep the Python simplicity but gain a large performance advantage as my current project requires a fair bit of processing power for data generation. This project is a hobbyist one, of course.
I find that PB's strength comes from having a very simple language, but with a lot of libraries, which would reduce development time on certain kinds of projects. Are there any plans to incorporate other libraries into PB in the future? What goals does Fred have with PB? Is he going to take over the world with it?
Working with PB has been a pleasure so far, but I am missing certain things that other languages have, such as first class functions, closures, list comprehensions. It is very difficult to move away from functional languages of any kind as they are the most productive languages to work with, as demonstrated by the addition of functional tools in mainstream languages such as Java, C++11, and the .Net, and performance of functional languages is pretty good these days.
Just my $100.