Post Reply 
[blog] Maan Libraries
Author Message
Tetris999
..............................

Posts: 2,390.4622
Threads: 298
Joined: 15th Apr 2007
Reputation: -6.7936
E-Pigs: 82.5657
Offline
Post: #1
[blog] Maan Libraries
Oh man, this is the first time I've been able to ward off a rant, woohoo!

Anyway, just going to post how much I feel like a noob using any library of the sorts to help me with programming. I know, it sounds really dumb to hate using libraries and API's but I always feel like I should be learning how to implement most things.

Just curious if anyone shares my rather stupid feelings, I usually go with "if I feel I can do it then I shouldn't use a library". Of course, this leads to a lot of wasted time and what not, but isn't the learning experience the good part about it?

Oh well, maybe I'll get off my high horse and accept the fact that I need to use things made by others to put something together, like a graphics library.

That'd be pretty difficult to implement.

E.g. Using regular expressions to find a specific tag in a webpage for scraping, when you can use one of the many libraries that people made for PHP that allow you to do this much faster (and without some crazy regular expressions). I'm still spoon at working with regular expressions in PHP, partly because testing is always a bitch when it comes to all this web/scripting stuff. :/

MY SIG IS FUCKING DEAD
(This post was last modified: 19/08/2012 10:33 AM by Tetris999.)
19/08/2012 08:29 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,024.1882
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1807
Offline
Post: #2
RE: [blog] Maan Libraries
Why to use libraries:
- it's probably been tested/used more than your code
- someone else maintains it for you
- probably designed better than you would do it
- this includes stuff like speed, security etc
- saves time & effort (obviously)
- in a scripting environment, native code runs faster than your own version
- sometimes you don't exactly have a choice (eg integration with another application)

For learning, yeah implement it yourself if you want to, or to boost the nerd cred, but in real world situations, it's generally better to use stuff that's already there (if you can).  Main reason you wouldn't would possibly be:
- licensing issues
- you want something that the library can't offer (and you can't simply modify it)
19/08/2012 04:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ProperBritish
Daddy Proper
Team DreamArts

Posts: 5,666.3250
Threads: 192
Joined: 19th Nov 2008
Reputation: -2.36574
E-Pigs: 147.7035
Offline
Post: #3
RE: [blog] Maan Libraries
no1 rule of programming, if it's done for you by someone else why are you doing it again?
libraries are made to make your code easier to read, safer and more robust.
suck it up man, it'll pay dividends in the end.

[Image: rsz_contrast.png]

Spoiler for More sigs:
[Image: 6xu74t8]
[Image: sig.php]

[Image: 656embk]
[Image: sig.png]
19/08/2012 04:55 PM
Find all posts by this user Quote this message in a reply
Cirehpsa
Let's finger this out.
Fractal Insanity

Posts: 2,549.3603
Threads: 63
Joined: 9th Oct 2009
Reputation: -4.69042
E-Pigs: 724.9902
Offline
Post: #4
RE: [blog] Maan Libraries
I too do not like using pre-assembled code and would rather make it all from scratch.

[Image: VCvmsjM.gif][Image: DecdMVG.gif][Image: glI7KKK.gif][Image: OJilHSf.gif]
20/08/2012 08:57 AM
Find all posts by this user Quote this message in a reply
Slushba132
BustyLoli-Chan

Posts: 3,125.3993
Threads: 508
Joined: 20th Feb 2008
Reputation: -8.27558
E-Pigs: 73.1299
Offline
Post: #5
RE: [blog] Maan Libraries
I program on windows so everything I use comes from an API or a Library on some level...
I don't have the patience to reinvent the wheel that is the windows forms library...

as far as externally maintained libraries, I don't necessarily like to use them, but they can be pretty powerful and offer far easier/better solutions

also, simply put, there are certain sides of programming I never wish to see

24/08/2012 07:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: