Re: [Interest] Args

2017-05-08 Thread Till Oliver Knoll
> Am 08.05.2017 um 08:26 schrieb Till Oliver Knoll > : > > > > Am 08.05.2017 um 07:16 schrieb Philippe : > There is probably a reason why completely new languages like Swift come completely without exception handling >> >> Quote from Apple doc: >> >> "Swift provides first-class

Re: [Interest] Args

2017-05-08 Thread Till Oliver Knoll
> Am 08.05.2017 um 08:26 schrieb Till Oliver Knoll > > This sums up my previous point pretty nicely: > > "Java exceptions ceased to be exceptional at all, they became commonplace. > They are used from everything from the benign to the catastrophic, > differentiating between the severity of ex

Re: [Interest] Args

2017-05-08 Thread Till Oliver Knoll
Am 08.05.2017 um 07:16 schrieb Philippe : >>> There is probably a reason why completely new languages like Swift come >>> completely without exception handling > > Quote from Apple doc: > > "Swift provides first-class support for throwing, catching, propagating, > and manipulating recoverable

Re: [Interest] Args

2017-05-08 Thread Philippe
>>There is probably a reason why completely new languages like Swift come >>completely without exception handling Quote from Apple doc: "Swift provides first-class support for throwing, catching, propagating, and manipulating recoverable errors at runtime." https://developer.apple.com/library/c

Re: [Interest] Args

2017-05-08 Thread Till Oliver Knoll
> Am 08.05.2017 um 01:48 schrieb Igor Mironchik : > > Hi, Using exceptions in arguments parser is something that just cannot be justified. >>> Why not? >> Even in the danger of starting a huge debate about "exceptions vs return >> error code" here are my thoughts about it: >> >

Re: [Interest] Args

2017-05-07 Thread Igor Mironchik
Hi, Using exceptions in arguments parser is something that just cannot be justified. Why not? Even in the danger of starting a huge debate about "exceptions vs return error code" here are my thoughts about it: Exceptions should just be used for... well, /exceptional/ cases. So what would be

Re: [Interest] Args

2017-05-07 Thread Till Oliver Knoll
> Am 04.05.2017 um 05:44 schrieb Igor Mironchik : > > > > 2017-05-04 11:41, Konstantin Tokarev пишет: >> Using exceptions in arguments parser is something that just cannot be >> justified. >> > > Why not? Even in the danger of starting a huge debate about "exceptions vs return error code"

Re: [Interest] Args

2017-05-04 Thread Igor Mironchik
2017-05-04 11:41, Konstantin Tokarev пишет: Using exceptions in arguments parser is something that just cannot be justified. Why not? --- This email has been checked for viruses by AVG. http://www.avg.com ___ Interest mailing list Interest@qt-pr

Re: [Interest] Args

2017-05-04 Thread Konstantin Tokarev
Using exceptions in arguments parser is something that just cannot be justified. 04.05.2017, 09:22, "Igor Mironchik" : > Hello guys, > > I know that Qt already has its own stuff for CLI parsing. I don't remember > who told it, but - more good libraries, more and more... > > I want to tell you abo

[Interest] Args

2017-05-03 Thread Igor Mironchik
Hello guys, I know that Qt already has its own stuff for CLI parsing. I don't remember who told it, but - more good libraries, more and more... I want to tell you about Args. Probably you know about QtArg. So QtArg is a parent of Args. Args on one side a little simpler than QtArg, but on ano