473,626 Members | 3,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

An Ode To My Two Loves

At the risk of calling my manhood into question, I humbly submit the
following little diddy (which is a blatant rip-off of a heart wrenching
melody of the '70s by that international superstar, Mary Macgregor):

To the tune of "Torn Between Two Lovers":

Torn between two languages, both of which are awesome tools
Lovin' both of you is breakin' all the rules
Torn between two incredibly awesome scripting languages, I'm
startin' to drool
Using you both is breakin' all the rules
Is freedom of choice wonderful or a curse? I do a lot of scripting at
my day job. Through the years, I've gone through what will probably
seem a somewhat familiar progression of scripting languages. Started
out with Tcl, moved to Perl when I began to do some serious text
munging, moved back to Tcl/Tk when I needed to do some gui stuff, jumped
to Python as I began to learn object oriented programming, told Python I
needed more space and moved in with Ruby when I needed to do more gui
stuff and wanted to use FXRuby.

And that's where I stand now, Torn Between Two Scripting Languages.
Python and Ruby are both so damn attractive that I can't commit to one
of them. I don't want to settle down into a monogamous programming
relationship. I mean, if you have Grace Kelly on one arm and Maureen
O'Hara on the other (I'm old school), should you really have to give one
of them up?

Why can't my boss understand this? But no, he has to lecture me about
the dangers of "foolin' around" with too many languages. "Oh sure", he
says, "you're having fun now juggling two beautiful languages in the
air. But how long can you keep living two lives? Sooner or later you
are going to slip up and make a mistake. My god, man, what if you start
leaving off the 'end' in your if statements? What if you forget that
indentation DOES matter?! For the love of all that is sacred and holy,
think of the programs!"

My boss was always a little melodramatic.

Anyway, I don't know why I'm typing this up. I just finished a major
update to KirbyBase and I think I'm a little punch drunk. I have been
spending a lot of time with Ruby lately and working on KirbyBase caused
me to dive back into Python. Why do these two languages have to be so
freakin' good! I know a lot of people see big differences in the
languages, but I'm not one of them. I don't think I am a smart enough
programmer to understand or ever be bothered by some of the more subtle
or deeper differences that some people have pointed out. Ah, ignorance
is bliss.

Well, as long as I can keep my boss from finding out that I am in this
programming love triangle, I think I will probably stay happily enmeshed
in my little soap opera.

Well, I think I will go now and listen to my Captain & Tenille
records...why are you looking at me like that. I'm a happily married
man with four kids. I like football and guns...really, I do!

Under the influence of some kind of strange force and will probably be
embarrassed when he snaps out of it,

Jamey Cribbs
Jul 18 '05 #1
7 1582
Jamey,

Really, you should try to steer clear from your computer from time to
time...
Your mental health is more important than python or ruby, don't lose
it!

Jul 18 '05 #2
On Sat, 05 Feb 2005 12:33:47 -0500, Jamey Cribbs <jc*****@twmi.r r.com> wrote:
At the risk of calling my manhood into question, .... Under the influence of some kind of strange force and will probably be
embarrassed when he snaps out of it,


You shouldn't be -- I don't think I've seen anyone talk much about this
before, at least not from this angle.

It's something that worries me frequently -- I feel guilty when I introduce
Python into ("force Python upon") an organization. Because I hate having
/other/ people's favorite toy languages forced down /my/ throat ...

I also notice I forget one language after doing another for a few weeks. And
it's not just brackets and semicolons -- I also try to use one language's
idioms in the other. People who /claim/ they have no trouble switching
languages seem to have the same problem.

I refuse to think that Using One Language For Everything is the
solution. But I cannot explain it rationally.

/Jorgen

--
// Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu
\X/ algonet.se> R'lyeh wgah'nagl fhtagn!
Jul 18 '05 #3
Jorgen Grahn schrieb:
It's something that worries me frequently -- I feel guilty when I introduce
Python into ("force Python upon") an organization. Because I hate having
/other/ people's favorite toy languages forced down /my/ throat ...


The solution is a multi language glue layer. Software interfaces are
defined in a language independent way so that they can be used by
many languages.I wonder why COM is so dominant on Windows and most
Unixish systems don't use CORBA (with GNOME as an exception).
Microsoft's .net takes this one step further by defining a multi
language implementation layer.

I hope these ideas will become more influential in Unix like systems
as well just to stop this resource wasting source code issue.

--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0 BtcGx1c3IuZGU=\ n'.decode('base 64')
-------------------------------------------------------------------
Jul 18 '05 #4
Jorgen Grahn <jg*********@al gonet.se> wrote:
I also notice I forget one language after doing another for a few weeks. And
it's not just brackets and semicolons -- I also try to use one language's
idioms in the other. People who /claim/ they have no trouble switching
languages seem to have the same problem.


I don't find it a problem as long as the languages are simple and
well-separated. Python and C are a good example: each is simple, and
each is pretty well-focused -- high-level vs low-level.

It's not necessarily easy if you're continuously going back and forth
between C++ and Java, for example -- in such a case, it seems to me that
transitioning into the proper mindset for each language may well be a
nonzero effort, since the languages aren't really all that simple, and
they have quite some overlap despite all the differences.

I have no experience with such switching between (say) Ruby and Python
-- both simple but vastly overlapping in scope.
Alex
Jul 18 '05 #5
Peter Maas <pe***@somewher e.com> writes:
Jorgen Grahn schrieb:
It's something that worries me frequently -- I feel guilty when I introduce
Python into ("force Python upon") an organization. Because I hate having
/other/ people's favorite toy languages forced down /my/ throat ...
The solution is a multi language glue layer. Software interfaces are
defined in a language independent way so that they can be used by
many languages.I wonder why COM is so dominant on Windows and most
Unixish systems don't use CORBA (with GNOME as an exception).
Microsoft's .net takes this one step further by defining a multi
language implementation layer.


COM is dominant on Windows because MS pushes it. CORBA isn't dominant
on Unix because there are a slew of extensible/embeddable languages to
pick from instead - assuming the apps in question came up with a
solution better than rolling their own. See <URL:
http://www.mired.org:8080/home/mwm/scripting/ > for my thoughts on the
matter before I learned better.
I hope these ideas will become more influential in Unix like systems
as well just to stop this resource wasting source code issue.


XMLRPC seems to be displacing CORBA for interobject
communications. It's not clear it's becoming an intercommunicat ions
tool for scripting applications.

In any case, Plan 9 has a much better solution than COM, CORBA or
XMLRPC. I can script plan 9 applications with the shell. I can't do
that with CORBA (well, my quick search failed to turn up CORBA
bindings for sh. It can probably be done with XMLRPC, but it would be
ugly. The problem is that this requires fundamental changes in the
underlying OS (by adding per-process mount points), but there's
mention of experiments with that for Linux.

<mike
--
Mike Meyer <mw*@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Jul 18 '05 #6
In article <86************ @guru.mired.org >, Mike Meyer <mw*@mired.or g> wrote:

COM is dominant on Windows because MS pushes it. CORBA isn't dominant
on Unix because there are a slew of extensible/embeddable languages to
pick from instead - assuming the apps in question came up with a
solution better than rolling their own. See <URL:
http://www.mired.org:8080/home/mwm/scripting/ > for my thoughts on the
matter before I learned better.


"Unable to connect to host"
--
Aahz (aa**@pythoncra ft.com) <*> http://www.pythoncraft.com/

"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams of trivial code that bores the reader to death." --GvR
Jul 18 '05 #7
aa**@pythoncraf t.com (Aahz) writes:
In article <86************ @guru.mired.org >, Mike Meyer <mw*@mired.or g> wrote:

COM is dominant on Windows because MS pushes it. CORBA isn't dominant
on Unix because there are a slew of extensible/embeddable languages to
pick from instead - assuming the apps in question came up with a
solution better than rolling their own. See <URL:
http://www.mired.org:8080/home/mwm/scripting/ > for my thoughts on the
matter before I learned better.


"Unable to connect to host"


My bad. That should be http://www.mired.org/home/mwm/scripting/ .

<mike
--
Mike Meyer <mw*@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Jul 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2027
by: Angela K | last post by:
I need to translate this code into java, can anyone do it? #include <iostream.h> #include "LinkedList.h" #include "mystring.h"
8
2479
by: Martin Maney | last post by:
Apologies if this isn't news here - I've been too busy this last week or so for even skimming the traffic here, in part because I've been messing around with Ubuntu's preview release on a spare machine... and, of course, spending time on their very busy mailing list. :-) I didn't find any mention of Ubuntu in a quick scan of recent messages, so... Ubuntu is a Linux distribution that starts with the breadth of Debian and adds regular...
23
12262
by: John | last post by:
Last year, I remember finding a web page describing how to pass the name of a file to another web page, and have that web page load that image file. Now, I can't find my record of that (it was saved on another computer that I can't get to right now), and I can't remember what search parameters I used to find it when I googled the topic. Can anyone point me the right direction? I'd like to use a method that would be accessible to the...
0
944
by: oxymoron | last post by:
Working on some python scrips with a friend. Got these exercisees; ia1 = Interpretation(,) This is supposed to be symmetric... but this is as far as I get. f1a1 = forall(x, knows(x, bob)) > forall(y, knows(bob, y)) & forall(x, knows(x, mary)) > forall(y, knows(mary, y)) print 'This Is symmetric:', f1a1.val(ia1)
2
1365
by: Paul McGuire | last post by:
Another xkcd plug for Python: http://xkcd.com/409/
1
1500
by: yuma400000 | last post by:
Milenko Kindl Barack Obama’s post-Democratic National Convention bounce in the polls appears to be slightly smaller than the norm of past conventions, and it's gradually depreciating. ADVERTISEMENT The Gallup daily tracking poll has found that since the conclusion of the convention, Obama has risen 4 percentage points in the polls, to lead McCain 49 percent to 43 percent today. That's a slightly smaller
0
8269
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8711
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8642
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8512
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7203
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4094
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4206
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1515
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.