News for hackers. Stuff that matters.
Re:"Calling oneself a C Programmer is like saying you're a H... by donaq on Monday October 25, 2010 @09:06AM (#1829612)
Well, not HTML, but I would maintain that any programmer who hasn't dealt with databases is either a newbie or a bad programmer. Any web programmer who can't write straight HTML is most definitely a bad one.
Re:"Calling oneself a C Programmer is like saying you're a H... by RiderOfGiraffes on Monday October 25, 2010 @09:10AM (#1829622)
OK, so I'm either a newbie or a bad programmer. I've been programming since 1978, so I guess I'm a bad programmer.

Hmm. I write safety-critical software for embedded processes and distributed systems. Perhaps I should be concerned at your judgement.

Re:"Calling oneself a C Programmer is like saying you're a H... by donaq on Monday October 25, 2010 @09:27AM (#1829680)
I think you have misread me. And while my knee-jerk reaction was to meet snark with snark, I shall resist the temptation. If none of your software has ever read from or written to a source of persistent data, I think you should be concerned. :)
Re:"Calling oneself a C Programmer is like saying you're a H... by RiderOfGiraffes on Monday October 25, 2010 @09:44AM (#1829734)
My comment wasn't intended to be snarky, but when someone questions my credentials, albeit inadvertantly and through ignorance, I find it a little hard to be entirely objective.

I do read and write persistent data stores, I've just never had to use SQL or a relational database. I've just gone and looked it up. I do know the concepts of inner, outer, left and right joins, and I use similar constructions every day.

But this is counter-productive. I've made my point that there are areas of programming that don't use SQL or relational-databases or web technologies. Making sweeping statements about the competence of programmers based on their knowledge of technologies they don't use is blinkered.

Yes, programmers who work in web development most likely should know about databases and HTML. If they don't, then they are most likely either inexperienced or limited in their capabilities. It may yet be that the code they write is clear, clean, well-designed and bug-free, but databases and HTML are strongly correlated with productivity in this field.

Re:"Calling oneself a C Programmer is like saying you're a H... by donaq on Monday October 25, 2010 @10:08AM (#1829825)
My comment wasn't intended to be snarky, but when someone questions my credentials, albeit inadvertantly and through ignorance, I find it a little hard to be entirely objective.

Huh. Well, you've been programming for longer than I've been alive, so you're almost certainly a better programmer than I am.

Re:"Calling oneself a C Programmer is like saying you're a H... by RiderOfGiraffes on Monday October 25, 2010 @10:15AM (#1829855)
I suspect that largely we've been talking (arguing?) past each other. My point was/is that there are areas of programming that really, really don't need SQL or relational databases, and don't touch web interfaces. I've just been talking with a friend who does financial simulations as well, and he's heard of joins, but never used them. He's also never written HTML, but has got a clue about it.

There are also many programmers out there who claim 30 years of experiences, but who actually have 1 year of experience 30 times over.

At its heart I think we'd all agree that narrow definitions and narrow judgements don't do anyone much good. There are more programmers than just web programmers, or embedded programmers, or kernel programmers, or simulation programmers, etc.

We should all do each other the courtesy of recognising each others' skills and knowledge.

Re:"Calling oneself a C Programmer is like saying you're a H... by donaq on Monday October 25, 2010 @10:42AM (#1829979)
We have definitely been talking past each other. Mostly because we understand the term "database" differently (see my other reply to you). I am actually mostly in agreement with you, since I don't do that much web development these days either. And narrow judgements may not do anyone good, but I think precise definitions would have helped us in this case. :)
Re:"Calling oneself a C Programmer is like saying you're a H... by hugh3 on Monday October 25, 2010 @12:10PM (#1830352)
I've never done "database" stuff either, but I've "read from persistent data sources" (Fortran formatted read ftw). But if I tried to claim this counted as "database experience" on a job application I don't think many people would agree.
Re:"Calling oneself a C Programmer is like saying you're a H... by kranner on Monday October 25, 2010 @09:38AM (#1829719)
Plain old files are perfectly valid sources and sinks for persistent data, if you don't need all the other features of a database.
Re:"Calling oneself a C Programmer is like saying you're a H... by philipkimmey on Monday October 25, 2010 @10:18AM (#1829867)
I interned this summer in a genetics lab, and was shocked the extent to which this is the case. Both the input and output files are absurdly huge, so I'm not sure anything else would've been viable, but still, at least as a student it always seemed like there should be "some other way."

After a week or two of getting to know the system, for clarification I asked: "You mean this entire sophisticated system is just some Perl, with a database that keeps track of the flat files?"

Re:"Calling oneself a C Programmer is like saying you're a H... by protomyth on Monday October 25, 2010 @10:54AM (#1830032)
A lot of companies still do all the processing on text files as a nightly run (particularly those companies getting once a day data files (e.g. credit card rewards processors)). Some put it in an actual database, but you can really churn through text files faster than a lot of relational databases can do their queries.

The most interesting example I saw of this was a company that had an automated process to add a header with time/date/source and check it into code control (subversion I think). The nightly batch job checked what it needed out and did all the processing including generating some control spreadsheets.

Re:"Calling oneself a C Programmer is like saying you're a H... by ig1 on Monday October 25, 2010 @09:13AM (#1829632)
Plenty of developers work on embedded systems, libraries, GUIs, adapters, etc. that never need to touch a database. Not to mention many developers may work on applications where data is provide by middleware layers or data services rather than databases directly.

I think you're letting your experience of development cloud your view over what software development involves.

Re:"Calling oneself a C Programmer is like saying you're a H... by donaq on Monday October 25, 2010 @09:21AM (#1829659)
I think you're letting your experience of development cloud your view of what a database is. Almost every program imaginable requires one.
Re:"Calling oneself a C Programmer is like saying you're a H... by protomyth on Monday October 25, 2010 @09:36AM (#1829711)
No, most embedded programmers will never deal with any form of database unless you stretch the definition of database so far as to include lookup tables. I am pretty sure arrays are not databases.
Re:"Calling oneself a C Programmer is like saying you're a H... by donaq on Monday October 25, 2010 @09:44AM (#1829736)
I don't need to stretch the definition for that to be included, since the definition of a database is an organised collection of data. Ephemeral or transient data is still data.
Re:"Calling oneself a C Programmer is like saying you're a H... by kranner on Monday October 25, 2010 @09:51AM (#1829757)
By that definition a JPEG file is a database.
Re:"Calling oneself a C Programmer is like saying you're a H... by RiderOfGiraffes on Monday October 25, 2010 @09:52AM (#1829758)
But, for example, a dictionary in python, while containing data, is not usually referred to as "A Database". It doesn't have inner-join, outer-join, left or right join, select, etc. It's data, it's not what most people would call a database.
Re:"Calling oneself a C Programmer is like saying you're a H... by nocman on Monday October 25, 2010 @12:29PM (#1830450)
Ugh. Having horrible flashbacks here. :-D

I once worked for a company that had a version control system where they checked in all the data by project. You could go in an see the history of a project by reviewing the documents (emails, spreadsheets, CSV files, etc) or binary data files that were associated with the project. At the time for checking something in, you were asked to classify the data being checked in. You had options like "Document", "Text file", "Spreadsheet", and one of the options was "Database". Much to the dismay of the programmers who had to deal with the data, users insisted on checking in spreadsheets and CSV files and classifying them as "Database". No form of rational discussion would persuade the users to classify the documents correctly (like I said, there were classifications that covered Spreadsheet/CSV directly). In their mind, a spreadsheet was a database, and it was just stupid that the programmers insisted that it was not. In the end, the programmers just gave up trying to persuade them, and we just grumbled to ourselves every time we came across it.

Re:"Calling oneself a C Programmer is like saying you're a H... by NickPollard on Monday October 25, 2010 @10:33AM (#1829929)
Whilst I would mostly agree with that, the general modern definition of database has grown out of the common form of the popular varieties.

I don't think that something has to have inner-join, select, etc. to be a database, it's just that the most common do. Similarly I don't think something has to have 4 wheels, an internal combustion engine and a sunroof to be car - it's just that most of them do.

Re:"Calling oneself a C Programmer is like saying you're a H... by donaq on Monday October 25, 2010 @10:28AM (#1829907)
It seems this has degraded into an argument about semantics. When I learned the term in school, it was not synonymous with RDBMSes. When I was trying to learn lisp from the book Practical Common Lisp, there was a chapter containing an example where one went about building a database that resided in memory for the duration of the program's run. At my current job, the app I am writing processes a collection of csv files which my colleagues and I refer to as a database. I don't think the term "database" should be conflated with "database management system", much less a "relational database management system". I mean, nowadays there are so many different types of databases out there other than those (loosely) based on relational algebra.
Re:"Calling oneself a C Programmer is like saying you're a H... by RiderOfGiraffes on Monday October 25, 2010 @10:37AM (#1829944)
The comment that started this discussion was here:

http://news.ycombinator.com/item?id=1829481

in which it was said:

    > Yes, there are people out there who ... have never
    > heard of an inner join. We call them bad programmers.
You said:

    > ... the definition of a database is an organised
    > collection of data. Ephemeral or transient data is
    > still data.
That's not the point. Your sense of "a database" being "an organised collection of data" is actually more commonly (in my experience) referred to as "a data structure." Usually it's not "a database" until it gets some sort of query language or manipulation primitives.

Yes, people refer to a collection of data as "a database," but I return to my original objection to the original comment requiring that not being a bad programmer requires that you know about inner-joins.

As I said earlier, we have, to some extent, been talking past each other.

Re:"Calling oneself a C Programmer is like saying you're a H... by metageek on Monday October 25, 2010 @10:27AM (#1829901)
No, that's a data structure.
Re:"Calling oneself a C Programmer is like saying you're a H... by mfukar on Monday October 25, 2010 @09:41AM (#1829725)
Files are not databases.
Re:"Calling oneself a C Programmer is like saying you're a H... by wnoise on Monday October 25, 2010 @11:18AM (#1830149)
Is the file-system?
Re:"Calling oneself a C Programmer is like saying you're a H... by mfukar on Monday October 25, 2010 @12:19PM (#1830399)
I wouldn't say so. In my eyes, databases (or a DBMS, if you will) are sufficiently more complex and incorporate sufficiently more and/or different functionality for me to separate them from a filesystem.
Re:"Calling oneself a C Programmer is like saying you're a H... by gte910h on Monday October 25, 2010 @11:07AM (#1830112)
There are loads of applications which have no need for databases. There are loads of application DOMAINS where you never THINK of using databases. Lots of embedded stuff, especially. Drivers. OS work. Any of those, you can easily carve out a career without a single database write.