Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Beta
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Orbiter Beta Topics related to Beta releases of Orbiter and Orbiter development.

Reply
 
Thread Tools
Old 10-17-2017, 08:23 AM   #451
Urwumpe
Certain Super User
 
Urwumpe's Avatar

Default

Quote:
Originally Posted by kuddel View Post
 Sorry to rain on your parade here, but that has nothing to do with LUA per se!
Lua? I mean Python! Defining scopes by indentation alone sounds nice at first, but turns out terribly error prone in larger projects.
Urwumpe is offline   Reply With Quote
Old 10-17-2017, 09:14 AM   #452
jedidia
shoemaker without legs
 
jedidia's Avatar
Default

Quote:
as somebody who is constantly confronted with Python: A more user friendly syntax.
I must confess this surprises me. I have found LUA synthax to be a bit tiresome, while python is built on a "write as you think"-paradigm. But I have never worked in python for prolonged periods, so I really can't judge how that worked out. The only thing I use it for is when a helper script gets too complicated to comfortably write in bash (which basically means as soon as it needs function calls... )
jedidia is offline   Reply With Quote
Old 10-17-2017, 10:40 AM   #453
Urwumpe
Certain Super User
 
Urwumpe's Avatar

Default

Quote:
Originally Posted by jedidia View Post
 I must confess this surprises me. I have found LUA synthax to be a bit tiresome, while python is built on a "write as you think"-paradigm. But I have never worked in python for prolonged periods, so I really can't judge how that worked out. The only thing I use it for is when a helper script gets too complicated to comfortably write in bash (which basically means as soon as it needs function calls... )
I have it right now as pyQt implementation of a GUI client and used it in the past for scripting CFD data post processors... in both cases, it was great to get started and suicidal to edit.
Urwumpe is offline   Reply With Quote
Thanked by:
Old 10-17-2017, 11:37 AM   #454
Face
Beta Tester
 
Face's Avatar

Default

Quote:
Originally Posted by Urwumpe View Post
 in both cases, it was great to get started and suicidal to edit.
I can second that. Even in a well-designed Python-project like Mercurial, that statement above holds true for me. But I guess this is something many weakly-typed languages have in common.
Face is offline   Reply With Quote
Thanked by:
Old 10-17-2017, 01:23 PM   #455
4throck
Enthusiast !
 
4throck's Avatar
Default

Orbiter Lua sub-forum would be great.
Currently we can only add a LUA prefix to a threat inside "SDK".
4throck is offline   Reply With Quote
Thanked by:
Old 10-17-2017, 09:22 PM   #456
kuddel
Donator
Default

Hi,
the LUA enhancement discussion will continue here

To the moderator(s): It might be nice if the last X posts regarding LUA might get moved there. (...and the Python vs. C vs. Lua rant might go to the basement )
kuddel is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Beta


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 03:57 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.