[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How to write boring code

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 8
Thread images: 1

File: pg44-boredom-getty.jpg (1MB, 2096x1536px) Image search: [Google]
pg44-boredom-getty.jpg
1MB, 2096x1536px
Anon, how do you make myself write code that is boring? i.e. business logic
I can't hold a job because although I like to code, I hate doing boring routine coding which I've done trillions times before.
>>
>>54948569
>which I've done trillions times before
Why are you writing the same code over and over?
>>
>>54948645
You know what I meant, it's doing the same task or similar tasks over and over again.
>>
Put the fun back in with fun-maintainable code.
It adds a level of excitement you never would have thought you could achieve.

Watch junior devs struggle for hours swearing at your shit and inevitably creating bugs!
(though they tend to do that anyway...)

Not the original, but preserved here for posterity.
https://github.com/Droogans/unmaintainable-code
>>
>>54948569
>learn lisp
>write macros that generate code in your preferred work language
>bask in your newfound smug lisp weenie glory
>>
>>54948694
I really don't, Anon. I've written lots of business logic in my time, but I haven't had the problem of writing the same or similar things over and over.

I've worked on codebases where that's happened though, including one that re-implemented vector insertion on every single insertion.

The problem there was obviously not that you had to do the same thing over, but that the code wasn't written in a general, modular and reusable way to avoid it.

I had to go over and delete these 300 implementations across the codebase, which was very repetitive, but that was a failure of the last dev and not inherent to the problem.
>>
>>54948884
i was going to respond something along these lines

Write code that writes code for you. It's all text so you really don't need lisp for this, do it in your language.
Make a template and fill in the spots. Even make a script to do conditional writing of parts of your code and pass it parameters to choose what to write. Et cetera.
Automate. It's fun
>>
>>54950094
>It's all text so you really don't need lisp for this
speaking of whch
>do it in your language.
try to do in in and to produce lisp
Thread posts: 8
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.