- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
(sorry about my english) When I tell people I meet I make software, they allways end asking me what kind of computers I sell.
Admin
Sounds like your sister did not marry him for his intelligence.
Admin
C:>do taxes
Admin
It's funny, yes, but it'd be a hair funnier if Inform 7 didn't exist. (Yes, the language exists. Yes, people use it. Yes, they think it's fantastic. Not my thing, but, well, a thing. And not even a "This is a programming language for people scared by semicolons" language; it's a language based on a relational calculus that is easier to express in english-like phrases than in stuff that looks like code.)
Admin
Oh. My. God. THANK YOU. I laughed so much at this I was "breath laughing" (you know, when you run out of air but you're still laughing?). I'm still grinning. Oh, gosh. What a wonderful laugh. I feel so much happier than I did before reading this.
Admin
My partner thinks all I do is push "buttons" ugh!
Admin
That brings back memories. My friend's cousin once cornered me at a party and asked me to write down everything I knew about Lisp. I wish he'd asked about COBOL, I know piss-all about COBOL.
Admin
that's not even ambition... if he had ambition he would have tried at least to get a book and read it. for example, he wouldn't have skipped to the back of the java book.
Admin
See; this illustrates why programming is not as easy as some might like it to be:
Even in that code there's a bug: shouldn't the players put their uniforms on before the game starts?
Admin
Besides, the CodeSODs would be a lot less funny if nobody understood the variable and function names. bool_да_нет_неизвестно just doesn't have the same ring to it.
Admin
They don't have pants on, either.
Admin
mmmmm, lovely bit that. my personal favorite starts out with: "you know computers, right?", when all they really know is i work for a high tech company (managing linux engineers). the first sound out my mouth is alway "well, yessssssssssssssssss". -nn
Admin
It's even worse when they've called the PC Helpline and they start with that question
Admin
All of the 20+ languages I've touched in my life have their own peculiar brand of idiocy built in somewhere in the jungle of features. VB, Java, Logo, Forth, all variants of assembler, C, C++ (tho that one has a bit more than the average), SQL, Intercal...
Admin
More important, he forgot to say "please" at the end...
Admin
I try to think of people who are smart yet have wronged me in some way, the list being extremely small, and I send these people directly to them.
Admin
To bad he wasn't given a book on Javascript. He could quickly run this code right in a browser.
eval("Morph the brother-in-law into something cool");
Admin
I drink for the time when we can "program" with "Go get me a beer!".
Admin
"Morph the screen into something cool" is actually almost how my first attempt at programming went when I was 8 or so (actually it was "boat. boat to beach"). Then my dad gave me these magazines with code listings in basic. It really did get the ball rolling for me.
Admin
Right on, man. I usually drift out of the conversation and stop paying attention as soon as I hear that phrase...
Admin
I haven't answered that specific question honestly or directly in...hmmm...call it 16 years?
Admin
Admin
Ah, but alas; it was written in python!
:)
Admin
That's why I always answer that question with "No, sorry. I break them by accident all the time.". You have no idea how much pain and suffering it's saved in the long run.
Admin
Oi! Fred's not supposed to know he's in a holodeck.
Admin
Their comments, as inane as they are, do point out a limiting factor of our existing languages: their expressiveness. Can't wait for a decade or two to pass by so that we can actually issue stupidly vague full-sentence orders and the computer will assemble the intended code.
Admin
This reminds me of when i was at school, i never had a computer at home, and only had a few months playing with the ones at school (before actual PCS with windows, they had old acorns)
this kid from one of my classes asks me what he has to do to get a job in creating computer games, he had no idea what part of creating them he wanted to go into, but liked the idea of programming them.
now back in the day, i didnt know a lot about the languages that the Play Station 1 used.
however i tried pointing him in the right direction, of the web, and things like C++. letting him know hes best chances were by going to uni.
i also told him, that he should even go to the local libary, and speak to our IT teacher. he couldn't be bothered, and just wanted me to tell him what he had to do.
his answer, "cant i just do it on the Play Station its self. isn't that how it works?"
he didn't really want to go down the who PC root of programming, and learning anything complex. and to tell you the truth he wasnt the brightest crayon in the box, in many areas including, logic, math, problem solving, ect.
he asked this same question many times, normally at lest once a month, i cant remember how i got him to stop now, i think he gave up.
Admin
Admin
void CreateFootballStadiumAndFootballPlayers() { for(;;) { System.out.println("HEY LOOK AT ME I CAN PROGRAM!"); } }
That should work mighty dandy
Admin
Admin
The use of design patterns is arguably a good way to produce better, more maintainable code. It was a nice idea. I've seen little evidence of it being useful or helpful in the last ten years or so.
It's more difficult, yet surely more important, to define what writing crappy and unmaintainable code is about. Rock on, WTF!
Admin
I took the liberty of completing the program suggested above:
void main() { CreateFootballStadiumAndFootballPlayers(); StartTheGameWhenUserPressesSpacebar(); MakePlayersHaveRedShirtsAndWhiteSocks(); ... Profit(); }
Admin
Typical conversion:
Someone: So what do you do: Me: Software Engineer Someone: With computers? Me: sigh Yes
From here, the conversion branches off into:
With which you follow - None of that really has anything to do with what I do.
Which ofcourse gets ignored and another one of the branches above is traversed :-)
Admin
No, Java loses. If you really want to know how to program, you have to be able to understand pointers. Some people will never, ever understand pointers. other people are capable of getting it. Java doesn't help you figure out which is which. At least not until they're already in well over their heads. See Joel's article on Java Schools.
Admin
Admin
With the greatest of respect to your brother in law, he's not the sharpest tool in the box is he?!
Admin
My brother may be a damn hippie, but I'm relieved to say no one in my family is that dumb.
Admin
function StartTheGameWhenUserPressesSpacebar() { onKeypress = function (key) { if (key==" ") { startGame(); } } }
(OK I'm not completely familiar with the syntax. Last time I did anything C-like main() had to return an int, so why is it void?; my snippet here is more like JS, but anyway...)
Admin
Alright, so I was reading through all this and in all honesty found it a small bit tedious until I reched that last one about the semi-colon. I honestly almost wet myself laughing.
Thank you for a gloriously uplifting end to a rather down day.
Admin
No!!!!!!!!!!!!! Don't encourage him! We'll probably end up with a "Haskell is the only true programming language because side-effects are the work of the Devil" rant or something equally pointless.
Admin
so they shouldn't touch computers, not to mention programming
Admin
Do you speak greek in your country? No? Why do you have doctors then? Seeing as the vast majority of the medical terminology is greek words written in latin characters. Why don't you just get rid of them and die?
Admin
That's not what he says. His claim is that because pointers are hard to learn they're a good tool to weed out people who aren't clever enough to be good programmers. Java, by contrast (he claims), is conceptually simple and therefore lets too many incompetents pass CS courses. (IMO you could solve this by making multithreading/concurrency a central part of intro-to-programming, but I digress.)
I have a CS degree myself, and although it didn't involve much programming you couldn't finish your degree without at least some exposure to Java, C, (S)ML and Prolog (and SQL). That strikes me as fulfilling the basic requirement of giving everyone some exposure to all the major programming paradigms.
Admin
First of all, I by no means claim to be a computer expert. I took cisco networking courses in high school, along with web design and hardware repair. For all that my acknowledge is mediocre at best. Anyway, thats not overly important to my story. My story has to do with a small classified add I had posted in a local newspaper. It was simple, stated that I would come over and work on peoples computers for them. If it was not something I could fix, I would not charge them and refer them to someone who could. One day I got a call from a gentleman who claimed his brand new monitor wasn't working. Simple enough problem really, probably a driver issue I had thought.
So I proceed to the mans apartment, and knock on the door. It opens, and I'm greeted by an elderly man. He offers me coffee, which I take(I can't turn down coffee), then I ask him where the computer is. He shows me into the second bedroom, which has been turned into an office, and there by the desk I see a computer tower. Gateway, not sure what model, I go over and turn it on. On top of the desk however was a mac, one of the brightly colored IMACS when they first came out. So I turn to him and ask where the monitor is at. He gives me an "are you blind" look, then says it's right there on the desk. I had to actually set up the mac completely to show him it was a completely different computer, and not just a monitor.
Admin
I think its best to pretend you do another job.
'I work in an STI clinic!' usually does the trick.
Noone has ever responded with 'Really, well i have this rash?'
:)
Admin
lol
Admin
even more fun is when they reply, "Me too!" referring to their ability to use Word and MSN Messenger, and the occasional Ctrl Alt Delete when something freezes, then ask if you could get them a job in programming.
Admin
Hi,
tell them about AppleSript. The next sentence is a real life (and more or less working!) example:
Tell application "Finder" to open directory "foo" and do some crazy stuff with every file.
"some crazy stuff" can be the name of a sub function.
Apart of this: AppleScript is horrible for real Programmers with C++/Java/Whatever background. Is completely different to everything else.
Have a nice day.
Admin
Creating the shirts in Czech would be a bit tricky. Or a bit [a href="http://slovniky.idnes.cz/?slovo=tricko&rank=&lng=cs-en"]tričko[/a].
Admin
^^^^ Right, that link didn't work. You can see the href anyway.