watched that movie last night
you could really see denzel enjoyed the fuck out of playing that role. good shit
my development environment is a dungeon full of ninjas torturing virgins. i work to the soothing sound of their piercing screams. it keeps my soul from fracturing into ten thousand tiny parts when exposed to the greatness of my code.
That fact that you would shun code completion or a good IDE, but prop frameworks for their speed of development is an oxymoron.
Code completion allows you to code faster and more accurately, which is the same argument for being pro-frameworks. The fact I can auto complete something like variable name or a function name means I make less mistakes during the process. It also keeps you from making functions to long function names. Personal pet peeve of mine. A good example of this is when people in PHP make a function like toDB() that runs mysql_real_escape_string(). It makes no sense that you would write a function to a function, I just want to facepalm.
The IDE will also bitch at you if you type something that doesn't make sense and allow you to catch some run time errors before you execute the code. I'm pretty damn good at bug hunting but it's not where you want to spend your time. I know what retarded features right?
dchuk said:That fact that you would knock on frameworks, but prop code completion for its speed of development is an oxymoron.
Frameworks allow you to code faster and more accurately, which is the same argument for being pro-code completion. The fact I can reference something like a framework's variable name or a function name means I make less mistakes during the process. It also keeps you from making functions to long function names. Personal pet peeve of mine. A good example of this is when people in PHP make a function like toDB() that runs mysql_real_escape_string(). It makes no sense that you would write a function to a function, I just want to facepalm.
The framework will also bitch at you if you type something that doesn't make sense and allow you to catch some run time errors upon execution by providing a full stack trace of the error. I'm pretty damn good at bug hunting but it's not where you want to spend your time. I know what retarded features right?
I'm going to show you that you don't know what you're talking about by completely flipping every single point you made and making you realize that your argument makes no sense. READY!?!?
![]()
Rage9, when you wish to scrape something, do you write 10-20 lines of curl for each HTTP hit you want to do, or do you have it encapsulated somehow?
Anyone who tells you to not use a framework or that frameworks are a waste is, get ready for it, AN IGNORANT CODER. Ignorant coders cost you money. They spend time working on solved problems. Their list of inventions consists entirely of wheels. One of the best realizations a professional coder can come to in his career is the one where you finally understand that there are a shit ton of coders out there who are infinitely smarter than me, and I should be using, hacking at, and learning from their code rather than attacking every problem with my ten fingers and that thing between my ears.
I think frameworks are fine for handling complex things that would be stupid to code from scratch, such as an amazon api, where it'd take you longer to learn the ins and outs and code it for yourself than to learn the framework's implementation of it, but to use frameworks for everything, like sql queries or forms or basic PHP functionality... that's nearly as stupid imo. It's like, I need to do a simple sql query so I'm going to initiate a new instance of this huge bloated class, then form my query as an array and all this other crap... Completely unnecessary.
Also, just because someone doesn't use a framework doesn't mean they're not encapsulating commonly-used routines into functions.
And, if you want to do something that is complex and a waste to code from scratch, you can often find a class or function to do it without incorporating a framework. Sure you should be careful of using code that you turned up with a google search, but for many things there are popular, tested classes to handle just your specific need. And then you can more easily edit it and strip away what you don't need.
To me, using a framework is a bit like carrying around one of these
![]()
If you think it's cool not to use frameworks, then why even use PHP? Why not C? Why not create your own language?