[0.13] Train conditions don't follow Boolean precedence

This subforum contains all the issues which we already resolved.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: [0.13] Train conditions don't follow Boolean precedence

Post by Adil »

nonstickfrypan wrote: In my book that is *not* formalised.
Shall we have a poll to define a convention for factorio?
Lua follows the `and` before `or` convention too, btw.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.

Loewchen
Global Moderator
Global Moderator
Posts: 8377
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13] Train conditions don't follow Boolean precedence

Post by Loewchen »

Adil wrote: Shall we have a poll to define a convention for factorio?
Not in Bug reports. This game is not open source, it is is not about how many people think X is better, it is about how good the arguments for X convinced the devs, and they decided to not give it any priority.

User avatar
siggboy
Filter Inserter
Filter Inserter
Posts: 988
Joined: Tue Mar 29, 2016 11:47 am
Contact:

Re: [0.13] Train conditions don't follow Boolean precedence

Post by siggboy »

Loewchen wrote:
Adil wrote: Shall we have a poll to define a convention for factorio?
Not in Bug reports. This game is not open source,
Does not really matter what this game is, if we feel like holding a poll, we're going to hold the poll. The devs are free to ignore any and all results of a poll. (No, I don't want to have the poll, just sayin'.)

Having said that, I think the idea to have a poll to define a convention is rather braindead.

The convention is "AND" takes precedence over "OR", only very few programming languages treat it differently (in those cases there's no precedence).
Is your railroad worrying you? Doctor T-Junction recommends: Smart, dynamic train deliveries with combinator Magick

User avatar
siggboy
Filter Inserter
Filter Inserter
Posts: 988
Joined: Tue Mar 29, 2016 11:47 am
Contact:

Re: [0.13] Train conditions don't follow Boolean precedence

Post by siggboy »

Here's somebody being royally confused because of this on Reddit: https://www.reddit.com/r/factorio/comme ... ad/d6iwm4j
Is your railroad worrying you? Doctor T-Junction recommends: Smart, dynamic train deliveries with combinator Magick

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.13] Train conditions don't follow Boolean precedence

Post by HanziQ »

Fixed for the next release (I hope).

User avatar
siggboy
Filter Inserter
Filter Inserter
Posts: 988
Joined: Tue Mar 29, 2016 11:47 am
Contact:

Re: [0.13] Train conditions don't follow Boolean precedence

Post by siggboy »

Wut? Nice.

What is the fix? Are we getting the normal Boolean precedence order?

Thanks in any case :mrgreen:
Is your railroad worrying you? Doctor T-Junction recommends: Smart, dynamic train deliveries with combinator Magick

User avatar
The Real C
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Aug 23, 2016 11:32 am
Contact:

Re: [0.13] Train conditions don't follow Boolean precedence

Post by The Real C »

HanziQ wrote:Fixed for the next release (I hope).
Being said person that was royally confused on Reddit, this pleases me greatly! Good job!

(This also means that the update will break all my train stations, as I finally figured out how to make them work like I wanted with the "old" logic pattern, but that is a tiny price to pay for Progress!)

Post Reply

Return to “Resolved Problems and Bugs”