[Implemented] Suggestion: Disband the Misc Library

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

[Implemented] Suggestion: Disband the Misc Library

Post by akj »

I suggest that with the introduction of the new System library, the Misc library should now be eliminated and it's functions moved to other libraries.

Thus:-

Delay, ElapsedMilliseconds, OSVersion should be moved to the System library

DoubleClickTime should be move to either the System library or the Mouse library

Random, RandomData, RandomSeed should be moved to the Math library

Alpha, AlphaBlend, Blue, Green, RGB, RGBA, Red should be merged with the Palette library to create a new Colour library
Anthony Jordan
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: Suggestion: Disband the Misc Library

Post by jassing »

Just curious... does it bother you it's listed under "misc" or is there a problem with it?
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

Re: Suggestion: Disband the Misc Library

Post by akj »

@jassing:

I think that the name Misc or Miscellaneous is merely a catch-all for items that cannot be classified under a more descriptive library.
If anything can be classified accurately then it should be so.

For example, if one day you needed to know which library contained a function to retrieve Windows' version number, I bet that Misc would be low down on your list of likely libraries and might not even occur to you at all.
Anthony Jordan
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Suggestion: Disband the Misc Library

Post by IdeasVacuum »

+1
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Suggestion: Disband the Misc Library

Post by c4s »

+1

...Simply because it makes sense: In the past I already searched for Alpha() etc. in the Drawing library and Random() in Math numerous times. :lol:
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: Suggestion: Disband the Misc Library

Post by SFSxOI »

There's a Misc library? Oh gee whiz....why didn't someone say something, oh the number of times i wanted to do something miscellaneous.... ;)

(by the way, I agree on the suggestion so +1)
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
Post Reply