Kweli kuna extra learning curve but it is worthy it
Unaweza kuweka benchmark?
In many cases this is not true as with caching the performance is always the same or even better.
In extreme cases the difference is insignificant.
Kama unaweza kuja na benchmark ambayo ni testable then itakuwa poa!
This is false. Classes are merely organizing your function adding few more things. Having trained people on OOP since 2014, am yet to find a confused student.
As with everything, learning should be fun. If it is confusing probably you have wrong teacher.
And machine? How does it get confused?
On top of all these, framework code have been scrutinized sometimes by thousands and tested on hundred if thousands projects, big and small. So it tends to be secure, robust and battle tested than your one man reviewed code.
Some parts of framework like security tends to get written by or audited by security experts. That adds to the confidence than one man code.
All in all, I would avoid writing something in my own, when there is battle tested one. And if I don't like something on it, I'll start with battle tested code and move from there.
----->SECURITY.
Sawa, ila mie ni developer ambae nlianza kwenye pentesting na bado nipo huko, Kuhusu security umeongelea theory coz nadhan ww umebase sana kwenye teaching but let me tell u practical parts of stuffs.
Kwa pentester side of view ni rahisi sana kudeal na app ambayo iko built on framework kwa sababu hz kuu:-
1)Asilimia kubwa ya devs wakishatengeneza app hawajali kuupdate framework version, suppose vulnerabilities zimetokea na zikawekwa hadharan, wachache sana huenda kuupdate project zao
2)Ili kumziba hacker siku zote inabidi asione script zako kwanza, ukishindwa hapo ndo ufanye strategy nyngne. lkn hizi opensource kila mtu anaona script na anajua logic behind. Hata automated tool itanipa scan nzr tu kuendelea na hacking yangu.
Khs security kuna faida na hasara na inategemea scale ya project. Ila kwa asilimia kubwa kuhack project kubwa ambayo ni custom made(achana na viweb uchwara vya wanachuo au IT wababaishaji) ni ngumu kuliko kuhack hizi ambazo zimebase kwenye frameworks coz kwa custom made hizi automated scan tool ni ngumu ku-crawl humo.
----->SORRY BUT AM NOT CONVINCED WITH YOU OOP KNOWLEDGE & EXPERIENCE.
Hii ni kwa sababu umesema
""
This is false. Classes are merely organizing your function adding few more things. Having trained people on OOP since 2014, am yet to find a confused student.
""
Mkuu OOP inatengeneza Abstraction over data tuuu, ila Functional programming inaleta abstraction over both data and behaviour, unless tunaongelea kwenye perspective tofauti coz hata sita inaweza kuwa tisa kutegemeana na mwangaliaji. Ila Refer hii article.
Functional Programming vs OOP | Top 8 Useful Differences To Know Umeongelea kiurahisi sana khs classes na ndo maana labda wanafunzi wako hawawi confused.
----->KUHUSU MACHINE KUWA CONFUSED:
Umeuliza ila sitokujibu kwa sababu ya upana wa hilo somo sitoeleweka hapa