r/AskComputerScience • • Mar 21 '20

Programming becomes boring and repetitive?

I'm a 1st year CS bachelor, programming since HS 2nd grade. This hit me after I moved from competitive c++ to learning how real world apps work.

Programs mostly are built with frameworks (Spring, .Net, Laravel...). They force their way of doing things. In one hand, this is good: it stops you from writing bad code, forces you away from bad practices, built-in authentication, authorization, security, ORM, template engine...

On the other hand, isn't it boring when you have to write an app step by step how somebody else imagined? First time it's definitely fun, second, third... is it really? Where is the fun in programming? It all seems kinda repetitive. Almost all web apps can be done in the same way.

I'm well aware of this, but all they say is that it is not repetitive/everything else is. Can someone help me see programming from different perspective, share some tips as well? I don't want to constantly jump from backend to mobile to frontend or from language to language (framework to framework).

51 Upvotes

13 comments sorted by

44

u/Parasin Mar 21 '20 edited Mar 22 '20

Lots of programming is repetitive. This is why you should create templates that you can reuse. Reusability is an essential part of modern-day programming and creating your “toolkit” that you can pull from will help you avoid this feeling of repetitiveness. It’ll help you focus on creating new and unique code snippets, which you can then make new templates from!

Yes, frameworks are opinionated. However, they take a majority of the heavy-lifting that we would otherwise have to do by hand. This gives us a head start on some of the basics!

The fun in programming comes from being creative and implementing your own original ideas using those templates and frameworks. Use the tools that you have so that you can focus on the non-trivial problems!

10

u/not-just-yeti Mar 22 '20

Yes, frameworks are opinionated. However, they take a majority of the heavy-lifting that we would otherwise have to do by hand. This gives us a head start on some of the basics!

To put it differently: People got really bored doing all that basic stuff by hand [writing a login page, a password-reset mechanism, the way the nav-bar gets included on each page, etc etc]. So they wrote a program that does all that for them automatically -- that's what a framework is.

If you find yourself writing the same ol' code over and over, you can (should?) abstract over that. (That's why there is a proliferation of frameworks: even using a framework people realize 'hey there is still repeated tasks; I can do better.)

[I know this isn't addressing OP's question very much. But perhaps it gives some insight: when stuff is so repetitive it can be programmed, you can have fun programming that framework.]

9

u/solothehero Mar 21 '20

As you progress in your career, you will find that a majority of the problems you will come across have already been solved. So instead of creating something new, you will be creating something that will hopefully be the best version of itself (the fastest code, the cleanest code, the most readable code, the most scalable code, etc.). More accurately, you will be creating something that is simply good enough so that your clients will pay your company money.

Maybe this won't happen to you, but one day you will likely find that programming loses its creative aspects, and it simply becomes another tool to get work done. So yes, it can get boring. Nowadays, I get my own fix from doing a good job, not necessarily from programming. I know when I do a good job, and when I don't.

5

u/alanbdee Mar 21 '20

I think the way you feel is more common then you might think and contributes to why many developers switch jobs every few years.

I had one particulary good co worker who loves going into a business with a poor code base and cleaning it up. Once it's cleaned up he moves to another company.

I've also noticed as I get older I want to switch even less. Again, I think that's pretty normal.

There are plenty of challenges in the industry that keeps it's interesting. It's just that a lot of those challenges fall outside strictly programming, usually in the form of deadlines.

4

u/javaHoosier Mar 21 '20

At the end of the day anything gets kind of boring and repetitive. When you get your job you are most likely going to be in a domain for a while. You can adapt as it changes or try something new. There are so many subfields which is really refreshing. You wouldn’t want to try to write your own password encryption for example unless it’s for a learning exercise. It just won’t be as good as packages created for that purpose. You can always write up simple apps however you want on your own time though.

I taught yoga as a former job. Now that was repetitive.

4

u/[deleted] Mar 22 '20

Yes it's boring. They're not paying you to have fun, they're paying you to make something that makes them some money (or enables them to do so somehow). All of these frameworks and rigidity work in favour of creating something that operates reliably and importantly can be maintained by someone else once you've gone.

2

u/[deleted] Mar 22 '20

If you want to shoehorn yourself into one role and not jump from technology to technology, it will likely get boring.

I live in a somewhat hectic world where I have the opportunity to work on a multitude of technologies - often in the same day. I develop and support "store systems". This ranges everywhere from the Point of Sale, to the Operation System, to the security software, to the websites that run in our stores, to the software that is installed, to the mobile devices, to the network layout, to helping design store layouts, to prototyping and implementing new solutions, to writing documentation for support teams, to building custom support tools, to virtualizing our lab environment, to automated testing, to field patching, to ECom support, to traffic (people) counters, to project management, to well - almost any system you can think would live inside of a retail store.

Not many people can handle the swings of what I do, but I am NEVER bored. I typically get pulled into projects when the given frameworks don't work or there are other seemingly unsolvable issues. Nothing drives me like not being able to figure something out.

Also, 75% of what I build is throw away. We have some widespread issue, we build something as quickly as possible to fix the field. Once the field is fixed and the root cause is taken care of, the work is not needed. Sure we keep it in the repository for reference/examples, but that code will likely never be touched again.

2

u/mymar101 Mar 22 '20

Sure it can get boring, but just keep doing and improving what you know. You're never done in programing, there's always something new to find, especially if your chosen language or tech updates frequently. If not, there's nothing wrong with trying out other languages and tech.

2

u/Gvistic Mar 22 '20

For me, the final product is the redeeming aspect of CS. Viewing my final product with no errors or bugs gives me a lot of enjoyment and satisfaction.

2

u/oparisy Mar 22 '20

Not my feeling. Creativity through contains/frameworks is liberating, in that you don't have to reinvent groundwork for each new projects. Helps in integrating existing teams/projects too.

But frankly the pleasure is in problem solving, and problems there always are!

2

u/Bottled_Void Mar 22 '20

I get to make cockpit displays for jet fighters. It's fucking ace. (Lot of paperwork though).

2

u/jaystopher Mar 22 '20

I like to think that my job is to implement business logic specific to my company, things that differentiate our product from competitors. I want to use frameworks as much as possible to implement all of the other parts of the system that are previously solved problems. Your value to the company is in your expertise in the implementation of the core business logic of your product, not in your ability to code a REST controller from scratch.

2

u/roy_ismyname Mar 22 '20 edited Mar 22 '20

Yes, after some time programming does get boring. My limited experience in the industry has taught me that by the time you get to that level, writing code will probably not be the only important task you will have in your work day. Meetings, mails, discussing implementation, documentation and other seemingly mundane stuff which would actually be more important.

My favourite part of the job is debugging. I go into a zen like state. I have only one thing on my mind, no responsibilities, no pondering over the best approach just sit and work. Programming might get boring and repetitive, but your job will still be fun and challenging.