Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Laziness (Score 1) 150

You don't have to understand everything, but you do need to at least understand the basics, like how networking works, how crypto works, etc. at a conceptual level. I feel like too many developers learn how to program by learning JavaScript and other scripting languages on their own, then jump into app programming thinking that it's only one step harder because you can sort of do it in Python/Ruby/other Obj-C bridged languages/other .NET languages, or because Swift looks like JavaScript, or whatever their logic might be. Unfortunately, it's not one step harder if you care about doing it right; it's a hundred steps harder, but the apparent accessibility of app programming tries to hide that fact, resulting in a lot of people getting in way over their heads.

Too many developers then balk when we tell them that they need to read conceptual books, insisting that they just want to learn how to solve their particular problem. The result is that they understand just enough of what they're doing to be dangerous. It's like deciding to build a house and telling someone, "I just want to know how to cut a board and hammer in a nail." You're likely to get a very strange looking house with no right angles. You really need to start with higher-level design and philosophy texts, then work your way down to the practical texts. That's equally true in programming, but the short-attention-span instant-gratification crowd just doesn't get that.

And I understand the desire to just learn how to solve the problem. I've been there, and I've done that, but only in areas where I was reasonably comfortable. Even then, I've often later discovered that snippets that looked right weren't quite right in certain edge cases, but at least this happens fairly infrequently, because I've taken the time to learn what I'm doing. Developers who don't do this aren't just hurting themselves; they're hurting their users. There's just no reason for that.

Comment Re:Laziness (Score 5, Informative) 150

Code recycling is one thing, but not understanding what that code does when you put it into a production app or not following best practices is another. As Android gains popularity as a platform to develop for, we're going to lose quality as the new folks jumping onto the band wagon don't care how their apps work or look beyond the end goal. This mentality is already popping up with Android Wear developers who cram as much information as they can on the screen and claim that design guidelines are "just recommendations."

The exact same thing happens on every other platform, though perhaps to varying degrees. I refer to it as the Stack Overflow effect. One developer who doesn't know the right way to do something posts a question. Then, a developer who also doesn't know the right way to do it posts how he or she did it. Then ten thousand developers who don't know the right way to do it copy the code without understanding what it does or why it's the wrong way to do it. By the time somebody notices it, signs up for the site, builds up enough reputation points to point out the serious flaw in the code, and actually gets a correction, those developers have moved on, and the bad code is in shipping apps. Those developers, of course, think that they've found the answer, so there's no reason for them to ever revisit the page in question, thus ensuring that the flaw never gets fixed.

Case in point, there's a scary big number of posts from people telling developers how to turn off SSL chain validation so that they can use self-signed certs, and a scary small number of posts reminding developers that they'd better not even think about shipping it without removing that code, and bordering on zero posts explaining how to replace the SSL chain validation with a proper check so that their app will actually be moderately secure with that self-signed cert even if it does ship. The result is that those ten thousand developers end up (statistically) finding the wrong way far more often than the right way.

Of course, it's not entirely fair to blame this problem solely on sites like Stack Overflow for limiting people's ability to comment on other people's answers unless they have a certain amount of reputation (a policy that is, IMO, dangerous as h***), and for treating everybody's upvotes and downvotes equally regardless of the reputation of the voter. A fair amount of blame has to be placed on the companies that create the technology itself. As I told one of my former coworkers, "The advantage of making it easier to write software is that more people write software. The disadvantage of making it easier to write software is that... more people write software." Ease of programming is a two-edged sword, and particularly when you're forced to run other people's software without any sort of actual code review, you'd like it to have been as hard as possible for the developer to write that software, to ensure that only people with a certain level of competence will even make the attempt—sort of a "You must be this tall to ride the ride" bar.

To put it another way, complying with or not complying with design guidelines are the least of app developers' problems. I'd be happy if all the developers just learned not to point the gun at other people's feet and pull the trigger without at least making sure it's not loaded, but for some reason, everybody seems to be hell-bent on removing the safeties that would confuse them in their attempts to do so. Some degree of opaqueness and some lack of documentation have historically been safety checks against complete idiots writing software. Yes, I'm wearing my UNIX curmudgeon hat when I say that, but you have to admit that the easier programming has become, the lower the average quality of code has seemed to be. I know correlation is not causation, but the only plausible alternative is that everyone is trying to make programming easier because the average developer is getting dumber and can't handle the hard stuff, which while possible, is even more cynical than the original assertion and makes me weep for the future.

Either way, there's something really, really wrong at a fundamental level with the way we search for solutions to coding problems. There needs to be an easy way to annotate the fact that a code snippet was derived from a particular forum post, and to automatically receive email notifications (or bug reports) whenever someone flags the snippet on the original forum as being wrong or dangerous. And we as developers need to take the time to learn enough about the OS and the programming environment to ensure that we at least mostly understand what a piece of code does before we ship it in a product.

Comment Re:Heck, we probably already fund them (Score 1) 125

Really? You're posting actual propaganda and expect people to believe it. I really like that "israeli snipers killing a wounded one" probably my favorite, especially since there's a whole pile of pictures on that one(use google) showing how they staged it.

Not staged. Witnessed. No google. No results for my search. Like everything from a Zionist/Fascist: LIES. Straight out of the Frank Luntz playbook. Best liar's manual since Netanyahoo had Goebbels translated from the original German.

Comment Re: Heck, we probably already fund them (Score 1) 125

Really! What about Hamas hiding within hospitals, mosques, etc? Hate to break it to you but those are war crimes. Open your eyes, ratchet back your hate and get a clue!

BBC Mid-East Expert Jeremy Bowen's Gaza notebook: I saw no evidence of Hamas using Palestinians as human shields.

Comment Re:Heck, we probably already fund them (Score 1) 125

Except IDF CLAIM THEY DID THIS!

You may remember, IDF have a HISTORY of firing on UN installations, for which they have been given exact coordinates. They use them to TARGET, not to protect.

Remember, International law DOES NOT enshrine right to protection of occupiers! In fact, the post-Nuremberg laws hold the occupier accountable for PROTECTION OF THE OCCUPIED.

Comment Re:Heck, we probably already fund them (Score 3, Interesting) 125

Over a decade ago, Yonatan Shapira, then an Israeli air force pilot, bravely confronted his top commander, Lt. General Dan Halutz, over what were euphemistically called “targeted assassinations.” Israeli warplanes regularly fired missiles at Hamas leaders in Gaza, also killing innocent civilians, some of them children.

Shapira asked General Halutz, What if a Hamas leader were located in Tel Aviv? Would you order our pilots to fire there, risking Israeli bystanders? Halutz said no.

So you value Israelis over Palestinians, Yonatan responded. Get someone else to fly your aircraft.

Comment Re:Heck, we probably already fund them (Score 2) 125

"Standing with Israel" will soon be understood to be no different than "riding with the KKK"

Can you explain why an Arab boy will get murdered if he walks down the street, holding hands with a Jewish girl?

Can you explain why dissident/tolerant Israelis are afraid to post facebook profiles, because black-shirted gangs will hunt down their street address and beat them into a pulp?

Can you explain why African refugees live in fear for their lives?

Why do Israeli snipers kill already wounded civilians and the RESCUE FIRST RESPONDERS?

Tweet (JLLLOW):
 

Equal civil rights? Israel has NO WRITTEN CONSTITUTION.

Your "democracy" claim is Israeli whitewashing, a baldfaced lie that embraces rhetoric of inclusion, to mask discrimination, prejudice and exploitation. Palestinians make up about 20 percent of Israel's population, while less than 7 percent of the budget is allocated to Palestinian citizens. The 1.5 million Arab citizens of Israel are de facto second-class citizens while four million more are not citizens at all. A Jew from any country can move to Israel - and is granted near immediate citizenship upon entry - but a Palestinian refugee, with a valid claim to property in Israel, cannot even visit. The laws for "right of return" and the "Jewish National Fund", which enshrines formal policy and subsidy for land ownership, are inherently anti-democratic.

In fact, there was another government and nation that behaved this way, socially, politically and militarily - but the world put a stop to that in 1945.

Comment Re:Heck, we probably already fund them (Score 1) 125

Bullshit.

Israeli propaganda. The peoples of Palestine have been there since Biblical times. They were once mostly Jewish, and with the history of the region, gradually Christian then predominantly Muslim.

There is no linguistic, archeological or genetic basis for the folkloric idea that Jews formed a mass exodus and diaspora, after the time of Herod. None.

Comment Re:Heck, we probably already fund them (Score 1) 125

"Why have they killed only a few hundred children, instead of all of them?"

There's a strong moral defense for the Israeli practice of driving a population out of their homes, into a confined reservation, then carpeting the enclosed with illegal munitions as collective punishment.

Slashdot Top Deals

Our business in life is not to succeed but to continue to fail in high spirits. -- Robert Louis Stevenson

Working...