Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Andreas Gohr Andreas Gohr

    #python has no do..while loop? this is a really strange language

    Friday, 25-Jun-10 14:06:56 UTC from web at Berlin Mitte, Land Berlin, Germany
    • Jürgen Geuter Jürgen Geuter

      @splitbrain: 'while condition:'

      Friday, 25-Jun-10 14:09:14 UTC
    • Tonnerre Lombard Tonnerre Lombard

      @splitbrain: it is, and do … while doesn't fit into the concept of indented blocks you must admit.

      Friday, 25-Jun-10 14:10:29 UTC
    • Andreas Gohr Andreas Gohr Jürgen Geuter

      @tante that's a while loop, not a do..while loop.

      Friday, 25-Jun-10 14:10:50 UTC
    • Jürgen Geuter Jürgen Geuter

      @splitbrain: Since you can effordless translate on into the other, why have two options? Makes sense to offer just one way ;)

      Friday, 25-Jun-10 14:13:36 UTC
    • Andreas Gohr Andreas Gohr Jürgen Geuter

      @tante it's not effortless and requires more code. do..while is even in C - and they are masters in omitting convenience functions

      Friday, 25-Jun-10 14:16:29 UTC
    • Bela Hausmann Bela Hausmann

      @splitbrain I'm sure that there is some other suitable #python magic for every situtation where a do..while loop would make sense (in C) :)

      Friday, 25-Jun-10 14:28:37 UTC
    • Radomir Dopieralski Radomir Dopieralski

      @splitbrain while True: ... if condition: break

      Friday, 25-Jun-10 15:54:06 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal