- 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
TRWTF is referring to
eval()
, rather than the now-standardizedJSON.parse()
.Admin
Still: having midwinter celebrations at the beginning of winter - makes sense to someone, I suppose. Unless the idea is to make people forget that they're midwinter celebrations.
Admin
Which reminds us, why the formal languages has to be a part of the education of a well-versed programmer.
Admin
People don't really celebrate solstices/equinoctes in the US, anyway.
Admin
Oh, buffer overflow, my favorite story...
Admin
Admin
I've never heard of it.
Admin
TRWTF is complaining about the correct way of spelling jee.
Admin
Admin
Us crazy programmers with our logics. I suspect half the people here have corrected some random person who thought something was mutually exclusive, but wasn't.
Admin
TRWTF is thinking Javascript is Java.
Admin
Well, it's not a >WTF to work with it .. but it is a WTF in itself.
Interpreted in so many different ways depending on browser and version, it's a pain in the ass if you expect to just "code" your GUI...
If you ask .. for GUIs Flex is pretty decent, I have yet to see a valid javascript GUI library that has half the features of Flash and less bugs than "the evil battery rapist".
Flash is not very optimized .. but on the other hand JS and DOM are far from being optimized too -- just load a few thousand DOM objects and watch your browser struggle, suffocate and die.
Admin
Right .. Server-side JS . nothing more efficient or safe or ...
Admin
Admin
But it's good to know that your universe exists. I may move there prior to this Earth's possible apocalypse in less than a year.
Admin
Admin
Yes indeed. I found myself thinking just now, walking back from the pub: what lovely cool refreshing rain this is.
Admin
Admin
In my defense, I do not live in a temperate zone so the distinction between them is blurry near these parts - not like winter and summer.
Admin
Addendum (2011-12-23 10:57): JavaScript is vaguely-typed though. Not weakly-typed, like C, which in an OO setting would be batshit crazy due to the possibility of a Car.Start() method really calling a Norad.LaunchAllIcbms() method due to weak typing.
JavaScript would at least prevent you from dispatching off a mismatched vtable.
Admin
Admin
Admin
Yeah. Making fun of Nagesh should involve trumpeting your Indian outsourcing firm's certifications while citing your college C professor as some sort of proof against the millenium of programming experience you find on this forum on any given day. With broken English.
Forgot to add:
'Sup frits?
Admin
Admin
Admin
When the thing is broken, is it easier to find and fix the problem if you can read the packet in any text editor, or if you have to run it through a binary parser, hoping that the parser can figure out what the hell it is and can give you a useful error message?
Usually of course, the parser you're using to try to find the problem is the same one that the application tried to use, thus you only get a more verbose error description, with no more useful information than the end user did.
In my day job, I support some applications that use various file formats - some binary, some textual.
Guess which files I can usually recover (most of) when an end user calls me to say "My machine crapped out on me, WTF!?", and which I usually cannot.
Admin
Admin
[only half kidding]
Admin
Ok first off, (after a brief wikipedia article on that) I have a few questions.
How the hell would you debug that shit? I assume you would use non white space to seperate it out for readability but that just sounds like a pain in the ass.
How would you comment that shit? Your comments would have to be bunchedtogetherbecausespacesmakegetinterpeted. You,would,have,to,come,up,with,a,different,seperator. Sounds like a pain in the ass.
If your syntax is ternery (space, tab, and line break), you are basically coding in binary (space=0, tab=1, line break = ";" or end of command). Sounds like a pain in the ass.
(ok so its a joke language i'll stop trolling).
On a more serious note: http://en.wikipedia.org/wiki/LOLCODE In case you want to code like a 13 Year old girl.
Ok. I'm feeling lazy too, but not lazy enough to not say anything. So I'll oversimplify with an analogy that probably barely applies.
Comparing Java to Javascript is like comparing apples to steak. You can eat both but thats about all they have in common.
Admin
One of the advantages of JSON is supposed to be that the format is simple enough that it can be easily read and written by software and also easily read and written by hand. It's not a WTF if someone wrote JSON by hand: it's the exploitation of a design goal.
Admin
I've heard rumors that people who live further south have a substance that is chemically similar to snow but that exists in a liquid form.
Admin
Oh, I thought he was trying to spell out "pij", and I had no idea what that meant. Why didn't he just type "pig"? Has the word "pig" been added to the list of politically incorrect words now? What, the National Association of Farm Animals and Domesticated Creatures protested?
Admin
That's like saying that drunk driving is a good idea because, (a) alcohol has a powerful effect on the human brain; and (b) it allows you to use the same beverage container both in your vehicle and in a bar.
Admin
Somewhere or other I read, Question: What's the relationship between Java and Javascript? Answer: Their names begin with the same four letters.
Admin
Admin
Admin
if you repeat it enough times it becomes truth; to some people. if some people repeat it enough it becomes truth; to some people. if some people are repeating the same thing, it must be truth; to some people.
some people have all the truthiness!
Admin
Because all you cunts complain about my fucking language.
Pee Eye Jay? You fucking illiterate shithead.
Admin
Admin
Now you just need to write a JVM in Javascript, and a Javascript interpreter in Java, for that complete circular feeling.
Admin
My web site moves upwards of a GB of traffic a day (generalising here, the overall collection of sites of which I deal with a part of one moves that much). If I can halve the amount of data transferred by using a binary format at the cost of having to use a viewer tool every now and then, I'll do it. Sure, being able to use notepad to debug is sometimes convenient (assuming that staring at 300kB of incomprehensible XML text is ever useful in the first place), but it isn't even remotely worth the massive hit you take in data size and throughput.
That's the thing, taken in isolation I'd require that all network protocols use natural-language text because hey, it's easy to debug. However, we're not living in an abstract world but one with real-world constraints, and one of those constraints is that network bandwidth is limited and expensive and processing time is limited and expensive. For that, I'll take a compact, efficient binary protocol and move a GB of it a day, rather than a bloated, inefficient text protocol that I might need to look at in notepad once in a blue moon.
Admin
Admin
Admin
Admin
"I should emphasize that just because our Irish friends start their summer earlier does not mean Ireland gets warmer earlier. The cruel truth is that it never gets warm in Ireland, which has one of the most dismal climates on earth."
Admin
Admin
The really, really beautiful thing about Ireland is that because of their unique climate, they are free of all those tedious materialists who believe that the purpose of existence is a constant round of personal gratification. That leaves the land full of spiritually alive people who really appreciate the beauty of theire richly green and pleasant land.
Hang on, that line of thought would suggest that Mancunians and Liverpudlians are good people too. Fuck it, back to the drawing board.
Admin
Ja, lach maar.
Admin
Also can't say "here on earth it is winter" because I'm on earth and it's summer! I know I'm in the minority but there it is. Santa has been and I'm going to bed.
And pigs don't sweat. So sweating like a pee eye jee means you aren't sweaty at all?
Admin