Re:Netscape and Sun announce JavaScript (1995)
by icepat on Wednesday July 19, 2023 @07:38AM
(#36784777)
Yes, this does not make much sense to me. I will stick with Java and Perl until I see a viable reason to Go to something else. Maybe someone will create an improved version of C++ (though my skills there are rather Rusty).
[ Parent
| on HN ]
Re:Netscape and Sun announce JavaScript (1995)
by marcus0x62 on Wednesday July 19, 2023 @08:22AM
(#36785161)
Yeah, you’d have to install yet another runtime on all of your nodes to support server-side JavaScript.
I’ve been playing around with this new language called Python. The indenting syntax takes a little getting used to, but the code is way more readable than Perl. Just be sure to set indent-tabs-mode: nil if you use Emacs.
Re:Netscape and Sun announce JavaScript (1995)
by gruntled on Wednesday July 19, 2023 @09:34AM
(#36786059)
Perl is the only way to go for serious CGI scripts. It’s so powerful, Python is limited and clunky by comparison. And a new language with syntactically important whitespace? Seriously? It will never displace Perl!
Re:Netscape and Sun announce JavaScript (1995)
by marcus0x62 on Wednesday July 19, 2023 @10:15AM
(#36786721)
Eh, maybe. well, nice talking. I'm going to go back to writing CFML. My boss bought a bunch of licenses with our last funding round, so I have to use it. I don't think it's going to make it any easier to write our reverse auction site for pet food discount coupons (don't tell anybody - we're still in stealth,) but whatever.
Re:Netscape and Sun announce JavaScript (1995)
by bazoom42 on Wednesday July 19, 2023 @10:14AM
(#36786708)
Python will never work on the web since different platforms use different characters to indicate line break.
Re:Netscape and Sun announce JavaScript (1995)
by marcus0x62 on Wednesday July 19, 2023 @11:31AM
(#36788071)
Not true. For your Unix hosts, you just need to write a perl script to strip carriage returns before running a script written on Windows, and substitute LF for CR for scripts written on a Mac and for your Windows hosts write a Visual Basic program to add CRs to Unix scripts and add LFs after CRs for Mac scripts.
If you figure out how to write an AppleScript program to munge the Unix and Windows scripts, let me know. Manually fixing them in BBedit is getting to be a real drag.
Re:Netscape and Sun announce JavaScript (1995)
by LadyCailin on Wednesday July 19, 2023 @11:30AM
(#36788054)
I know a guy Rasmus, working on this server side bit called Personal Home Page. Maybe worth checking out.