Lisp and Ruby
sdelmont writes "The developers of Rubinius, an experimental Ruby interpreter inspired by SmallTalk, have been discussing the possibility of adding a Lisp dialect to their VM. Pat Eyler collected some ideas and opinions from the people involved and it makes for some interesting reading. For many, Ruby already is an acceptable Lisp, and the language itself started as a 'perlification' of Lisp (even Matz says so) so it is perhaps fitting and might help explain why the whole idea feels right. Now, if someone added support for VB and gave it the respect it deserves, the world would be a better place."
I am not trying to start a holy war thread about perl vs ruby, just looking for someone that can enlighten me regarding the following question.
Having perl as it is, what are the reasons to take a look at ruby. Mind you, I am not saying that these reasons do not exist, I guess I was just lazy to find it out by myself and then again, nobody has yet offered any compelling reason. I have taken a good look at ruby, clean syntax and all, but really I couldn't find something really compelling.
An interesting phenomenon is that most stuff that people perceive as a reason to go to ruby from perl, are available in perl too, but somehow they offer those stuff an novel.
Please don't take me the wrong way, I can testify that ruby is indeed a kick ass piece of work, I am trying to find real reasons to use it along side with perl.
So, fire away your opinions!
The power of VB doesn't lies in its methodology or programming techniques. But in ability to churn out an application faster to production. There is always a demand of non-critical business apps that are required for small production cycle. Here nothing can beat VB. Its so easy (i agree with its limitations) to learn. Throw in WIN32 API and it gets even powerful. I had been associated with one of the heaviest apps ever done in VB, running at 80+ locations in US (in late 90s) and is still alive though not supported my Microsoft (VB6).
I truly respect Java and C++ and others. But for its contributions in business apps VB deserves its due respect.
Sorry the post went little off-topic. Readers' and moderators' desecration anticipated.
Eclipse PDE and Me
As funny as your comment is, it made me wonder... There is a very loud pro-Lisp community that tells everyone who is not using Lisp that they should since it solves most of the problems they have in the first place. OK, fair enough. But I have that strange feeling that assuming the developers to be usually very smart and very lazy, we would see them all convert to Lisp if it really was the ultimate answer [1].
And what makes me think that Lisp was and still is widely ignored? There are a couple of points here but the most important is: we don't really see a large, consistent standard library for Lisp. So we could easily turn the Greenspun's 10th Rule backwards to say: any sufficiently complicated Common Lisp program contains an ad hoc, informally specified, bug ridden, slow implementation of half of Java's standard library.
So, where's the catch? Why isn't Lisp popular if it's so 1337?
[1] But we know it's 42.
Build a tool even an idiot can use and only an idiot will want to use it. -S.O.B.
I still don't seem what advantage Ruby has over Lisp or Smalltalk; it is no more expressive, and current implementations generate slower code.
[1] A List programmer will tell you Smalltalk is a great language, because you can implement a Lisp interpreter in a few lines of Smalltalk. A Smalltalk programmer will tell you Lisp is a great language, because you can implement a Smalltalk interpreter in a few lines of Lisp...
I am TheRaven on Soylent News
...absolutely none. It's a horrible language. The only thing it has going for it is the reasonably useful IDE (although even that irritates me most of the time).
I guess you don't want to try SNOOZ, which is my COBOL-ification of VB.
This tagline is copyrighted material. Please send $10 for an affordable replacement.
Or.
Perhaps you might want to extend your remit to advocating the technologies you would choose, to the business management. Perhaps you might even want to create a development environment for personnel to produce adhoc applications in the technologies you prefer. Or shock, horror, you could even provide that service within the IT department and actively go looking for opportunities to improve productivity.
Deleted
I am TheRaven on Soylent News
I'll hazard a few guesses:
1: It is popular among people who are solving problems LISP is well suited for.
2: There are other languages that are more suited for what most developers do.
3: There are other languages that are more successfully marketed.
I've earned more money in less time using COBOL than any other language but you don't hear me telling kids to pick it up.
Nor do you see me selling COBOL for new projects.
I don't think all of this "what language is 'leet" talk is productive or illuminating. You have a problem, so you use the best tool you can find and learn how to use to solve that problem. If anything I find LISP excels at allowing me to solve certain problems in very interesting ways. Ways that perhaps using the currently popular language wouldn't have allowed.
Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.
True Dat. Between Perl, Python and Ruby. Ruby is the slowest by far. And be careful how you write your code. Sometimes attaching method.method.method is about the worse way you can go, even though they claim it is the Ruby Way. Bah! I'll take perl. At least it has docs.
Interpreted is still slower than Compiled. Always will be. However, the reason that that problem has *somewhat* gone away is that machines are fast enough now that for *most* situations (UIs being one example), that is not a problem. However, for some problem domains (eg scientific programming), speed will never cease to be an issue. The faster the machines we have, the more we will throw at them. Lattice calculations work better with a smaller lattice spacing, and a faster machine allows a smaller spacing.
However, most of the interpreted languages which have appeared to resolve their speed issues have done so by some form of on the fly compilation. So yes, ruby could move up to even with the lisps in that way.
SIGSEGV caught, terminating
wait... not that kind of sig.
Hrm. Well, I seem to remember an article at Joel Spolsky's Site about why he thought VB was a decent tool in ways. Remember, it has no memory management; I've done memory management, and I never want to do it again unless rains of fish will occur. It's not that it's hard, it's just that it's silly for me to do. How can you possibly feel differently?
Additionally, if VBA didn't exist you'd have to write C++ to do simple macro'ing in Office products. It's profitable, but it bites the big one as far as interesting programming jobs are concerned. Trust me on that one.
My little site.
"This is exactly the kind of reply I would expect from a VB developer or "non developer". By "quickly create applications to fulfil their requirements" you probably mean "create a horrible unmaintenable mess which not even the original author will touch, and which has is almost certainly going to be rewritten by a developer at some point in future".
There are a number of interesting, unproven, and contradictory assumptions built-in to your statement:
1) All VB code is a mess
2) VB applications are successful enough to justify being maintained
3) Despite the success of the application implemented in VB, it makes sense to rewrite it in another language
4) The orginal developer isn't willing revise it, but somehow some other developer is willing to rewrite it.
"Enabling non developers make production code is *NOT* a good thing, I think most people with some experience in the industry will agree with this."
If by "non developers" you mean VB programmers, and given that a fairly large percentage of people in the industry with some experience are VB programmers than your statement is incorrect.
You never heard of Python, Ruby, or Smalltalk? That explains your problem.
For years even though I swore at VB I didn't really hate it. Then I caught it in an arithmetic mistake. I, a human, caught a computer at an arithmetic mistake. Understand, I'm not talking about the program, I traced the error down to one specific statement in a program, placed print statements before and after it. VB made an arithmetic mistake. Then I started to wonder about all the larger numbers that I hadn't checked over the years.
That was the last program that I ever wrote that used VB for arithmetic. The next one I used an external Eiffel program to do the arithmetic. The one after that I had it all happen in an Excel spreadsheet. Since them I've moved to Python and Ruby...and totally off of MS systems.
I don't believe that anyone who is a decent programmer likes VB, though many use it due to coercions of various forms. (You mention interesting jobs.) Most people probably haven't noticed that it sometimes lies. (And maybe they've stopped doing that. This happened in MSAccess2000, around 2000.)
No dialect of BASIC has ever been a decent programming language, throughout it's history. (Well, there are lots of versions that I haven't tried, so that's excessive. Some people said that Pick Basic was quite good.) It strongly encourages bad programming habits and discourages several good ones. There are dialects of BASIC in which it is actually impossible to write a decent program. Or a stable one (different group). This isn't to assert that it can't be very convenient. Especially in environments that are designed to encourage it's use.
I think we've pushed this "anyone can grow up to be president" thing too far.
Objective-C has categories, which allow adding methods to a class at runtime. It is a pure superset of C, so it can be mixed with C (and, now C++) in the same source file. Oh, and the whole 'on rails' concept is a copy of a web framework that began life with Objective-C; there's even a Free re-implementation of it, take a look at GNUstepWeb for more information.
I am TheRaven on Soylent News