Algebra has always been a favorite subject of mine. There's not much theory involved, just a toolbox of methods and the order of operations to solve in. If you reach back into high school, you'll remember (quoted from Math.com):
- Ua ntej tshaj txhua txoj haujlwm uas nyob sab hauv looj kem.
- Tom ntej no, ua ib txoj haujlwm nrog cov exponents lossis radicals.
- Ua haujlwm ntawm sab laug rau sab xis, ua txhua yam kev ua kom sib npaug thiab faib.
- Thaum kawg, ua haujlwm los ntawm sab laug rau sab xis, ua txhua yam ntxiv thiab rho tawm.
Here's the example from Math.com:
Thov qhov no rau kev loj hlob yog yooj yim zoo nkauj.
- Operations within the parenthesis equates to my page layout, in a simple HTML format. I begin with a blank page and steadily populate it until it has all of the elements I'm looking for. To ensure flexible user interface design, I always work with XHTML and CSSCov. Txhua qhov chaw uas muaj cov kab lus tawm (piv txwv li cov ntaub ntawv hauv database lossis cov txiaj ntsig kev tshwm sim), kuv tawm tswv yim tus lej thiab ntaus ntawv hauv cov kab ntawv dummy, cov duab, lossis cov khoom.
- Tom ntej no, Kuv ua haujlwm nrog cov exponents lossis radicals. Cov no yog kuv cov programmatic lossis cov haujlwm database uas rho tawm, hloov pauv, thiab thauj khoom (ETL) cov ntaub ntawv raws li kuv xav kom muab tso rau hauv kuv nplooj ntawv tiav. Kuv yeej ua haujlwm ntawm cov qib hauv qhov kev txiav txim tshwj tsis yog tawm qauv hauv cov lus nug qhov tseeb ua rau hauv kev ua tau zoo.
- Tom ntej no yog kev sib faib lossis faib. Ntawm no yog qhov twg kuv yooj yim kuv code. Ntau dua li ib cov ntawv loj loj monolithic, KUV paub daws teeb kom ntau li ntawm cov code Kuv tuaj yeem nkag mus rau suav nrog cov ntaub ntawv thiab cov chav kawm. Nrog txoj kev txhim kho web, Kuv nyiam ua hauj lwm los ntawm sab saum toj mus rau hauv qab, tau kawg.
- Thaum kawg, ua haujlwm los ntawm sab laug rau sab xis, txhua yam sib ntxiv thiab rho tawm. Cov kauj ruam no yog tus txheej txheem kawg, thov ua qhov kawg tidbits ntawm daim ntawv pov thawj, style yam, kev ua yuam kev, thiab lwm yam Ntxiv dua, Kuv zoo li ua haujlwm txij toj mus rau hauv qab.
Good development is not any more complex than a great Algebra problem. You have variables, equations, functions… and a logical order of operations to get the best results. I see a lot of hackers that simply ‘get it to work' but you find (as I have) that if you don't plan out your methodology and take a logical approach, you find yourself writing your code over and over and over when problems or changes are needed.
Algebra has always been a lot like a jigsaw puzzle to me. It's always been challenging, fun, and I knew a simple answer was possible. All the pieces are there, you just need to find them and put them together correctly. Writing code is no different, but it's more enjoyable because your puzzle output is whatever you would like it to be!
I'm not a formal developer, nor am I even a great one. I have; however, received compliments on the code I've written throughout many projects. I believe much of it is because I do a lot of preplanning, whiteboarding, schema extraction, etc. before I even write that first script tag.