r/learnprogramming • u/CodeTinkerer • May 30 '20
The misconceptions of a programmer's life
I see frequent posts from beginning programmers wondering what programming is like, and I think it's useful to address those issues.
You program 8 hours a day at work
This is probably the least true of all the things. Most programming jobs are maintenance jobs. The programs have all mostly been written years ago, and you are doing support, minor enhancements, bug fixes. Even if you get to do more than that, you are still not likely coding a large part of your day. It's about meetings to decide what to do.
Also, from my experience, unless you have some reason to dig deep into code (esp. if the code base is large), most people don't bother. Our codebase is old and rickety. There aren't comments. The business process isn't exactly documented. I don't want to wade through 2000 lines of Java code (per Java file) and try to understand the business behind it.
Unless you're working in a brand new project that needs a lot of code written (which I've been in), you are probably not doing a lot of programming.
A program is about programming
I work at a university. Students, esp. computer science students, complain about our old system that runs a "batch style" programming system. That is, the system shuts down overnight, does a bunch of data processing, and opens again in the morning. They wonder why the system can't be Facebook or Google or YouTube, and be up 24 hours a day.
First, I think many such people would be surprised how many people (or really, how few people) are supporting these systems. You'd think there's a team of 20 developers doing the best they can to keep this stuff running, and it's like a well-oiled machine, but sometimes it's less than half a dozen people, and we barely know the software's purpose, but can do minor fixes and keep stuff running.
Most software out there isn't, as they say, rocket science. Sure, a few exceptions (say, SpaceX software). Most of the software encodes business practices, and most business practices are a weird arcane set of rules that have no basis in math or science, but is just how some company works. You write that in code, no matter how illogical it is. And often, the code, and a few old timers' memories are what holds the project together.
Comments? Hah! A written business process? Hah! Programmers had one purpose: get the program to work. They didn't think about who would maintain the code after they retired. The only saving grace was their background wasn't so sophisticated as to create true spaghetti code (let's use regular expressions and finite state machines and design patterns up the wazoo!).
It's often not the coding language (like Cobol) that prevents modernization (although it's partly that), it's that the business process was never formalized, and there are 100,000 lines of code no one wants to read (and only represents an approximation of what the people who wanted the code wanted---and they're retired too!).
I often point out the scene in the third Matrix movie where the councilman is talking to Neo about how these machines support their underground city, yet no one quite knows who built it or how it works. That's a lot of software out there.
Writing from scratch is not such a common experience (at least, from my perspective), and even when you do, it's not always as organized as it could be. We may call it software engineering, but most engineering involves others looking at your work, and having input into fix it. Code reviews aren't the same thing as people inspecting a building and seeing it every day.
We often don't rewrite things because the rewrite would be huge, would require a bunch of new developers, and doesn't even have the support of the people we're writing it for.
As a programmer, since I wrote the code, my opinion is the most important
OK, so you may know programming, but do you know the business you're working in? Many a programmer or startup guy thinks "You guys do something dumb, and I'm smart, so I can easily create a system that's 10 times better than the crap you use. And you know what? I'm not even going to consult you about how the system should work. I'll make up my own. You are such idiots!".
Well, that may be, but they're used to the system they are used to, and they've thought about their own (arcane) business process for a long time, and if you build something that is completely different from what they are used to, they won't say "oh, we lack the intellect to understand your truly great software", they'll just not use your software.
If your user base is a bit older, and possibly, even if they aren't, they will be used to doing things in a certain way. Maybe you can convince them that way isn't smart, but if they questioned your lack of comments, your lack of coding structure, how what you wrote seems like gibberish, you might get defensive as well.
The point is that you're often writing software or maintaining software by those who use the software every day. As a programmer, you might even have the luxury to walk away after you write a code, never having used the code as your users use them, and they may ultimately hire someone new who maybe pays attention to what they actually want, even if you think it makes no sense.
The program matters
Many of you are learning to program. You think companies are willing to throw out a million line codebase because it's written in an obsolete language. Who's going to write it? You? (You, Mr. Wineburg?)
A million lines of code is something that could take a lifetime to rewrite. Do you plan to read the code to understand what it does? Could you even do that?
In any case, sometimes people think the program is king (or queen, or some elected position). It's not.
It's the data.
Say you've run this legacy program for more than a decade. It fills up tables and table of data. You, being a person who hates legacy code, wants new DB tables, and new ways of storing information.
Here's the problem. What do you do with all that old data? Oh, you want to throw it out? Start new? Brilliant!
Every software shop is the same
If you look at the world of practicing doctors, they seem to fall (roughly) into two categories: those working in hospitals on patients that need somewhat urgent care (or are doing elective surgery), and doctors with private practices.
Both seem to follow a similar structure, so that if you went from one personal care doctor to another, their structure would be about the same (waiting room, receptionist, files, someone to check your insurance, collect your copay). If you go get your car repaired at a mechanic, you expect a similar experience. If you go to a grocery store, you expect a similar experience.
People in the software industry have nothing close to this. Each company may have widely varying setups. There are companies with just one programmer that does everything. Could you run a grocery store with just one person? (Well, maybe if it's a tiny one person operation selling very few items). Or a doctor's office (probably not because of insurances, unless you're some kind of boutique doctor that makes home visits, and even then, I suspect you're hire someone to do the billing, etc).
The big companies can afford to have their own internal support structure that makes it easier for their average developer to deploy code. That support structure is often an internal thing, not an off-the-shelf, any small company can do it. If you were a car mechanic and wanted to open your own small shop, you'd probably know exactly what you need (at least, the very basics). These things probably have been (roughly) the same for decades, and even the new things, people probably generally agree on what is needed.
But if you're a small software shop...there's no such standards. Do you want to use Atlassian tools? Or do you use a spreadsheet, or emails? Do you use some kind of company email? Or do you use personal email? There are lots of decisions, and it's hardly standardized in the industry.
You may think, say, version control is important. I guarantee there's some software out there (maybe rare), that doesn't use standard version control, and it probably does something important. And the people maintaining it may not even understand what version control is and why you need it. I'm serious.
It's like going to a surgeon with a bottle of whiskey and a bowl of leeches and they say "What's anaesthetic?"
We'll rewrite everything!
"I know engineers, they love to change things--Dr. McCoy, Star Trek: The Motion Picture"
Back in the 1990s, the skill most programmers needed? The ability to read other people's programs. Most early programmers could write code, but they really had a hard time reading code, so they were almost always complaining that you needed a complete code rewrite to write that code in a way they could understand, without realizing the irony that the next programmer would want to throw away their code, and write it from scratch.
Joel Spolsky, who used to blog many years ago (Joel on Software), used to say rewrites were basically evil. A functioning codebase should have been tested many times and many bugs have been removed. A new codebase will introduce new bugs and will be buggy. Software engineers aren't that good about creating bug-free code (after all, what is a bug? are there specs?). He said it's better to refactor to improve the code than to rewrite, but most developers like the feeling of an albatross of code off their neck that they don't care about bugs they introducing.
New code is wonderful!
But realistically, you need to know what you're building, and knowledge of the ins and outs of a programming language doesn't help you figure out what it is you're building. And sometimes your experts also want to control the kind of software you're writing (mostly from a usability standpoint).
I only have to understand a programming language
Many self-taught programmers think "it's all about learning a programming language".
Some complain: why do I need to know HTML? Why do I need to know CSS? Why do I need to know SQL? Why do I need to know version control? Why do I need to know Github? Why do I need to know math? Why do I need to know business? Why do I need a deploy system? Why can't someone else test my code? Why do I need a bug tracking/task tracking software? Why do I need to read my emails? Why do I need to update my tickets?
It's hard enough for most of you to learn a programming language. But it's often the tip of the iceberg. To support web programming, many programming languages have a web framework, and sometimes those web frameworks do a lot of magic, to "help you out", and now, you thought you understood how a programming language works, but you don't. (We used annotations, you'll love how it's not crufty like the rest of Java!)
Conclusions
You don't program hours a day unless it's brand new software, and even then.
You'll probably spend as much time in meetings (if you get to be important enough) than programming.
There are generally two kinds of developers that survive in a company/organization that's been around a while: those with strong technical skills, and those that have been around long enough to understand how things work (business-wise) even if they lack the technical chops. Sometimes (rarely), they are the same person.
You don't need to know computer science that well to write software that basically works, esp. if you know the business well. A lot of software may require only basic math skills and some understanding of how the web works. It's sort of the equivalent of a doctor that learned how to doctor online, and only learned 10% of what they should. They may still be able to heal most basic things, but not be able to do some other basic stuff. We don't trust that in doctors, but in software, it might be OK.
Knowing the business is often at least as knowing the software, possibly more important.
Your customers likely don't want you to make "improvements" to their software, esp. those that you didn't bother to consult them with.
Most people tend to do maintenance programming, not green field (brand new) coding.
You often have to teach yourself newer technologies. Your senior developers aren't usually willing to be teachers and teach you from scratch.
Communication skills are useful, but most developers became developers because they prefer to work alone. This doesn't always lead to good software, no matter how skilled the person is.
You shouldn't think you're writing code for yourself, but for the next person that has to maintain it. Don't be too clever. Someone else will have to deal with your code (and it could be you, two years later). Maybe write some comments or something.
Software can be developed in all sorts of ways, many not approaching "best practices" (which seems to change all the time). Not everyone is on the cutting edge (see New Jersey Cobol programs for filing unemployment). Being on that edge requires chasing a moving target that most companies think is a waste of time (why does Spring keep coming out with new versions--haven't they figured it out by now?). This means that there is no typical way software is developed. Yes, many companies share similarities (they have a Wiki, they use Jira, they use Bitbucket, they have a deploy system, they do code reviews), but it's not universal.
Your code is often not reviewed as much as it should, and you might get defensive about the comments you get.
Code consistency helps (if you can tell who wrote the code based on stylistic choices, that may not always be the best thing).
42
u/PM_ME_YOUR_MECH May 30 '20
Am I the only person the codes most of the day at my job? I usually have 1-3 meetings per day, but otherwise I am coding. I guess testing my code/deploying it doesn't quite count as coding but it still is in the same vein as "doing technical work that isn't sitting in a meeting or writing a document"
28
u/imnos May 30 '20
Nope. I don’t think OP is right about this at all. Most of my jobs have all been writing software for new things being developed and not “old software”. In my current job, I’m expected to pump out 6 hours worth of code per day, week in, week out. Most of my jobs have been like that and unfortunately it’s not very enjoyable.
So, not really sure what OP was talking about. If you don’t develop/code all day, what else are you doing as a new developer?
1
u/Modullah May 30 '20
Good for you but your experience is not indicative of the entire industry.
21
May 30 '20
Neither is OPs to be fair his post and the one you replied to are legit just two dudes opinions
7
3
May 30 '20
We have 1 stand up in the morning, 15 mins, otherwise I spend the entire day writing code. Just the way I like it. 15 mins of stand up is too long as it is (5 dev team)
2
u/Mike312 May 30 '20
We don't even have a stand-up. We used to have 45-minute tech meetings on Mondays but those went away since everyone started working from home.
I'm technically left to code 8 hours a day. On a good day, I'll knock out 6-7 hours of code with zero interruptions on something I'm totally motivated on. If it's week 3 into a slog of a project I have zero interest in and keep getting interrupted for other things, I could code for as little as 2 hours a day. I'll try to fill remaining time by writing documentation on stuff.
1
u/mr_squ1dward May 31 '20
Nope I'm in my second internship now and I code 6/8 hours of my day usually. And most engineers I've talked to do the same. Given both of these experiences were at large tech companies I still think there's a difference between between having a compsci degree and being in an engineering role vs being in IT with anywhere from no certificate to a degree.
1
u/ScrewAttackThis May 31 '20
I'd say 5-6 hours of my day are typically reserved to just the "software engineering" part of my job but that entails more than just typing code. I'm also doing PRs, debugging, coordinating releases, etc. The rest is Slack/email/meetings.
0
May 30 '20
[deleted]
3
u/reddilada May 31 '20
It's just the development is more than typing in code. Most of my time is spent planning and designing. The coding bit is just typing at the end. If you are spending the majority of your time at the keyboard then it is likely the design and planning has been done for you -- a legitimate role, to be sure. If you are able to keep busy coding all day, then either you're working somewhere that has an excellent planning and design pipeline or you're somewhere where they just throw stuff at the wall and see what sticks.
0
May 30 '20
[deleted]
8
u/GunningOnTheKingside May 30 '20
Been coding for 20 years, and I can say as you gain more experience, your opinion is valued higher, and they would like you to weigh in on more decisions, hence you are added to more meetings. More architecting and less hands on coding.
106
u/bwainwright May 30 '20
Great post OP! I've been a professional for over 20+ years, and just wanted to add some comments:
You program 8 hours a day at work
OP mentions that most (commercial) work is maintenance. Whilst a lot of work is maintenance, there is also usually on-going and new feature development for existing systems.
However, there is still also a good amount of "green field" development out there (ie, new projects starting from scratch), but it's certainly rarer than working on existing systems.
Either way, OP is absolutely right. Very rarely are you actually coding solidly for 8 hours a day. In my 20+ years of professional/commercial development, I would have killed for a solid uninterrupted 8 hours of coding. Unfortunately, managers and other external parties will inevitably schedule multiple meetings per day. Managers rarely appreciate the need for developers to have long uninterrupted periods of focused time to "get in the zone".
You'll be lucky if you get between 3-4 hours of actual coding per day. Usually, when planning (certainly for Agile projects), project managers will plan using a 'productive day', which is rarely any more than 5 hours. The idea being that you'll spend 3 hours/day in meetings, coffee breaks, admin work, lunch, etc. Realistically, in my experience, even 5 hours/day is optimistic.
A program is about programming
Most of the software encodes business practices, and most business practices are a weird arcane set of rules that have no basis in math or science, but is just how some company works
I think this is the biggest lesson a lot of new programmers on this sub can learn from this post. People get caught up in elaborate algorithms and design patterns. Their experience when learning is usually based on theoretical and/or academic programming problems. The truth is, 90%+ of commercial development is purely implementing business requirements in a limited amount of time and to a budget (time is money!). Commercial development is very different to academic development.
100,000 lines of code no one wants to read
I'd argue that it's not just a case that no one wants to read 100,000 lines of code, but more of a case that there's rarely any test coverage around that 'legacy' code and no one wants to touch it for fear of breaking it.
As a programmer, since I wrote the code, my opinion is the most important
Totally agree with OP here. Your job is to implement a business requirement, no matter your opinion of it. Yes, you can (usually) have an input in validating the requirement and how it ma be implemented, but if the business has a requirement that says "the sky is green", then hell, you implement the sky as green even if you think it should be blue! You can discuss the requirement at the stage they're defined, but if they get signed off and it gets to implementation, you implement that requirement.
The business/users are king, and as a programmer, like it or not, you're pretty low down in the order of things.
The program matters
I've worked pretty much exclusively on 'transformation programmes' for the last decade or so. I specialise in moving companies from legacy insurance systems to a more modern system. Again, OP is correct, it's all about the data.
In my line of work, companies have decided to replace their legacy systems for whatever reason - usually linked to what OP said previously, they encapsulate archaic business practices and have such implementation complexity that they don't want to touch the code in fear of breaking it, so decide a complete replacement in a way that allows them to modernise their business practices is a better option.
These programmes often run 5-7 years, with teams of 100-150 people and cost many multi millions of dollars.
The hardest part of these programmes without doubt is handling the legacy data and migrating it into the new system. It's often a total nightmare.
My point is, outside of these types of programme, which are not common, companies will never just trivially accept a suggestion of just rewriting large areas of their legacy systems.
Every software shop is the same
Again, in my current role, I work on multiple projects - I've worked on approximately 11-12 different projects in the past decade, with each customer having their own development teams.
One of the hardest parts of my job is having to continually adapt to the standards and practices of each customers software team, because it's totally true that no two software shops are the same.
We'll rewrite everything!
This one made me smile! I now manage multiple teams and am also responsible for hiring. The number of times we've hired a junior straight out of college who has this attitude!
I only have to understand a programming language
Again, OP is correct here, but to add to it, it's not just all the other technologies a programmer might have to know/learn, but you need to understand the business domain. I've been programming for over 35+ years, I know multiple languages and technologies, and I now manage multiple development teams over multiple projects and clients. However, for the past 12-13 years, I've specialised in Property & Casualty Insurance systems. Even though I have all that technical knowledge, if I moved to a medical imaging company tomorrow, I'd significantly struggle!
18
u/gyroda May 30 '20
I've worked pretty much exclusively on 'transformation programmes' for the last decade or so. I specialise in moving companies from legacy insurance systems to a more modern system. Again, OP is correct, it's all about the data.
My current job is doing something similar (when I'm not on furlough). Replacing an older system with something a bit more modular, easy to maintain and, most importantly, easy to maintain in-house.
The limiting factor is always the data. The data format is the one thing we can't really change at the moment, in fact it's a separate team entirely. We're slowly changing it bit by bit as new requirements come in, but at the end of the day the data is the lifeblood/heart of the business and you don't wanna screw with that.
4
u/bwainwright May 30 '20
I feel your pain my friend!
We usually structure our projects so that we have a dedicated team working on data and migration, otherwise we find it just ends up consuming our primary development teams.
Hope you get back from furlough soon!
9
May 30 '20
“I only have to understand the programming language.”
This...drives me nuts when I see the multiple - I self taught and practised on hacker rack et al, and got hired straight in as a lead developer!
A colleague of mine noted when interviewing that the amount of knowledge you have to have to be productive is really high; and a lot of it is specific to particular work places.
Nothing beats experience (but experience isn’t everything)
3
u/Unknow0059 May 31 '20
You'll be lucky if you get between 3-4 hours of actual coding per day. Usually, when planning (certainly for Agile projects), project managers will plan using a 'productive day', which is rarely any more than 5 hours. The idea being that you'll spend 3 hours/day in meetings, coffee breaks, admin work, lunch, etc. Realistically, in my experience, even 5 hours/day is optimistic.
This is the part that bums me out the most. I don't want this out of any job. Out of any hobby, or activity.
Part of the reason I hated school is that I didn't learn well at school and they just unloaded the actual learning onto homework, which defeats the purpose of going to school - basically, if you go to work but you mostly don't work (that is, doing what you are paid to be doing), that sucks.
By the way, what's the difference between rewriting and refactoring? Is it that rewriting starts from absolute scratch, while refactoring keeps the same general ideas and structures intact?
2
u/bwainwright May 31 '20
I'm with you, but it's the reality of commercial development when working as part of a larger team.
In my experience, you'll often see developers working in an office until 7 or 8pm despite them being in since 8 or 9am. That's not because they're being asked to work 12 hour days, ro because they're 'workaholics', it's simply because they didn't actually start coding properly and getting in that mental zone until around 4pm due to all the usual daily distractions and they the office has quietened down to the point they can actually focus and get stuff done.
IMO, offices, particularly open plan offices are the worst environment for developers to work in, and I'm hopeful one of the positives out of Covid-19 is that more companies will be willing to accept remote work as myself and most developers I know are significantly more productive when left alone and working from home. We've always worked remotely as standard on a Friday, and we probably increase to something like a 5-7 hour productive day.
Re: Rewriting vs Refactoring - you've pretty much got it. Rewriting is when someone completely rewrites an area of functionality from scratch. Refactoring is 'rewritting' code, but usually to improve the implementation by applying a design pattern, make it more efficient, or make it reusable for example.
Properly refactored code will always pass any pre-existing tests for that code. 'Rewritten' code generally won't. In the context of these posts, OP (and I) are pointing out that you can't just go into an existing code base and start rewriting bits because you feel like. Everything has to be driven by a business requirement and rarely does a business requirement have anything to do with the code or implementation. You may refactor as part of general development because you want to reuse or expand the functionality of a feature though.
A word about refactoring in commercial environments too - you won't do it as much as you might think! Academia often leads beginners to think that they can always go back a refactor code later on. The truth is, you'll never have time in a commercial environment. There'll always be new user stories or features to implement, or bugs to fix. You'll pretty much never be given a block of time just to refactor code.
You can certainly refactor as part of your regular development if the code you're refactoring is relevant for the user story/feature you're working on, but a developer submits a pull request with a bunch of refactored code that's not relevant or connected to the user story they're working on, it'll get rejected in my (and other) teams. We need to track code changes and commits back to user stories and therefore business requirements.
If you see there's poorly written code in a code base, that'll often go into technical debt and you might be able to formally address it at some point in the future, but technical debt is one of those things that is usually a lower priority than new feature development and bug fixes.
2
u/Ran4 May 31 '20
In my experience, you'll often see developers working in an office until 7 or 8pm despite them being in since 8 or 9am.
That's mostly a thing in second or third world countries.
That shit would never fly in Sweden for example (where I work), I'll tell you that...
2
u/bwainwright May 31 '20
I'd love you to be correct about that, but it's extremely commonplace here in the UK unfortunately.
I also have many friends/colleagues in the US and know it's commonplace in a lot of places there too.
Again - this is not due to companies demanding it of employees, but rather developers having to tolerate so many distractions through an average workday that they end up choosing to work late just to get their development done whilst it's quieter in an office space.
5
u/Codiac500 May 30 '20
MAN hearing about how migrating data is such a rare opportunity has me upset... I completed my junior year of college this past month and was scheduled to come back to my hometown and was lucky enough to have a big summer internship where me and some other student interns (surely hired for our cheap labor) were going to be building an enterprise data warehouse that would outright replace this major regional companies handful of outdated and separate management databases. We'd have been building it all from scratch between the SQL for the database, python for migrating the data, and integrating Microsoft Power BI for making it all useable. COVID-19 of course got in the way of that.
7
u/bwainwright May 30 '20
I'll be honest, I've heard of multiple similar projects and rarely are they 'straightforward'. That's a really significant undertaking.
If you get to work on it, make sure your team significantly buffer all estimates! At least x3 or x4 whatever your initial estimates are!
3
u/Codiac500 May 30 '20
It was cancelled without any implication that it would be brought back up anytime soon as the company was heavily impacted by certain business closures (It was a major shipping and warehouse company for local automotive manufacturing plants in the surrounding states, and COVID essentially halted production) but nonetheless it seemed very well planned and handled. The man over it was a specialist consultant who had been doing similar projects for years and seemed to have a good grasp and breakdown of the time we'd need with a lot of buffers for when things inevitably went wrong.
This is fine though. I was able to pivot my summer of nothing to some intensive Virtual Reality development and it's been incredibly rewarding and educational so far.
Anyway though, thanks for all the insight you and OP's comments brought on! It's easy to see myself and other students I know not really being aware of all that you both mentioned.
51
u/garblz May 30 '20
On one hand, this is spot on. On the other I feel completely different about my job than what this post conveys. Hm, not quite sure what gives.
Aight, I'll say this much: if you put out some effort and if you can motivate yourself, you will start having some influence over how things are done. It might be the architects start listening to you, it might be the team will start to see you as a tech lead. It might be the business people start talking to you more on a partner than work drone level. Even in a job that suits the OP's description perfectly, you'll get to see your own ideas implemented. Even the smallest feature can be done hundred different ways.
I mean, programming is fun. And even in a boring job, you can find ways to make it interesting (and I mean without fucking up the codebase). It's problem solving, it's creation, it's fun.
Btw. atm I'm working as a contractor for a Swedish company. The pay you for 8 hours a day and expect you to put 6 into actual work. So, even at the management level no-one expects you to program for 8 hours straight.
11
10
u/curiousCodemonkey May 30 '20
I think the summary of most of this is that understanding the concept of technical debt is important.
Needs and culture of a company are probably larger contributors to technical debt than individual developer skill. But it all plays an important role in how much the system smells, how much documentation is missing, and what a given developer does in their day-to-day. By understanding the concept one can attempt to mitigate it. But some people may be programming for 8 hours a day, not documenting a thing, and unknowingly increasing the maintenance costs of the system for everyone who will ever work on the system.
15
u/slfnflctd May 30 '20
+1 Insightful. Great stuff, you clearly speak from experience. One thing I want to single out:
You shouldn't think you're writing code for yourself, but for the next person that has to maintain it
This is true in many fields. I worked for a while maintaining (and sometimes installing) business phone systems & LANs. A lot of it was about cable management. I will never forget one of the techs who trained me, he had such a great work ethic and I wish I could've learned more from him. But the thing that stuck in my mind most was, "think about the next tech who has to work on this-- and if you don't care about them, consider the fact that it might be you, years from now when you've forgotten everything about this installation".
Probably some of the best advice there is in any kind of engineering. Even if you don't think of what you're doing as engineering, or see it as very important. Just solid good practice.
6
u/greebo42 May 30 '20
and, in medicine: when you see a patient, think about the next doctor who has to understand what you thought was going on, and what you were thinking when you made your treatment plan.
good documentation does not appear to be a natural skill. it is definitely worth investing in, whether you're writing code, doing cable management, or whatever.
5
u/poisonousvixen May 30 '20
Wow this post is super eye opening. I must say I'm a little discouraged after reading the comments. I'm a senior computer science student at a smaller university but I also work full time. Getting to even this point in school has been a struggle and then after Covid-19 hit this semester I have been seriously considering dropping out. Reading the comments makes me wonder if I really needed to go to school. I've learned a lot but it seems like I could have learned more on my own (and be in a lot less debt).
Any tips or motivatation would be greatly appreciated. Be well.
9
u/JSArrakis May 30 '20
I really hate to be the one to be an example. But I'm a senior level developer in a fortune 500. I make 6 figures.
I have zero college.
I'm not saying it's the norm though, or that every company will accept people without a bachelor's. But if you can showcase you know what you're doing, either by passing their entrance tests or by having a portfolio of projects for your interview, the degree means less.
I've worked with so many people that had full degrees that could not understand a lot of the non technical or non syntax related issues they were running into and it made me extremely frustrated. Especially because I wasnt formally trained so I thought they should know it better than me.
However, programming is what you make of it. Join a contracting firm first so you can not be stuck st one job for forever. You can get a lot of exposure going from job to job.
Make an app or two to automate something at home. I made a personal ugly phone app that I will never release (because I'm horrible at UX) that allows me to set alarms based on weather patterns or difference in the time of sunrise. Might already exist, but I didnt bother looking, I made it because I wanted to make it and it gave me a lot of experience on different APIs and technology stacks that I wouldnt have been exposed to otherwise.
Dont get discouraged with programming, but just remember even imagineers for Disney hate their jobs sometimes. Even carpenters that can make amazing scroll work for banisters on grand staircases have to sometimes just grit their teeth and do the monotonous work of putting the siding on a house.
The monotonous work will only last as long as you allow yourself to be stuck in it. Keep improving yourself and you'll be able to do the things that are exciting.
2
1
u/electrogeek8086 May 30 '20
I'm 28. Do I have the time to become a developer without going to college? what kimd of projefts should I make for my portfolio?
2
u/JSArrakis May 30 '20
I'm 36. Before 2014 I knew a little HTML and the basics of how to host a website. I knew nothing about programming before 2014.
The reason I got into it was because I was in a video game community and on reddit and wanted to make a new site for us that wasn't on wordpress.
Started learning HTML, CSS and Javascript from Codecademy and the rest is history. I'm now senior level and full stack (but specialize in console apps in .Net, plus I have a good grasp on AWS).
It all depends on your drive and understanding how you learn best. Once you figure out how you learn, you can teach yourself anything at high speed.
A lot of my career has also been advocating for myself and proving myself. Dont be passive, because no one is going to give you anything willingly for free or without effort.
Edit: I will also say that growing up I wanted to be some kind of artist or engineer.
I liked video games but I loathed the idea of being a programmer. I thought developing a game or app would take away the magic of the game or app.
→ More replies (6)1
u/geordilaforge May 30 '20
What language(s) do you code in? Did you learn on the job or youtube or online classes or a boot camp?
Edit, saw your answer below:
Started learning HTML, CSS and Javascript from Codecademy and the rest is history. I'm now senior level and full stack (but specialize in console apps in .Net, plus I have a good grasp on AWS).
Did you make a lot of projects to show to break into the industry?
1
u/JSArrakis May 30 '20
I actually fo a few more languages than what I listed including Python, Haskell, PHP, a very small amount of Java (had to learn it for Android) and various DB languages like SQL and R.
My break into the industry was more organic than what I stated. I got a job in tech support for a start up around the same time I was interested in learning programming (mid 2014). Before that I jobs in tech support for an engineering company which mostly included doing data back ups and transfers and getting all their systems off of XP because Microsoff was ending support.
Before that I was Geeksquad.. which generally has very little to do with fixing computers and more to do with selling computers.
Anyways the tech support job at the start up, in my entrance interview I let them know that I had a big interest in eventually moving to development with no real idea how long something like that would take.
I'll be honest, I thought I was hot shit because I knew rudimentary Javascript and could create multidimensional arrays programmatically. I didnt think there was much more the syntax and I was good to go. I had some real face palm cringey attitude about it all.
For about half a year at that job I just did mainly tech support but kept pushing to see if I could take on a small project. In the mean time I was mainly just fucking around with that website trying to do cool things and getting help from the start up's developers to answer questions where I could (It was a red letter day when Recursion finally clicked). When I showed my understanding was more than rudimentary they threw me a small commit to work on. From there it snow balled.
The history of the start up however was kind of cursed, and as they shed developers over the next two years I was able to take up more and more projects and became more of just primarily a developer instead of support, to the point where they hired a other support person to take my place so I could focus only on development.
And then the company had a hostile take over and I jumped ship to a bigger company.
But the primary thing that in my experience got me a programming job was my ability to show people that I knew what I was doing. I was in a lucky position because I was no where near ready to show people at the start up I was a good programmer at the time of my interview, but gradually over time I was able to. Which is why I tell people going into an interview to atleast have 3 solid apps that can showcase your abilities. Best to make do wildly different things. One should probably do something with a database (RDS or flat, doesnt matter) One should use an API or multiple APIs. And one should be written to utilize some other platform than just windows (AWS is the easiest and cheapest to use).
These three things using different technology stacks SHOULD show people how well rounded you are and at least your ability to read and understand documentation.
Be prepared to defend your reasoning to other developers on why you chose what you did and how you utilize it.
Now something like this wont work for getting a job at a place like Google or Amazon. They generally dont give a shit about your portfolio and if you dont have a bachelor's you better ace their interview tests with flying colors.
→ More replies (1)5
u/reddilada May 30 '20
Finish the degree. Whether you realize it or not, a university education is teaching you many things beyond direct CS skills. Dropping out would nullify one of the key things a degree bestows on you -- that you are able to start and complete complex tasks, and able to do so under widely varying circumstance. Every bad teacher, pointless assignment, and non-contributing team member is real world training that you will have successfully worked through.
And do know that new programs are written all the time. There are loads of cool projects, companies and teams you can work for. You just need to prove yourself and seek out these things. The degree will give you a huge leg up in this regard.
5
u/TheShepard15 May 30 '20 edited May 30 '20
Not finishing your degree shrinks the amount of prospects available to you by a lot. Any large company with HR and resume screening will most likely bin you at first glance.
Just remember people's experiences about not having a CS degree is anecdotal, and often times they exclude information.
I cant tell you how many times people mention they got a job without a CS degree but "forget" to mention they have a degree in STEM.
You can get a good job without a degree, but I'd argue you have to be even more motivated, and willing to work hard.
4
u/NicNoletree May 30 '20
Spot on! 30+ years of experience, and moved to a new job and industry 7 months ago - my biggest concern is learning the business processes of how these programs fit together, and why.
0
May 30 '20
[deleted]
2
u/NicNoletree May 30 '20
In my previous job I was productive fairly quickly but only on tasks that were well spec'd out. It took a while to start to learn what I needed to really understand why things were done the way they were, and it was probably after being there five years before I felt like I could really be productive and contribute, rather than just maintain.
4
u/YtseThunder May 30 '20
Thanks, OP. Kinda makes me think I’m not as far off my career goals as first thought.
We are using legacy fortran code where I work, and basically all of what you’ve written is applicable - especially the lack of understanding of VCS. Trying to shift over to a more standardised SCM system has been hard...
Completely agree that understanding the business/data is at least as important as understanding the code. You have to really know how the system works, and have the humility to accept that your way isn’t necessarily the best way (when it comes to how software should operate).
4
u/pancakeQueue May 30 '20
> Most programming jobs are maintenance jobs.
No one leaves school wanting to maintain code, but it needs to be done.
4
May 30 '20
As they say YMMV. We write code a LOT (close to 6 hours a day, at least), tons of comments (our build fails if you are missing a javadoc on a public method), refactoring daily, automated builds, reports, tons of unit tests, and the funny thing js, no one told us to do it this way, we only get pentesting as an external measure of quality. We don’t even have a QA department. We just like what we do and feel proud of it and want to keep the quality high, we invest in documentation and developer tools because it makes our lives easier. We have a LOT of influence on what we do as well, sort of like a startup in a big company. For some features I enjoy writing code so much I need to be stopped otherwise I’ll work 24/7. I’m not kidding. It’s a real problem.
1
u/Ran4 May 31 '20
(our build fails if you are missing a javadoc on a public method)
That's a recipe for some truly horrible code bases. Are your methods 20 lines long or something? Clean Code's approach to Java pushes for 1-4 lines of code per method...
1
May 31 '20
Yeah, short methods is also a rule we have :)
But I don’t see the necessary relation. Even for a short method, let’s say it’s 4 lines and it calls 4 internal methods that are also obeying that rule, if it’s a public, I want to know (without having to look through all these methods): is it thread safe? Is it null safe? What is that type it returns, how do I use it, example of usage etc.
Every single “well known” open source library code you use, open their codebase and you’ll see they have javadoc on public methods.
Once in a while I’ll use a library that doesn’t, and in many cases it’s a big pain because there will be some cryptic method (and it doesn’t matter if it’s one line or 4 lines or a hundred, because those can call inner methods and so on) that I have no clue what it’s doing without reading half of the code base.
1
u/geordilaforge May 31 '20
Is this something you guys naturally did? Or how did you guys get buy-in on this?
1
Jun 01 '20
Pretty natural. (I work for Amazon Web Services, standards are pretty high)
1
u/geordilaforge Jun 01 '20
Ah gotcha, I would imagine Amazon's standards are high.
What's that like there, do you do 40-hour weeks or is it more hectic? How's the "culture" for work-life balance and getting help from other devs/engineers?
→ More replies (1)
7
u/Drinkieta May 30 '20
This seems like the post from a jaded person working on projects and for companies they don't like working with coworkers who aren't great programmers. Many of the conclusions drawn are inaccurate given my experience. Motivation pending I do code hours a day on new projects. Our company is our customer so we are constantly improving. Good management controls the amount of meetings I don't have to sit through.
If you don't like what this person describes just know there are other alternatives. Start ups and small businesses can be much more enjoyable environments to work in. All the code in the world is not "already written." ...
1
u/SocialGameDesigner May 30 '20
Also OP mentions writing comments for code, which I totally disagree with. Comments won't make bad code clearer and most of the times clean code doesn't require any comments. Unit tests usually convey the same thing what good comments would. Comments are rarely needed, and a lot of times make the code less readable.
2
u/Emerald-Hedgehog May 31 '20
If you're short on time, comments can help a lot to at least give someone else a basic idea of how the app/data flows. Also comments help yourself to understand your plan better - it's a bit like rubber duck debugging in a way. Obviously you have to clean up comments later and reduce then to a minimum. Doesn't take a lot of time, but can help a lot if done right.
However, more important: Name variables and functions in a proper manner and most things are going to be self-explanatory. And structure your code in a at least semi readable and logical manner.
I personally aim for writing code that even my mom would understand if I ELI5'd it a little. Because that's when I know my code will be easy to work with - I like to say "I code for humans". The computer doesn't care if I name my function "f_d", "ftchdta" or "fetchData", but the other junior dev that has to work with it will care. And if a comment ala "//calls API xyz and returns abc" helps to explain the gist of something, then this comment is okay. (Bad example tho, but I hope my points comes across.)
That's just my 2cents on the matter.
1
u/w8cycle May 30 '20
Depends on the language. Very old or extremely low level languages can benefit greatly from comments that provide context.
1
u/bigboxox Aug 14 '20
Great writeup. Are there some tests I can take or something to determine whether or not I'd be good enough at programming to get a good job?
1
u/CodeTinkerer Aug 14 '20
Not that I'm aware of. I mean, there are even people with degrees that don't feel confident they can code at a company. Depends a bit on how much the company is willing to support you, or how quickly you are able to pick up what's going on, or how willing you are to ask questions, take notes, etc.
For example, several useful skills (depending on the language you know). Can you read other people's code, at least, somewhat? Can you use a debugger?
Good job is also subjective. What does that mean? It could mean
Job that pays well (usually the one people care about first)
Job that has meaningful work
Job that doesn't stress me out
Job that doesn't make me work crazy hours (although some people can deal with that)
Job that has supportive team that work with each other
There are two ways people seem to make themselves valuable to a company (depending on how old the company is).
Ability to learn new things reasonably quickly (and fix issues)
Knowing how the "business" runs. Often, you're supporting a software product that others use. It can be useful to really understand what the software does from their perspective rather than treat it as code that just "does stuff". Usually, these are people who have been around for ten years or more (so company has to have been around a while). You don't even have to have great coding skills, as long as you understand how the company works and what it does.
The kind of person that can learn new things and get things to work generally has the most flexibility, because they can leave and go work for another company. The second generally has to stay because their strength is their knowledge.
A good example was the Cobol programming shortage for some state (Virginia?) to handle unemployment claims. The programmers that have been there have been there for years. They may not even be good Cobol programmers (despite years of being there). But they know how unemployment stuff works in that state, what each of many programs do (at a high level), the data file formats, the database tables.
That is, they know the stuff from work. They may not know Java or any modern languages and may not have made a huge effort to learn, so they basically work til they retire or get fired, and they'd struggle to find a new job (except possibly another Cobol job where'd they have to re-learn a new business).
Others may have better answers. I think if you can build, say, a decent website using some technology that isn't purely a copy of some tutorial, and be able to explain how all the pieces work, that might show evidence you can learn and pick up new stuff and get things to work.
6
u/JSArrakis May 30 '20
I will say, a lot of your post is spot on.. for junior level. And for certain companies.
The company I work for is large and in the healthcare industry, and I'm senior level. I frequently work along side of the architect to make decisions from how different systems and apps in different environments will interact with each other, which is usually precipitated by modernization of an app or a new need that requires a rewrite. Depending on the company you're in, these can be frequent, as I have worked on new app or app rewrite projects in my currently company since 2017
From scratch code is possible, but usually you're mirroring an app and sometimes updating the mirror's functionality and usability, sometimes in a more maintainable language. (I'm currently at the end of month 5 of a 2 month project rewriting a legacy app in .Net)
Five things I think you missed that are very important:
Self directed learning
Buy a subscription to Pluralsight or equivalent software training site. Today. Or pester your department heads for your company to buy you a subscription. Start learning everything you can. One or two languages under your belt will get a toe in the door, but if you want to be taken seriously or become a master at your craft, you need to understand which language is appropriate for which problem and which systems those languages play nice with. It's nice that you're a Javascript wizard, but the architect might have just decided what's best for the company is to move to a .Net or Java technology stack, and your Node knowledge is no longer relevant. So your continued employment might entirely hinge on either already knowing the new technology stack, or how quickly you're able to learn it.
It's also important to really know data systems. Should you use a RDS or a flat DB? Is your company moving to AWS? Which of AWS's systems are they using, do you know what a Lambda is in the context of AWS? Do you know how to work with connection protocols and networking specifics? Etc
True software development requires so much knowledge outside of the little bubble of your programming language, and its expanding so fast. Granted you probably wont be using the hot new commodity coming out this week in your code tomorrow, but you probably will be in a few years, so best try to learn it now so you're not stuck with the hot potato in a few years.
Which brings me to my next thing
Learning resources
So everyone likes to talk about Stack Overflow. Yeah it's a good resource, IF you know what you should be looking for. But like all other things in life, if you dont know what you're doing, copying what someone else does might not be the best solution.
I've come across code from my coworkers that I found to be directly copied from Stack Overflow, variable names and everything. This is bad. Every answer that you receive from a forum like SO should be understood at its base level (because who knows how right the person gave it to you is). The solution could have a memory leak, it could be incredibly inefficient. It could be the completely wrong design pattern for what your team has agreed upon. Any solution you receive you should be able to rewrite in at least a different ways to understand what exactly is happening. If you didnt get that epiphany feeling and dont understand what is going on with the solution, dont use it until you pick it apart or ask more questions or do more research. Your job isnt just to make something work, it's to understand WHY something works.
Design Patterns
Learn what they are, they are the most powerful tool in your arsenal to make sure your fellow developers and the developers that touch your code after you're gone dont want stab their eyes out. An app with a set of cohesive design patterns is not only easier to maintain, depending on the design pattern it can be a lot more modular too. Certain design patterns can help you write code that is easier for business to read.
Integration and Unit Testing
Do it. For every complex method. Do it for how you handle your inputs. Do it for how you handle outputs. Do it even if you KNOW how a method works by heart and you're absolutely sure that the method will never act outside of it's designed behavior (spoiler, it will). Most enterprise level applications have so much going on that if you dont keep a programmatic record of what SHOULD be happening, your output is guaranteed to get screwed up, and you wont be able to say why. It will save your ass from business too. I have kicked back so many defined defects that said our code was wrong because I could point to an integration or unit test that proved it was right. These defects ended up being issues with data in the database that a different team owns, or a requirement that wasnt defined in the first place for an edge case.
IT WILL HAPPEN TO YOU
Communication
As a developer this is your most important and powerful skill. Sounds redundant right?
Go explain the difference between the Stack and the Heap to a 4 year old, while the 4 year old has a plate of cake in front of them. If they dont understand, you lose your job. Welcome to communicating with the business team.
You will need to be an effective communicator in every single instance of your job.
You need to be able to explain things to people who dont understand logic and you're pretty sure can only dress themselves with outside help, and these people control your getting a paycheck.
You will need to communicate with your team about your blockers on your stories, the things you tried, potential different patterns and why you think they're better. All the while not pissing anyone off because these are the people you work with directly.
You need to effectively communicate and advocate for yourself to your leadership. You WILL need to defend your right to have personal time and why it's important. Yes they know why, but unless they are convinced that you know why too, they will exploit you.
You will need to be able to defend why you chose 2 points instead of three during Sprint planning if your company is using Agile (they will be)
You will need to communicate to all of the above in a way that is not too technical, because even as a senior level dev, I fucking hate listening to jargon, but you will need to sound competent enough that it's hard to question you unless what you're saying is inherently flawed. You will need to be able to teach logic in simple terms.
After all of that, just remember, one thing.
The rules are subject to change at any given point in time for no reason at all, you will have to either swim with the current or drown.
24
u/SpecialistWriter May 30 '20 edited May 30 '20
It seems to me that jobs in this field are very boring and restrictive.
No one tells you these things before you apply for college: you are taught to build fully functional programs (and get bad grades if you have bugs), learn a lot of theory, learn a lot of languages and then I have to just read shitty old code all day? To just cope with socially inept coworkers who don’t bother helping others (like any decent human would do)? To just work a lot of hours on a week without doing something meaningful: doctors will help patients, therapists and lawyers will help clients, what the heck do a “developer” do in order to feel fulfilled? Why didn’t anyone tell me that at the beginning?
I really regret majoring im this field.
25
u/tmk0813 May 30 '20
Your programming journey could be much different than someone else’s. Don’t lose hope before you even get out there and start doing it. I know people who are cranking out next level stuff, doing crazy cool innovative things and then I know people who manage legacy code all day.
You have a choice when it comes to where you want to be. Work for a startup or a smaller firm versus a large corporate enterprise type setup, test the waters, maybe after a while you decide to freelance and work for many people across many languages in many different spaces. Again, the choice is always yours.
5
u/SpecialistWriter May 30 '20
This gives me hope. Thank you :)
8
u/tmk0813 May 30 '20
No problem. The good thing is you’re knocking out your education, which is so critical for this space (I put my degree off until 7 years after I graduated high school, major mistake lol).
I’ve worked as a dev for about 12 years now and I find that when I get bored, I just pick up the latest framework, language, etc. and build a little side project to get familiar (if I have the time). The very cool thing about software development is that you’re only limited by your imagination and drive! :)
1
May 30 '20
Did you go [back] to school after working in the industry? I am thinking about doing that. (And avoiding the debt this time!)
→ More replies (3)47
u/garblz May 30 '20
And what picture did you have in your head? I mean, it's sort of like an art. You either paint your own pictures and starve hoping to get big. Or you get to draw pictures for Disney, not the way you want it, but getting paid. Don't thnk that's a flow specific to a programmer's job. I'd even say programmers get more opportunity to do things the way they want it, actually.
Whatever job you're doing for someone else, it's going to be restrictive.
→ More replies (4)15
u/denialerror May 30 '20
To just cope with socially inept coworkers who don’t bother helping others (like any decent human would do)?
If that's the case, you work for a bad company, not a bad industry. Communities like this, all the free tutorials and courses, meetups and conferences, and the uncountable amount of free open source software, tools, and libraries - all that exists because people choose to give up their free time to help others for no real benefit to themselves. There is no other industry where helping others for the sake of sharing knowledge is so prevalent.
2
u/SpecialistWriter May 30 '20
I agree with this point and the community as a whole might be supportive, but unfortunately I still see individuals who are reluctant or simply don’t want to help those in need (especially interns or juniors).
I understand that this field rises a lot of questions and is very confusing for people who just start their journey, but the amount of people with no social skills (and inherently no desire to help) is still representative. That’s my opinion.
5
u/denialerror May 30 '20
That's the case in any field. I worked in many different industries before settling on software development and every job had their fair share of people who were socially awkward, or egotistical, or just plain not nice to be around. I have friends in healthcare, government, law, teaching, etc. and all of them have complained about bad colleagues who refuse to share knowledge, communicate poorly, or are vindictive towards people they don't like. Out of all the industries I've experienced, this is by far the most social, the most welcoming, and the one that required the most social interaction and cooperation.
1
u/SpecialistWriter May 30 '20
This comes as a big surprise, because I‘ve always heard the stereotype “engineers are hard to work with” around me. Maybe it differs a lot from culture to culture, country to country or even from company to another.
2
u/ScrewAttackThis May 31 '20
I'm on the features team in my company. We build new shit all the time. 90% of our bug fixes come from our team. In the 6 months I've been in this job, I've had several projects working with technologies I never worked on. It's been exciting.
To just cope with socially inept coworkers who don’t bother helping others (like any decent human would do)?
The "programmers are nerds that sit on computers all day every day" trope is pretty far from the truth. The people I work with are incredibly well rounded. We go to happy hour together, camping trips, hiking, mountain biking, video games, etc. Plus my team is made up of product management, designers, and QA so it's not like I only interact with programmers in my day to day.
Feeling fulfilled depends on you. Our software "makes a difference" in some ways but that's not what I'm about. TBH I work with people I enjoy a lot and I'm paid enough to basically not worry about money at all. It affords me to explore just about any hobby I really want to try out. I'm given interesting problems (both in regards to software and soft-skills as a team lead) more often than not. All of that keeps me going no problem.
1
u/45b16 May 30 '20
Tech companies have a lot more greenfield projects or features than other companies in general. There's always some new Google product or some new AWS feature.
1
u/arkaodubz May 31 '20
Only if you pick that path. My career so far has not been like this at all. The field is pretty diverse and if you want to do feature development at a fast moving company that leaves a solid amount of decision making to its engineers, you can.
Also i have yet to be stuck with entirely “socially inept coworkers who don’t bother helping others.” I get along pretty well with most of my coworkers.
edit: if you want to feel fulfilled, develop software in an industry that will allow you to do that. Med tech is pretty cool.
0
May 30 '20
[deleted]
1
u/SpecialistWriter May 30 '20
I’m glad to hear that and I hope I will come to the same conclusion someday. Thanks :)
→ More replies (2)0
May 30 '20
[deleted]
1
u/SpecialistWriter May 31 '20
Hey, thank you so much for this encouraging reply! You’re right.
My dream is indeed to work in health tech or combine computer science with natural sciences in research in order to make an impact closer to my heart, but it’s a very widespread stereotype (at least in my area) that developers only care about superficial things (like how to earn more money). I admit I really hate this image of a socially awkward man who only cares about his salary, not about making a difference, who belittles people or who works for a company only because he gets free fruits and game rooms.
I’m also a woman and I get massively discouraged when I see the level of misogyny in this field. Maybe I complain too much, but I honestly have these “burn-out” moments after I bottle up my feelings and can’t help it. I really hope you’re right in what you said and I will see the good parts some day :)
thank you again!!
3
u/undead-robot May 30 '20
Are you a web developer?
I’ve heard a lot of these to be things that I hear web developers specifically either get really frustrated and bored with or just something they often bring up.
From what I’ve heard from Game Developers is that they need to program so much and so precisely it can be a nightmare. Fast, efficient programs written over short periods of time.
I’d be curious to see more posts on this and how it varies from specific job to job
1
u/obp5599 May 30 '20
Game dev here. It really depends on what you are working on in a game.
If you are on an engine team you are less likely to be crunching like that. You are on a fixed release schedule usually. So you roll out new engine features periodically over the year.
If you are on a game team then you will have crunch pretty much guaranteed. At bigger companies your sprint will be 80% feature work 20% bug fixing. Then during the games alpha you will be 100% bug fixing. Most of the crunch comes from alpha so its not usual that you would be making new features close to the games release (unless the game is totally behind schedule and you do what you gotta do). The bigger companies usually have less crunch, with smaller indie studios being sweat shops.
3
3
u/HelloNation May 30 '20
Great post, but I'm missing the parts about business not having clearly defined specs, changing specs and expecting you to know instantly how long it will take to implement that new feature that just mentioned to you
Business not clearly defining specs is the worst because they will always blame you and since you don't have a spec to point to, they are always 'right'
3
u/ScrewAttackThis May 31 '20 edited May 31 '20
You program 8 hours a day at work
Your point about programming for only a portion of the day is true. Like any job you have meetings, emails, coworkers that need help, etc. Most jobs are not "maintenance" jobs, though, especially in the private sector. Most software doesn't last very long and the technology used even 5 years ago might not be up to snuff for modern requirements. To put this in perspective: my company is over 10 years old now. The code base is about 2-3 years old. Core functionality has been rewritten for better performance, new features, and new business requirements.
The program matters
Again, this isn't exactly right. Data is important. As I said, we've rewritten core functionality. We still support the "old" stuff for now but we've created tools to migrate the data to the new stuff. That's the answer: a team of engineers write tools to carry over the data. This is something that'll generally be considered before something is rewritten.
We'll rewrite everything!
Again this is something that does happen. Our software doesn't scale well. We've decided on ways to fix that and it requires rewriting a lot of stuff. It's not done all at once but over time. New features are developed separately when possible. You're literally writing this on a site that was famous for a rewrite from Ruby to Python.
I'm curious if you've worked anywhere other than a university? Because in tech companies, a lot of what you write about as not being part of a programmer's life just isn't actually true.
E: I just want people reading this post to know OP's experiences are definitely not universal. From my own experience, I can say your best bet is to work for an actual tech company where the software is the product. Being in more of a support position is generally a big difference.
6
u/brainyd May 30 '20
I'm currently studying software engineering. We learn very project-based approaches and I can clearly see who of my colleagues is not able to properly communicate.
It is a pain in the ass, that most people do not understand basic UML and even though I am only in second semester, I feel like sometimes good business understanding > good technical skills.
4
May 30 '20
It doesn't matter how good the code is, if it's not what the user wanted.
And it doesn't matter how messy the code is, if it does what the user wants!
(It matters for the people who have to work on it though -- and if they're having a bad time, the product will suffer.)
2
u/Ran4 May 31 '20
UML isn't really a thing in the real world. It's just that college level information updates very slowly.
1
u/brainyd May 31 '20
Oh wow that's actually good to know. How else do two parties nowadays agree on how the software should look then?
4
2
u/CatnipxEvergreen May 30 '20
Thanks for this! It has shifted my entire view of the whole programming job as a whole. I'm a junior and I didn't quite understand what companies really want to see in a developer. This really has cleared a lot of things up for me. Saved it for future reference
2
u/TheTacoWombat May 30 '20
You may think, say, version control is important. I guarantee there's some software out there (maybe rare), that doesn't use standard version control, and it probably does something important. And the people maintaining it may not even understand what version control is and why you need it. I'm serious.A former programming co-worker of mine quit our (large ish) company to work for a company in a different industry, the finance industry. When he arrived he realized he was the only actual software engineer; the company's entire codebase (with client facing bits, including phone apps) was written by actuaries with no coding expertise or training. There's no version control, and things are routinely dropped into production without anyone knowing. He is horrified that he is a junior developer and has more expertise and knowledge than the people that have worked there for over ten years.
So.... it can always be worse. But a good article; I'm 38 and trying to bend my brain towards coding (my career thus far has been city planning degree -> retail -> substitute teaching -> logistics tech -> manual QA -> SRE), and there's so much more than just knowing Javascript or C++.
2
u/Chicaca10 May 30 '20
2 years of psych major classes, then the pivot while learning on my own and taking web classes. The Psych classes went into the elective requirement for the bachelor's. The training on my own on top of taking the college courses made the college courses seem easy.
2
u/reddilada May 31 '20
I took a load of psych courses while getting my CS degree. Was a great decision that has paid off over and over. Extracting requirements is key aspect of my job and understanding how people work has been a real asset.
1
u/alecshuttleworth May 30 '20
I'm glad I'm just here to learn a different skill, cause your job sounds just like my unaffiliated day job.
1
1
u/Star_Skies May 30 '20
You shouldn't think you're writing code for yourself, but for the next person that has to maintain it. Don't be too clever. Someone else will have to deal with your code (and it could be you, two years later).
Lol! How many of us are guilty of that!
1
u/LugteLort May 30 '20
I'm starting school, to become a programmer in a few years
thank you for this.
1
1
u/Ausare911 May 30 '20
I kind of slipped into a programming roll and started with leaning Apple Scripts and Perl at my job after using VMS for years. I agree with most you've said especially how many languages you actually need to learn and most people don't get that. In addition to the above languages i have had to learn Apache, CSS, HTML, Javascript, bash, PHP, Linux and I'm starting to learn Python (because i love it and can choose the language i use for projects).
After learning all of this and remembering half i feel as if i know nothing and couldn't get another 'real' programming job anywhere lol.
1
1
u/mindaslab May 30 '20
Dude, this is sooooo good, you must must in a blog. Reddit I think is for one to put some stuff for it to be disagreed and bashed upon by people who have got nothing else good to do in their life.
1
u/spclzd May 30 '20
I work as sysadmin in a logistic center of one of my country’s largest food chains, still minuscule in US terms. I work with our software development team quite closely, and i program myself also. It was quite shocking to hobbyist programmer such as myself, how much testing takes time before anything gets put in production. There is also a metric ton of meetings before any work gets done. The software of the logistic center is written mostly in C++/C, C#, a lot of SQL, gui with pascal/delphi, and it was developed over the span of 2 years. Now the programmers maintain and does a minor tweaks to the software, update server operating systems and such.
1
1
1
u/slmkh May 30 '20
This was so great post I saved it. I have one question, sometimes I dont know how to start a task, sometimes they say we need email attachments from exchange to check for virus before they are imported in the X system when customers send the email to let’s Jira... how to know where to start? This is difficult.
1
u/whatever_is_fine May 30 '20
agree somewhat but this sounds very middle of the line staff engineer experience. this sounds like 4 years into a mid level company. There are some things in here that hit right the nail right on the head, but most is pretty variable. I know it's an age long tradition to make your engineering job sound way worse than it is, but this job you're talking about is a job where u sit most of the day, get well paid, and other benefits. surely not an easy job, but your gripes are superficial and blown up.
1
1
u/rickdg May 30 '20 edited Jun 25 '23
-- content removed by user in protest of reddit's policy towards its moderators, long time contributors and third-party developers --
1
1
u/voraciousBeaver May 30 '20
Cheers, mate. There are a bunch of programming courses out there, and virtually none of them says those important things.
1
u/okdark May 30 '20
what about working as automation engineer
using Selenium for example do I code there more?
1
u/1maRealboy May 30 '20
You can take these ideas and apply them to basically any professional career. Everyone starts out as just a small cog in the machine. Understanding the bigger picture, and your role in it, helps everyone out.
1
u/antiquasi May 30 '20
Well, A most deserved THANKS for the amount of insight into a field I’ve aspired to become a member
1
u/geordilaforge May 30 '20
You shouldn't think you're writing code for yourself, but for the next person that has to maintain it. Don't be too clever. Someone else will have to deal with your code (and it could be you, two years later). Maybe write some comments or something.
Can I tell that to the people I worked with on my last project?
Anyway, how do you guys go about digesting a new codebase efficiently? I've run into problems with C++ codebases where I'm seeing techniques I never saw in class and design patterns that I haven't learned and it's hard to decipher what a program is doing (because of a lack of good documentation).
Do you ever just step away from a project or say let's talk about the design of this or write out the documentation or what do you guys do to be efficient with your time?
1
May 30 '20
What if you are an app developer or game developer or a researcher? Not all programmers work for a bussiness company.
1
u/savetheunstable May 30 '20
You shouldn't think you're writing code for yourself, but for the next person that has to maintain it.
Very accurate write up! I'd also say to the above, don't forget who the code is for. After almost 20 yrs in the industry, I can count on one hand how many orgs work with the end-users. It's not always some new fancy app or whatever for the public. It's often internal programs, e.g. for HR, Support teams, DevOps/SysAdmins, etc
I think Devs can't see the forest for the trees many times, especially if they are writing for older existing codebases. Working with folks that are actually going to use what you write is tremendously helpful!
1
1
u/Chicaca10 May 30 '20
No coding test. The interview was answering how I built my projects and the technologies is used. Udacity was about $700 a the time, but I learned more than I learned in my 1st year of college, so super worth jt. Udscity took about 2 or 3 months, but again, I learned a lot more than I did with my college grade classes.
1
u/Chicaca10 May 30 '20
I was aiming for a front end developer role. In the end I got a sorta content manager days entry role.
1
May 30 '20
There's many sides to the industry as well, as a primarily freelance developer my day consist of primarily writing code or adding features to past projects at clients requests. I definitely have a lot of reusable code and boilerplate code depending on the project at hand. A typical project consist of understanding the clients needs, creating a wireframe, and developing the application with very little input from others as far as coding standards, which gives a lot of freedom. There is a lot of work even after the initial project is done, I'm still supporting systems I built 5, 10 years ago in some cases. Which is nice to keep in mind when your building something new, knowing you'll likely be asked to work on the system in the future.
1
u/aqsgames May 30 '20
Been in the business as a coder:manager:director:owner for fourty years
While YMMV for many what OP says is spot on. Your training will be useless because your work will be real world
1
u/StaticChocolate May 30 '20
Hey, thanks for this. As a CS student with no idea how the industry actually works, who’s turning out to be a rather average programmer but good ish at the “rest”... you’ve given me a bit of hope.
1
u/htglinj May 30 '20
Most of my work is greenfield. I work in a niche sector, and get to automate business processes for customers. Each customer is somewhat unique as they all make different things. I don't work on fancy websites used by millions or even hundreds of thousands, but I enjoy my little playground.
1
1
u/KwyjiboTheGringo May 31 '20
Not only do I not program 8 hours a day, but the meetings really mess with my mindset and make it hard to get back into a productive state. Like I have a daily standup right in the middle of my morning. That's probably my most productive time of the day for getting stuff done, and I have to stop in the middle of it for 30-45 minutes for a meeting. Then it takes me another 30 minutes to get back into my mindset. An hour later it's lunch time and it's all downhill from there. And that doesn't even include the times when I have to stop before standup to prepare for the meeting itself because I know I'm going to have to answer questions about the tickets I will be working on later in the day.
No joke, I'm productive for maybe 2-3 hours a day. If any team leads read this, let your team have the whole morning to work on their tickets, and have your meetings in the afternoon if possible. And if your client meetings and such won't allow for that, then be straight with them. Tell them that your team needs the morning to be most efficient. Honestly this is a big issue that I don't see many people bringing up.
1
1
u/kiwiqt May 31 '20
Love your post - spot on
I’ve sat in the forums here with peeps pretending to be a dev and not really understanding what they’re talking about (which is super obvious btw) Me .... I’m a technical BA coming from an automation engineering background who loves DB work. I’ve only worked with devs on multiple platforms, different tools/languages/infrastructure and I’m still learning hard everyday. When I got into this (I’m in my mature yrs) I was told - expect to always be learning, getting things wrong is a given & only shows ignorance, being the least knowledgeable in the room IS THE BEST cause you know your going to learn some exciting stuff
1
u/carissalynp May 31 '20
Translating business logic is something I think CS programs- mine anyway, and my co-workers say the same- need to spend way more time on. Sure being able to build something to fit a very specific instruction list in an assignment is good. But it doesn't prepare you for being dropped in the real work of complicated and convoluted business logic, and changing requirements. I also agree that so much of it is about maintaining and having to interpret and change without breaking ore existing code. There should be way more of that in classes as well.
1
u/PbkacHelpDesk May 31 '20
Programmers suck at communication and suck at documentation. Don’t be a weirdo programmer. Speak up and don’t be a bitch. Tired of dealing with them. (Personal experience, I’m also and introvert)
1
1
u/adamlytics May 31 '20 edited Jun 01 '20
I’m lucky enough to be a CTO at a digital marketing company. We recently threw out all of our code and rewrote and re-architected everything. It was awesome and so worth it. We were able to redefine business processes in doing so. We aren’t tiny but we aren’t huge ($25M annual revenue). Some of us program 6+ hours a day. I love it. We are efficient and nimble and move fast. I know it is very rare to have this but I am grateful we do and I know our developers LOVE IT. If you want something like this, find a fairly young company that is not too small.
EDIT: removed an incorrect comment / assumption about tech startups
1
u/tillomaniac May 31 '20
Do you mind explaining what you mean by "and not a tech startup"?
2
u/adamlytics Jun 01 '20
I'm not sure, actually. An assumption that can be deemed uneducated or incorrect. I've modified my comment.
1
u/DevDevGoose May 31 '20
So I've worked in exactly the places you describe. I've also worked in the complete opposite (without being in a top FAANG company).
It all comes down to organisational structure. The majority of old companies that built software in-house, used a project paradigm. Design > Build > Run. You build the software once and run it until death with only minor tweaks.
The other side is a product paradigm. More common in companies selling software (SaaS especially as the pricing model matches the work structure), a product team is given autonomy to do whatever they need to do to improve the software as well as run it. This is where developers can spend 4-6h per day coding consistently.
1
u/cdlight62 May 31 '20
You often have to teach yourself newer technologies. Your senior developers aren't usually willing to be teachers and teach you from scratch.
This implies that the senior devs know newer technologies, which is not the case in my experience.
1
1
1
u/venusblue38 May 31 '20
First, I think many such people would be surprised how many people (or really, how few people) are supporting these systems
This is the craziest part. I work in automation and program PLCs, single board computers, etc. Stuff like industrial raspberry pis with special frameworks dropped in them.
Probably the largest brand for commercial, non critical automation has about 3 guys who do all of their programming. I always imagined a massive branch filled with programmers, designers, electrical engineers, all busy at work to create a system of perfectly interconnected components and modules, with custom made hardware that is perfectly tailored for reliability and performance.
Nah, it's like 3 guys. They built and support the entire system, and that's really not that uncommon of a situation. It's just so strange to realize that so few people are creating the backbone of a multi million dollar industry.
1
u/aklgupta May 31 '20
Hey, stopping giving away our secrets. [At least some] People think our job is cool!
lol.. Well, that's a very honest "article". Though I can say that not everything is true for everyone, but I won't. It what's true for most of the programmers I know.
1
1
u/DeepKaizen May 31 '20
That was a great read.
I worried about my development since i apply programming in a way that seems all over the place but ultimately provides value for my company. I worried that this lack of "the right path or structure" would make me lacklustre programming wise
1
u/CoolRelaxx Jun 02 '20
Yeah this is super helpful. Another career switcher here, good to know that my experience with operations and policy will be helpful. I really like using python.
1
1
0
0
0
0
May 30 '20
I've gotta heavily disagree with quite a bit of your post. I started my first job as a programmer just short of a year ago, about a month after getting an associate's degree for web development, so I have actual experience of what its like to be a beginner programmer nowadays.
I definitely do program nearly 8 hours a day, with the exception of a 5-10 minute team scrum 4 days a week and an hour or less long user story refinement meeting the 5th day.
As for the part about knowing the business and knowing enough about "computer science", its a bit different. "Computer Science" nowadays is not really important for beginner programmers. Knowing the basics of programming that are pretty much the same across most languages, such as possible variable types and scopes, if-else blocks, and loops, is what matters. If you have a good understanding of all that and how they can vary from language to language, then you can fairly easily learn whatever language your new job is using and program what they want without any understanding of the business itself. However that isn't to say knowing the business isn't important, just that its unnecessary for a beginner programmer. Learning the business is something a programmer should do as time goes on so that they can contribute new ideas for the software, which is what really allows them to succeed in the company. To put it more simply, you only need to be good with basic programming to do well as a beginner programmer. But in order to move on from that to the lead developer of a new feature or program, you will need to know the business somewhat.
Now as for the divide between maintenance, enhancements to existing parts of the software, and implementing brand new features, for me its been a pretty even split. Now this could very well vary between jobs and companies, but based on what I've seen within my own company as well as what I've observed from others, having an even split is what should be happening. Maintenance is essential to keeping any piece of software reliable. But adding new features that are helpful to the clients using the software and enhancing both new and existing parts of the software is what really keeps you ahead of your competitors. I mean who cares if your competitor is half the price if they don't have the features your customers find the most useful. At my company its actually to the point where we have a team specifically for creating custom enhancements that our biggest customers are asking for to make their lives easier, which we then later take the best ones, clean them up, and release them for others to use. Basically if your customers or clients or business isn't asking for new features, then there is a breakdown in communications somewhere that needs to be addressed. I mean we all know there is always someone who is gonna not be happy with how hard it is to do something or how you don't support some format who is gonna complain to support. And every once in a while you should find they are right and/or realize other people have made the same complaint, which is how you both create new work for yourself and keep customers with your software. And this is from actual experience as we have stuff like this happen at least once a month on average, and that's just with the team I'm on, let alone all the others.
Teaching myself newer technologies has not really come up yet but teaching myself older technologies does a lot. Every couple weeks I will come across a piece of code that either writes to a format I haven't really learned yet but that I have known of forever or uses an older language/file type that I hadn't seen yet cause the company keeps it around but doesn't use it much anymore.
Finally the last thing I disagree on is communication skills. Everyone in my office pretty much agrees they are introverts, but despite that we still either talk or message each other frequently with questions about pieces of code we are having problems with, don't understand, or don't know the company standard for. Basically even if you are a shy person you need to be able to ask your coworkers questions about the software because there is no way as a beginner programmer that you can know everything about the software your coding. Heck even the top programmer at the company can't know it all once the software and the company itself reaches a certain size. So don't be embarrassed to ask questions when everyone has to ask questions.
0
u/sarevok9 May 30 '20
A few points:
"batch style" programming system. That is, the system shuts down overnight, does a bunch of data processing, and opens again in the morning. They wonder why the system can't be Facebook or Google or YouTube, and be up 24 hours a day.
This is tech debt -- fixing something like this would take less than a week for a team of experienced, motivated programmers. If your hardware is so outdated that it requires HOURS to batch process, then that's a whole different issue. This problem can be solved by using async processing, multithreading, or simply offloading "work" to a "work machine" that writes to the database when the database frees up. Even if your school is ~50,000 people the amount of DB i/o / sec should rarely be the bottleneck. Furthermore, if you're writing things that handle this stuff in bulk, you could easily write a daemon to watch for changes to the folder where these files are being written to and onchange, move file, run shell script on file to call workers.
Or shit, if you want something even LIGHTER, crontab -e */5 * * * * /usr/home/script.sh
but sometimes it's less than half a dozen people
The size of a team really only matters when things are so transactional that you need a TON of people to handle all the stuff that's happening. There's generally a tipping point where adding people doesn't result in a measurable change in code quality and delivery speed. It actually leads to insane merge conflicts and communication breakdowns between product delegating the work out and the engineers doing it.
Most software out there isn't, as they say, rocket science I mean, there's a LOT of garbage in codebases in businesses big and small -- but if what you're insinuating is that the bar is set lower than people think; I don't believe that to be true. The company I work at deals in ad-tech, which sounds really easy; from the outside -- "You just put ads on websites right?" Sorta? Websites, ctv's, OTT, Linear TV, and the bidding process takes place in real time, so when there's an ad-slot on weather.com an auction takes place SOMEWHERE in the world, and you have 250ms to check and see: Do you have someone who wants to buy for that domain? Does that person have an ad that size? Does the ad meet the size / bitrate requirements? Does that campaign have budget for that day? Does the person getting served the ad meet the requirements for targeting (and about 6-8 dozen more criteria but I'll spare you the boring read); and then we bid. If we win the bid, we get a reply saying we won the auction and to serve our shit. We send along the "creative" (ad), which gets served (hopefully) on the client computer. This whole process takes 250ms. So what does that mean? Ridiculous DB reads / writes, big data (we do BILLIONS -> TRILLIONS of these a day), CDN, data integrity, security, encoding, etc. etc. etc. -- Just because it seems like a few jobs are simple, it doesn't mean that they all are. From the outside ad-tech seemed like a no-brainer to me, now that I'm in it, it's HILARIOUSLY complicated the shit you have to do in order to show 1 person an ad.
I often point out the scene in the third Matrix movie where the councilman is talking to Neo about how these machines support their underground city, yet no one quite knows who built it or how it works. That's a lot of software out there.
Generally speaking places aren't THIS bad -- the exceptions (in my experience) are: Banks, Large healthcare systems, Government systems. Places that are SO MIRED IN PROCESS that they never fix something until it's utterly fucking broken.
Writing from scratch is not such a common experience (at least, from my perspective), and even when you do, it's not always as organized as it could be. We may call it software engineering, but most engineering involves others looking at your work, and having input into fix it. Code reviews aren't the same thing as people inspecting a building and seeing it every day.
It sounds like you do mostly bugfixing? Feature development is not like this in my experience (10 years). The structure goes through an architectural review and if there's major deviations from it, the seniors and architects of a project meet to discuss the best path forward.
The thing I will agree with you on about code -- most of it lacks comments and just "diving in" is often far more difficult than people think. The readability of code -- especially in the Javascript era, is just abysmal.
0
404
u/JockeyFullaBourbon May 30 '20
I'm old (40s) & doing a career pivot. This gives me a lot of hope + direction for what to think about as I learn.