5 ms·
I think where most people chokes on Wasabi is the perception of compiling from an "insane" language to a sane language. No matter how cool it is to work at Fog
by mseebach 17y ago
I think where most people chokes on Wasabi is the perception of compiling from an "insane" language to a sane language. No matter how cool it is to work at Fog Creek, it's very 1965 to work in a proprietary language, especially for web development. If Joel wasn't famous, anyone leaving Fog Creek would have serious problems finding a new job.
Facebook compiles from a "sane" language (PHP) to a less sane, but twice as fast language (C++). The alternative was to get their devs to work in C++, which they decided was an unattractive solution -- this seems reasonable.
- sker 17y agoPHP is sane?
- mseebach 17y agoMore sane than any proprietary language, yeah. And more accessible than C++.
- tghw 17y agoYou're comparing apples an oranges. PHP is no more sane than classic ASP. They're both pretty awful.
- brehaut 17y agoI think thats unfair. PHP sucks some hairy donkey's balls, but VBScript is significantly worse. Dim, Redim Preserve, ByRef, Arrays that are basicly C arrays (see also Redim), Ridiculous Object/Value dichotomy (for those that arent aware you need to use the Set keyword to assign an object to a variable, but not for a value. The distinction bleeds all over your code and makes things hurt) and friends are evil sons of bitches that don't belong in a scripting language.
- voidpointer 17y agoHello pot. This is kettle. You're black.
- brehaut 17y agoWould you like to expand on your claim? Be quite clear that i dislike both languages. VBS is the worst of the two though.
- wvenable 17y agoClassic ASP is whole class of awful all to itself. PHP has far more in common with other scripting languages than it does with Classic ASP. The fact that they both support embedding code into HTML is their only similarity.
- mseebach 17y agoWasabi >> Classic ASP, if that's what you're referring to. But it's a whole lot more, and on top of that it's proprietary. PHP isn't, and that alone makes it more sane.
- mncaudill 17y agoI'd say PHP is more sane from a business and coding standpoint. Need to find a PHP developer? No problem. Want a PHP IDE? No problem. A large community to handle bugs and any future development? Yes. It's obvious that wasabi has been good to Fog Creek, but that doesn't make it a sane decision, regardless of the quality of the syntax and semantics of the language itself.
- david 17y agoWhat does "sane" mean in this thread? I can't figure it out other than "something that makes sense to the poster". >> Need to find a PHP developer? No problem. Not being able to hire just anyone to code for you is a good thing just as much as it is bad. It means you're going to have some pretty bright people working for you, which apparently is something Fog Creek values and can afford to do. > Want a PHP IDE? No problem. Most hackers have their own preferred editors anyways, and Emacs/vi/etc work well with any language if that's the editor you're experienced with. >> A large community to handle bugs and any future development? Yes. Again, that's a hindrance just as much as it is a benefit. If you need to make a change or fix a bug in the language, you're going to have much better luck if you know a bunch of people who are intimately familiar with how that language works, especially if their right down the hall from you.
- sanswork 17y agoIn response to your first comment I think the idea that developers that don't use PHP are better or brighter is absurd. Not that it matters anyhow for most roles you neither need nor can afford to hire the best and brightest away from their current role which they probably love a lot(being the best gives you the ability to choose great places to work). So unless you're looking for a tech lead you're going to be looking for great, much better than average but not specifically the best and for those conditions PHP will give you a much larger developer base to choose from every day of the week. As for the last point I think you're really reaching here to find a negative. A large community to handle bugs a hindrance? Seriously? And your alternative ideal solution is some people down the hall in your office that know how to use the language well?
- tghw 17y agoPHP is somehow a more sane language than classic ASP? They are contemporaries of each other, and both were pretty popular in their day. PHP has continued, while ASP has been replaced by something significantly better than either. P.S. If the company you're applying to is upset by you having worked in a proprietary language, they're hiring for the wrong things.
- mseebach 17y ago> If the company you're applying to is upset by you having worked in a proprietary language, they're hiring for the wrong things. In a perfect world, sure. But in the real world, the guy with actual experience in the language/framework used gets an interview first. Then the guy with experience in any language/framework the interviewer immediately recognizes as relevant. Then the guy with experience in something so obscure it's not even on Wikipedia (which Wasabi wouldn't be had Joel and Fog Creek not been famous).
- johns 17y agoI don't think you quite understand how Wasabi works. Wasabi compiles VBScript (written mostly like normal VBScript with some conventions to ease the work on the compiler) to PHP. At least, that's how it originally worked. Now it compiles the same code to .NET IL which runs on Windows and Mono. They're not writing code in some obscure language. If there's some company out there that doesn't want to hire people capable of writing their own compilers to more easily add cross-platform support to their software the guys at Fog Creek aren't going to want to work there anyway.
- mseebach 17y agoAccording to Spolsky, Wasabi is backwards compatible with VBScript, but "we like closures, active records, lambdas, embedded SQL a la LINQ, etc. etc. and so those are the kinds of features we put into Wasabi." If they'd been working in vanilla VBScript in 2010, it'd be even more insane, and also, I think Joel would have some serious problems holding on to employees. http://www.joelonsoftware.com/items/2006/09/01b.html http://www.joelonsoftware.com/items/2006/09/01b.html
- runT1ME 17y agoI wish someone would invent some sort of C-like language that wasn't as complicated. Maybe it could even compile itself on the fly to machine code to continually optimize itself!
- didroe 17y agoJavascript? :)
- acangiano 17y ago> from a "sane" language (PHP) to a less sane, but twice as fast language (C++) C++ is much faster than PHP, not just twice as fast.
- angelbob 17y agoHand-coded C++ is much more than twice as fast, but 2x is what you get from machine-converted HipHop at this point.
- jwr 17y agoLanguages aren't "fast" or "slow", it's programs that can be fast or slow. If a higher-level language lets you implement a smarter algorithm, your program will run faster.
- acangiano 17y ago> Languages aren't "fast" or "slow", it's programs that can be fast or slow. We can say that "C++ is faster than PHP", because most, if not all, programs using the same algorithms will run faster when written in C++ and compiled to native code. > If a higher-level language lets you implement a smarter algorithm, your program will run faster. PHP is generally easier to master than C++, but both are high level enough to provide adequate tools to write efficient algorithms with comparable amount of effort, provided one is competent with the language at hand.
- Todd 17y agoAgreed. Scripted/interpreted languages are, in general, one to two orders of magnitude slower than a compiled language such as C/C++. It's damn difficult to go much better than 10x slower due to the nature of an interpreter--even fast opcode-based interpreters. There are some extensions to the GNU C/C++ compilers that can help here, though.
- statictype 17y ago> No matter how cool it is to work at Fog Creek, it's very 1965 to work in a proprietary language, especially for web development So you're basically against the use of Domain Specific Languages on the whole? Or only those whose syntax you don't like?
- mseebach 17y agoWhen the domain is general web development, I'm against it. It's an instance of the "right tool for the job"-problem.
- encoderer 17y agoIf you're hiring developers based on experience with a specific language, you're probably doing it wrong anyway. Hire based on experience with a specific paradigm. OO. Functional. Etc. Or experience with a specific domain problem. Compilers. DSLs. Operating Systems. Etc.