From: Daniel T. on
JJ <santa(a)temporaryinbox.com> wrote:

> would anyone know if there exists a programming language that meets
> below criteria:
> 1. should make it possible to create both gui interfaces and
> associated code
> 2. should make it possible to create basic gui without too much code
> 3. should make it possible to code without a heavy IDE
>
> A scripting language would also be fine (if you are into separating
> them between programming and scripting) as long as it meets the
> criteria.
>
> Basically I am looking for a language that could eventually be run
> even on the smaller computers. The point being is that it could be
> used for simple prototyping when e.g. waiting on a bus.

I use BlueJ for prototyping. It's an IDE for Java that is very visual in
nature and makes it easy to create single objects and poke at them,
without the need to build an entire infrastructure. I'm not sure if
BlueJ fits the last criteria you mention, but have a look at it and see
what you think.

http://www.bluej.org/

(Now, off I go to check out Unicon...)
From: Ctalk Project on
"Daniel T." <daniel_t(a)earthlink.net> writes:

JJ <santa(a)temporaryinbox.com> wrote:

> would anyone know if there exists a programming language that meets
> below criteria:
> 1. should make it possible to create both gui interfaces and
> associated code
> 2. should make it possible to create basic gui without too much code
> 3. should make it possible to code without a heavy IDE
>
> A scripting language would also be fine (if you are into separating
> them between programming and scripting) as long as it meets the
> criteria.
>
> Basically I am looking for a language that could eventually be run
> even on the smaller computers. The point being is that it could be
> used for simple prototyping when e.g. waiting on a bus.

Ctalk turns out to be very efficient for actual programming.
The GUI classes are still in development, but you can create
single-pane windows with Ctalk now. The language provides a
command line interface with further GUI support planned as
soon as I can get to it.

Enjoy,

Robert

--
Ctalk Home Page: http://www.ctalklang.org
From: Lie Ryan on
On 04/09/10 22:33, JJ wrote:
> Hi all
>
> would anyone know if there exists a programming language that meets
> below criteria:

I recommends Python.

> 1. should make it possible to create both gui interfaces and
> associated code

Python comes built-in with Tkinter. There are also external GUI
libraries wxPython, PyGTK, and PyQt.

> 2. should make it possible to create basic gui without too much code

PyGTK, and GTK as a whole, has a GUI-builder called Glade. Using Glade,
you can build GUIs by drag-and-dropping widgets instead of writing code.
Glade specifically supports generating python code.

I believe other GUI libraries also have similar drag-and-drop builder,
though I've never personally used any of them.

> 3. should make it possible to code without a heavy IDE

Glade is quite lightweight. And you still have the option to write PyGTK
code yourself. Personally, I think python is a very good suited with
plain text editor. With the interactive REPL interpreter and pydoc, you
would never need a crutch like Intellisense. With python you don't need
automated build tools (e.g. make, ant) since python compiler will detect
when dependant (python) module is changed and need recompilation. Python
as a dynamic language discourages writing templated code.

There goes three usual reasons why people want an IDE:
- Intellisense
- Automated Build Tool
- Snippet and Templating

In python, all of them are redundant.

> A scripting language would also be fine (if you are into separating
> them between programming and scripting) as long as it meets the
> criteria.
>
> Basically I am looking for a language that could eventually be run
> even on the smaller computers. The point being is that it could be
> used for simple prototyping when e.g. waiting on a bus.

Prototyping is one of the point where python excels. Python has a
interactive REPL shell, perfect for experimentation and writing
throwaway code; in python, reflection is built into the language; you
can easily get the documentation to any object with help().
From: Daniel Pitts on
On 4/9/2010 5:33 AM, JJ wrote:
> Hi all
>
> would anyone know if there exists a programming language that meets
> below criteria:
> 1. should make it possible to create both gui interfaces and
> associated code
> 2. should make it possible to create basic gui without too much code
> 3. should make it possible to code without a heavy IDE
>
> A scripting language would also be fine (if you are into separating
> them between programming and scripting) as long as it meets the
> criteria.
>
> Basically I am looking for a language that could eventually be run
> even on the smaller computers. The point being is that it could be
> used for simple prototyping when e.g. waiting on a bus.
>
> Thanks in advance,
JavaScript combined with HTML seems to fit that description.

Although, "code" could mean a lot of things. If it is "code which
interacts with a database and rewrites files", JavaScript is a poor
match :-)

Few programming languages of today require an IDE for coding, but most
are made easier with one.

In the end, it all depends on the actual problem you are trying to
solve. No generic language is generic enough to deserve the title of
"best solution to everything". I doubt there ever will be a single
language that achieves that.


--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
From: gremnebulin on
On 9 Apr, 13:33, JJ <sa...(a)temporaryinbox.com> wrote:
> Hi all
>

> Basically I am looking for a language that could eventually be run
> even on the smaller computers.

lua is reputed to have a small footprint. But if by a small computer
you
mean somehting like a netbook, you should be able to run just about
anything.
Ruby or python would be fine, and hand to have on your CV.