News for hackers. Stuff that matters.
Re:Software Engineers Will Work One Day For English Majors by tgflynn on Monday April 23, 2012 @09:31AM (#3878660)
Maybe this is why so much software these days looks like it was written by unsupervised youngsters.

I just wasted a day trying to get ListView's to work in Android only to find out that, well, they don't work, so you need to use something else. Then it took me a couple of hours to essentially duplicate the ListView functionality, except a working version.

The thing is developing a GUI framework isn't rocket science, its been done before and there are plenty of examples of reasonably well designed frameworks out there, Swing and Qt to name a couple.

Software is complex so it takes a while (years at least, probably decades) for a human brain to gain real perspective on what's important and what isn't in software development. A culture like the one we're living in that throws away those brains dooms itself to decline.

Re:Software Engineers Will Work One Day For English Majors by billjings on Monday April 23, 2012 @01:11PM (#3879844)
What were you trying to do, exactly? I won't jump up on the barricades to defend the honor of the Android SDK, but ListView is a tool in my belt that I use to get real work done. It's certainly not perfect, but sometimes I miss it when I'm working with UITableView over in iOS land. Cursor management is pretty gross, but ListView itself is usually fine.

I have worked with some genius older developers. If I could point to a flaw in myself as I've grown older, though, it is that I fail to integrate and use working code in the larger ecosystem as quickly as my younger colleagues. More often than not, that shows up as blaming the tool or library because I failed to understand how it works, then falling back on something I already know well. Even if that means rewriting something unnecessarily.

Finally, look - as imperfect as software continues to be, you can't tell me that there weren't awful libraries in common usage ten or fifteen years ago. That doesn't pass the laugh test. You may only remember the good ones, but that's the luxury of memory.

Re:Software Engineers Will Work One Day For English Majors by tgflynn on Monday April 23, 2012 @02:16PM (#3880178)
I was trying to use EditText's in ListView items.

The focus handling is completely broken, but nothing in the Android documentation suggested there was anything wrong with trying to do this. It was only after Googling through many posts that I came to the conclusion that ListView's aren't useful for editable fields.

Of course there may be some magic sequence of API calls that will make the focus handling work but it turns out that using LinearLayout's is much easier.

Of course poor API's have always existed but I am distinctly unimpressed with the quality of Android's UI framework compared to others I have used and I find that very disturbing for such a high-profile and important project.

Re:Software Engineers Will Work One Day For English Majors by PhrosTT on Monday April 23, 2012 @10:30AM (#3878953)
You will be hopeless without watching this:

http://www.google.com/events/io/2010/sessions/world-of-listv...

Re:Software Engineers Will Work One Day For English Majors by Radzell on Monday April 23, 2012 @09:41AM (#3878712)
It's not the youngster who are jobless is the older software engineers who never learned to learn new concepts. The older programmer to so much time to learn everything from algorithms , to cryptography, and things that are analytical they forget about learning new technologies. Yoru comment shows why older people have difficult getting jobs. It took you a day to understand how a listview work while a good young programmer who understand technologies should be able to pick up any technology and understand it in a few weeks.
Re:Software Engineers Will Work One Day For English Majors by Hoff on Monday April 23, 2012 @09:55AM (#3878785)
The parent was commenting on a broken framework, something that should be an anathema in any shipping product, and around spending (wasting) time determining that the API itself was faulty. Replacing the faulty API call took two hours.

But to follow onto to your point, it's also the case that the younger programmers can need a decade or more to make enough mistakes; to variously learn what the older programmers already know about various fundamentals of the programming and product-creation business.

And to extend your point, it's been my experience that having a team of younger programmers is just as big a headache and as big a mistake as having a team comprised entirely of older programmers. A mix works better, as the younger folks teach the older folks and they bring knowledge of new technologies and volumes of enthusiasm, and the older folks can teach the younger programmers about temperance, testing, productization and business in general.

Re:Software Engineers Will Work One Day For English Majors by sausagefeet on Monday April 23, 2012 @09:45AM (#3878732)
I think newer programmer's just work for less. There really isn't that much new under the sun in software engineering.
Re:Software Engineers Will Work One Day For English Majors by jwoah12 on Monday April 23, 2012 @09:51AM (#3878766)
Really? And here I was thinking that my discipline was one of the most rapidly evolving on the planet...
Re:Software Engineers Will Work One Day For English Majors by Retric on Monday April 23, 2012 @10:04AM (#3878824)
Not so much, mostly people keep reinventing the wheel over and over again.

Consider, there is vary little that separates handheld Apps from desktop applications. Sure, if you come from the Web side of things it seems new and nifty but they are just stand alone applications. Capacitive sensing touch screens where where new in 1965, but wait it's 2012. http://www.billbuxton.com/multitouchOverview.html

People worry about what happens when desktop CPU's have hundreds of cores, but the super computer world is already dealing with hundreds of thousands of cores etc.

PS: I think this relates to the hacker mentality. If you find a problem you look for a solution rater than see how other people solved the same problem 30 years ago.

Re:Software Engineers Will Work One Day For English Majors by gaius on Monday April 23, 2012 @10:19AM (#3878903)
Since the 70s, most apps have comprised "forms" (screens for a user to enter something, that will be stored in a database) and "reports" (screen that nicely format the contents of a database). This is all Facebook et al really are...
Re:Software Engineers Will Work One Day For English Majors by 16s on Monday April 23, 2012 @10:11AM (#3878867)
A loop is a loop. Math doesn't change much either. Nor does the concept of space and time, etc. It seems new and different to young people, but underneath, it's mostly the same as it was 40 years ago.
Re:Software Engineers Will Work One Day For English Majors by pnathan on Monday April 23, 2012 @01:29PM (#3879941)
Nah, go read some of the academic papers from the 70s. We haven't moved very far in software. The hardware shininess obscures that though.
Re:Software Engineers Will Work One Day For English Majors by dmpk2k on Monday April 23, 2012 @10:07AM (#3878844)
This betrays a stark lack of perspective. What's old is often new again, in different guises.
Re:Software Engineers Will Work One Day For English Majors by tgflynn on Monday April 23, 2012 @09:52AM (#3878772)
Try reading what I actually wrote instead of what your preconceptions and prejudices are telling you.

It took my a day to find out that ListView's do not work.

Re:Software Engineers Will Work One Day For English Majors by rasur on Monday April 23, 2012 @09:52AM (#3878774)
So, you're not an English major then?
Re:Software Engineers Will Work One Day For English Majors by nirvana on Monday April 23, 2012 @09:46AM (#3878740)
> Yoru comment shows why older people have difficult getting jobs.

You make several assumptions about him that don't seem supported, but worse why make this personal?

> It took you a day to understand how a listview work while a good young programmer who understand technologies should be able to pick up any technology and understand it in a few weeks.

So, older people don't get jobs because it takes them a day to pick up what a young programmer can understand in a "few weeks"? Really?

Re:Software Engineers Will Work One Day For English Majors by jiggy2011 on Monday April 23, 2012 @10:42AM (#3879023)
I think he meant it only takes them a "few weeks" to understand a whole technology (e.g the entire Android API rather than the listview).

I think part of the reason you can feel like you are learning faster when you are younger is because you look at everything enthusiastically and hammer through your education seeking out the juicy good bits of a technology and kind of glossing over everything else.

As I get older I find myself evaluating things much more slowly and cynically, checking under every rock for things that can bite me in the ass.