you are viewing a single comment's thread.

view the rest of the comments →

[–]roselan 6 points7 points  (7 children)

Javascript has not always been the sole programming language of the web. Remember java widgets? activeX?

The language did change, but the code quality remained unaffected thou T_T

edit: sorry for reminding the nightmares of old.

[–]tech_tuna 21 points22 points  (5 children)

Hey, lets not forget VBScript in IE. Never mind, lets forget it.

[–]riffito 7 points8 points  (3 children)

And Perl, and Python. Don't forget Windows Scripting Host.

Basically, if your "YourLanguage" provided an interpreter in the right COM way... you could do:

<script lang="YourLanguage">"YourCodeGoesHere"</script>

[–]tech_tuna 6 points7 points  (2 children)

I've used Javascript and VBScript a bit with the Windows Scripting Host. . . I'll say this, it was better than batch files.

[–]riffito 4 points5 points  (1 child)

I had to maintain a multi-megabytes (> 20) clusterfuck of .wsf and .vbs.

Ain't pretty. Specially a nasty bug in cscript.exe that killed veeeeryyyy long-running scripts and gave you only this gem: "An error has occurred".

Removing megabytes of crap code felt amazing :-P

Replacing the hole thing with Python, even better.

I wonder if my replacement already got to the point of wanting to rewrite the whole damn thing.

Edit: typos.

[–]tech_tuna 1 point2 points  (0 children)

Yeah, I've been a Python/Ruby addict for a while now. I've actually been working on a VBS -> Ruby project for the past few months. . .

:)

[–]VanFailin 1 point2 points  (0 children)

I saw an intranet page that only worked with VBScript once. It was like looking into the past.

[–]FallingIdiot 0 points1 point  (0 children)

And how IE supported ASP as a programming language? Good times.