?

Log in

No account? Create an account
Lindsey Kuper [entries|archive|friends|userinfo]
Lindsey Kuper

[ website | composition.al ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

x == WTF? [Mar. 21st, 2005|07:17 pm]
Lindsey Kuper

Today I made the assignment-vs.-comparison error like four times before lunch, and in both directions. Don't computers suck?

LinkReply

Comments:
[User Picture]From: jwithington
2005-03-22 01:20 am (UTC)
equation stealer.

also. your sentence=wtf as well.
(Reply) (Thread)
[User Picture]From: lindseykuper
2005-03-22 02:30 am (UTC)
If a joke falls in the forest and no one gets it, is it still funny?

(Guilty as charged on the equation-stealing. Heh.)
(Reply) (Parent) (Thread)
[User Picture]From: jwithington
2005-03-22 03:59 am (UTC)
didnt like the first version, eh?

heehee.
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2005-03-22 05:45 am (UTC)

"I don't know what you're talking about."
(Reply) (Parent) (Thread)
[User Picture]From: jwithington
2005-03-22 05:48 am (UTC)
to quote peter cetera/chicago

"OOOO OOOOO OOOO OOOO OOOO WISHING YOU WERE HERE"

i am grading! and i am going to bed soon, done or not, so i can be more alert to work fast tomorrow.
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2005-03-22 06:07 am (UTC)
Aw. =)

Sleep's good. I'll see you tomorrow.
(Reply) (Parent) (Thread)
[User Picture]From: jwithington
2005-03-22 12:56 pm (UTC)
i WORKED until midnight--i got sleepy--and then went to bed! woo!
(Reply) (Parent) (Thread)
[User Picture]From: oniugnip
2005-03-22 07:13 am (UTC)
The trick with this is to use a language where assignment looks like "setf" and comparison looks like "equalp" -- you probably wouldn't get those mixed up :)

(... next time I write C... these will be macros. Hrm...)
(Reply) (Thread)
[User Picture]From: lindseykuper
2005-03-22 02:38 pm (UTC)
Heh. You'd go nuts at my job trying to use PHP. I mean, why are some of the superglobal array names plural and some not? Gross.
(Reply) (Parent) (Thread)
[User Picture]From: oniugnip
2005-03-22 04:40 pm (UTC)
Oof :-\ That does look unpleasant... (maybe they could be code-completed?)

(do you go nuts with the inconsistent variable names?)
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2005-03-22 06:17 pm (UTC)
You lost me at "code-completed", but yeah. Why is $GLOBALS the only one without an underscore? Gets me every time.
(Reply) (Parent) (Thread)
[User Picture]From: oniugnip
2005-03-22 06:44 pm (UTC)
I dunno if you're a big emacs fan, but there are two things that might be called "code completion" in emacs. It's like, you're typing along, and you hit a button to make it fill in the rest of the word you were probably going to type:

http://www.gnu.org/software/emacs/manual/html_node/Dynamic-Abbrevs.html
http://www.gnu.org/software/emacs/manual/html_node/Symbol-Completion.html

(other editors have stuff like that too, I think -- Eclipse does, surely...)
(Reply) (Parent) (Thread)
[User Picture]From: pixelherder
2005-03-22 08:10 pm (UTC)
Hey there, hope you don't mind if I jump in. (Oooh my first comment on someone's LJ. This is sonetka's husband, by the way.)

Just thought I'd mention that Eclipse uses Ctrl-Space for completion, as does Visual Studio, and probably a few others. Personally, though, I agree with you and find myself compulsively reaching for M-/

I thought I'd also mention that compilers for most other C-like languages these days can issue warnings if it looks like you got == and = backwards. Unfortunately, I don't know of any such feature for PHP.
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2005-03-23 01:49 pm (UTC)
Oh, hi. =) Clearly you're an Emacs fan, as I see from your journal title...and your interests...and your journal entry...heh. I always used it in school. I used to be okay at it, but then I graduated. ;) What I'm writing for work is XHTML with a fair smattering of PHP, so I'm using Dreamweaver to edit, because I'm addicted to the mad XHTML/CSS support. heh. I despise myself. ;)
(Reply) (Parent) (Thread)
[User Picture]From: leadsynth
2005-03-22 10:41 pm (UTC)
Things that make me giggle uncontrollably:

1. "Groundskeeper"
2. X == WTF


*giggle*
(Reply) (Thread)
(Deleted comment)
[User Picture]From: lindseykuper
2005-03-24 06:29 pm (UTC)

Re: Old-timer trick

I keep telling you guys, this is PHP. What do you think I am, some kind of programmer or something?
(Reply) (Parent) (Thread)
(Deleted comment)
[User Picture]From: lindseykuper
2005-03-25 01:02 am (UTC)

Re: Old-timer trick

Yeah, yeah. I just thought it was funny that you thought I was using a compiled language. I think the last thing I compiled was my LaTeX resume.

Anyway, I'm so never going to remember to put the constant first. I mean, if I'd been thinking, I wouldn't have made the mistakes anyway.
(Reply) (Parent) (Thread)
[User Picture]From: jwithington
2005-03-26 02:22 am (UTC)

Re: Old-timer trick

latex resume? mrowr.

ahem.

i was going to tell you that one of my favorite suicidegirls has a set (her one and only) where she has code written all over her body (apparently really funny if you know how to read such things), but i thought that might be TMI.

what do you think?
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2005-03-27 01:09 am (UTC)

Re: Old-timer trick

Well, (1) I wanna see, and

(b) I just got back from my hair appointment. It's all fire-engine chestnut and stuff. Hey, I get that tattoo I keep talking about, I just might be Suicide Girls material.
(Reply) (Parent) (Thread)
[User Picture]From: jwithington
2005-03-27 01:36 am (UTC)

Re: Old-timer trick

i cant tell you how much i like the 1) and the B) convention.

1. heh.
b. you don't need a tattoo for that.

also.

it's in london, but:
http://www.audioscrobbler.com/jobs.php


(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2005-03-27 08:02 am (UTC)

Re: Old-timer trick

And (III) I like how for those job postings, they want you to have "something which passes for music taste".
(Reply) (Parent) (Thread)
[User Picture]From: jwithington
2005-03-27 08:55 am (UTC)

Re: Old-timer trick

yep. not "musical" taste. "music taste."
(Reply) (Parent) (Thread)
[User Picture]From: cerulicante
2005-03-24 06:10 am (UTC)

Bloint

Herro!

It will be good for me to be the only code-illiterate person here! Every group needs a goon and I'll fill role nicely.



When do I get my goon hat?
(Reply) (Thread)
[User Picture]From: lindseykuper
2005-03-24 06:26 pm (UTC)

Re: Bloint

Bryan! =)

You're far from the only code-illiterate person here. But as far as I'm concerned, you can have your goon hat right now.
(Reply) (Parent) (Thread)
[User Picture]From: jwithington
2005-03-27 01:38 am (UTC)

Re: Bloint

i too, am code-illiterate.

unless you sit me down at a Texas Instruments computer, circa 1984. I can write me some wicked basic BASIC.
(Reply) (Parent) (Thread)