Re: Is Programming Obsolete?

Liste des GroupesRevenir à c misc 
Sujet : Re: Is Programming Obsolete?
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.misc
Date : 08. Apr 2024, 14:45:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uv0sd0$3gv9g$2@dont-email.me>
References : 1 2
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Stefan Ram <ram@zedat.fu-berlin.de> wrote:
Ben Collver <bencollver@tilde.pink> wrote or quoted:
complexity and sophistication of user interfaces. Commercial software
has a professional "look and feel" that the old homebrew BASIC
programs can't match. Kids expect arcade-quality animation and a
graphical user interface. The programs that they can write themselves
don't meet that standard.
 
  With Python and tkinter, GUIs actually are easy to write:
 
import tkinter
 
tkinter.Label( text="Hi! What's your name?" ).pack()
entry=tkinter.Entry()
entry.pack()
button = tkinter.Button( text="Ok" )
def ok(): tkinter.Label( text="Hi, " + entry.get() + "!" ).pack()
button.pack()
button.config( command=ok )
tkinter.mainloop()

Writing it in it's native Tcl will avoid the Python "wrappings" for
accessing the Tk widgets:

  #!/usr/bin/wish
  pack [label .label -text "Hi! What's your name?"]
  pack [entry .entry]
  pack [button .button -text "Ok" -command ok]
  proc ok {} {
    pack [label .label[incr ::seq] -text "Hi, [.entry get]!"]
  }



Date Sujet#  Auteur
7 Apr 24 * Is Programming Obsolete?47Ben Collver
7 Apr 24 +- Re: Is Programming Obsolete?1Stefan Ram
7 Apr 24 +* Re: Is Programming Obsolete?28Rich
7 Apr 24 i+* Re: Is Programming Obsolete?3Stefan Ram
7 Apr 24 ii+- Re: Is Programming Obsolete?1Stefan Ram
7 Apr 24 ii`- Re: Is Programming Obsolete?1Stefan Ram
7 Apr 24 i+* Re: Is Programming Obsolete?4candycanearter07
8 Apr 24 ii`* Re: Is Programming Obsolete?3Lawrence D'Oliveiro
8 Apr 24 ii `* Re: Is Programming Obsolete?2candycanearter07
8 Apr 24 ii  `- Re: Is Programming Obsolete?1Lawrence D'Oliveiro
8 Apr 24 i+* Re: Is Programming Obsolete?16Lawrence D'Oliveiro
8 Apr 24 ii+* Re: Is Programming Obsolete?9candycanearter07
8 Apr 24 iii`* Re: Is Programming Obsolete?8Lawrence D'Oliveiro
8 Apr 24 iii `* Re: Is Programming Obsolete?7candycanearter07
9 Apr 24 iii  `* Re: Is Programming Obsolete?6Lawrence D'Oliveiro
9 Apr 24 iii   `* Re: Is Programming Obsolete?5candycanearter07
10 Apr 24 iii    `* Re: Is Programming Obsolete?4Lawrence D'Oliveiro
10 Apr 24 iii     `* Re: Is Programming Obsolete?3candycanearter07
11 Apr 24 iii      `* Re: Is Programming Obsolete?2Lawrence D'Oliveiro
11 Apr 24 iii       `- Re: Is Programming Obsolete?1candycanearter07
8 Apr 24 ii+* Re: Is Programming Obsolete?4Rich
9 Apr 24 iii`* Re: Is Programming Obsolete?3Lawrence D'Oliveiro
9 Apr 24 iii `* Re: Is Programming Obsolete?2Rich
9 Apr 24 iii  `- Re: Is Programming Obsolete?1Lawrence D'Oliveiro
11 Apr 24 ii`* Re: Is Programming Obsolete?2Scott Dorsey
12 Apr 24 ii `- Re: Is Programming Obsolete?1Lawrence D'Oliveiro
8 Apr 24 i`* Re: Is Programming Obsolete?4Ben Collver
8 Apr 24 i `* Re: Is Programming Obsolete?3Lawrence D'Oliveiro
8 Apr 24 i  `* Re: Is Programming Obsolete?2Ben Collver
9 Apr 24 i   `- Re: Is Programming Obsolete?1Lawrence D'Oliveiro
7 Apr 24 +* Re: Is Programming Obsolete?3Stefan Ram
7 Apr 24 i+- Re: Is Programming Obsolete?1Stefan Ram
8 Apr 24 i`- Re: Is Programming Obsolete?1Rich
7 Apr 24 +* Re: Is Programming Obsolete?2Lawrence D'Oliveiro
8 Apr 24 i`- Re: Is Programming Obsolete?1Computer Nerd Kev
12 May 24 `* Re: Is Programming Obsolete?12Scott Dorsey
12 May 24  +- Re: Is Programming Obsolete?1David LaRue
12 May 24  +* Re: Is Programming Obsolete?4D
12 May 24  i+* Re: Is Programming Obsolete?2Scott Dorsey
13 May 24  ii`- Re: Is Programming Obsolete?1D
13 May 24  i`- Re: Is Programming Obsolete?1Johanne Fairchild
13 May 24  +* Re: Is Programming Obsolete?5Bob Eager
13 May 24  i+* Re: Is Programming Obsolete?2Scott Dorsey
13 May 24  ii`- Re: Is Programming Obsolete?1Bob Eager
13 May 24  i`* Re: Is Programming Obsolete?2Anton Shepelev
14 May 24  i `- Re: Is Programming Obsolete?1candycanearter07
13 May 24  `- Re: Is Programming Obsolete?1Johanne Fairchild

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal