Isn't that essentially what most programs boil down to? UIs for database interaction? You have your games and such but then you have those on the web too.
Amen. I was reading this thread and thinking, "What world are these people living in?" Obviously they have a very skewed view of computers and programming. It's sort of like seeing a bag and claiming it can only be used to hold groceries.
It's because there's so damn many web programmers because the vast majority of paid positions are for web apps.
If you haven't spent your university time specializing in something better paid and slightly esoteric (like embedded) you're invariably going to land either in Java middleware for enterprise or web apps.
Seriously, I mostly work on hardware interfacing. I don't code anything that directly touches either UIs or databases until the data gets a couple steps farther down the line.
Yeah, none of us work in robotics, data viz, simulation, augmented reality, computer vision, OS development, cryptography, signal processing, drivers, network protocols, compilers...
Note that I am voluntarily taking out anything that uses databases but where UI interaction is not the main focus : medical imaging, data-mining, satellite vision, search engines, genetic information management...
I agree that a lot of the people on my lawn on /r/programming and a lot of programming forums equate web development with development, but really, keep in mind that there is much more to programming.
User intent drives frontend design. Frontend design drives backend design. Backend design affects frontend design. Frontend design affects how the users think about the topic, and thus affects user intent.
It's all one large cycle, no matter where you start. I've always figured the goal was to start somewhere ("top" or "bottom" or wherever), make general design pass all the way around, bringing in external requirements as appropriate at each point (what the user wants, what the ui layer can do, what your database can do). Then keep going, until you reach a steady state where all parts generally fit together properly.
The debate isn't top down vs bottom up. If you develop code that you can test, it doesn't matter if you start at the bottom or top. In either case, you can mock the code out to make sure that each component works correctly. If you don't write testable code, you have to rely on setting up your environment before testing anything. This means the only way to test is by stepping through your code.
Writing code with tests gives you decoupled code and the ability to refactor the code later with confidence that it works correctly after the change. Writing the database layer first then building on top of that layer gives you coupled code. When a change is made, there could be a bunch of unintended side effects that can only be found by trial and error.
Writing UI around data structures is not always a good idea, because people often do not understand them. I.e. when you normalize well and make an 1:N connection in a new table, people often do not understand why it is needed, so you denormalize in the UI so that every record can look like having Contact Person 1, 2, 3 instead of a list which they don't understand.
Most programs? What about those programs for doing actual computation? Whether it be numerical or symbolic computation? That's where the real fun actually lies in programming.
I like to think of them as curated veneers. If people really wanted a database, you would just give them a SQL prompt. But what they really wanted is a guided tour, and yes most of the operations resemble CRUD. But a good UI is one that doesn't make the CRUDing so obvious.
122
u/Kminardo Mar 11 '13
Isn't that essentially what most programs boil down to? UIs for database interaction? You have your games and such but then you have those on the web too.