109: (Default)
[personal profile] 109
PS. читаю сейчас http://xprogramming.com/xpmag/expUnitTestsat100.htm и не знаю, плакать, или смеяться:

"Suppose it only took a tenth of a second to compile, link, and test your entire system. OK, I admit I'm extreme, but even I know we can't do that. But go with me here -- let's imagine what would happen if we could. And while we're at it, let's imagine that our tests are comprehensive: they test everything that needs to work. When our tests run, we're sure the system is right."

(обратите внимание на "let's imagine")

"The really wise [XP] teams write a test first, then a little code, then another test, and so on. Teams are reporting 100% coverage using this technique alone, which is quite good in a lot of environments."

(теперь, значица, "let's imagine" уже нет - типа 100% coverage у XP teams сам получается, стоит лишь назваться XP team)

"Your team could gain these advantages too. Just write automated unit tests and keep them at 100%. We're sure that if you do, you'll see improvement right away."

(и при этом ну совершенно не говорится, как же добиться этих 100% coverage, уж не говоря о том, сколько это будет стоить и занимать времени. "tenth of a second", ага!)

(no subject)

Date: 2001-11-08 03:07 pm (UTC)
From: [identity profile] auto194419.livejournal.com
È òåì íå ìåíåå, îäíó èç ïàðèæñêèõ âåòîê ìåòðî æå ñíà÷àëà äîêàçàëè, à òîëüêî ïîòîì ñïðîåêòèðîâàëè è íàïèñàëè (íà Àäà, êàê òû íàâåðíÿêà ïîìíèøü :). ß ê òîìó, ÷òî ýòî îñóùåñòâèìî.  ïðèíöèïå.

(no subject)

Date: 2001-11-08 03:11 pm (UTC)
From: [identity profile] 109.livejournal.com
ïðî ÿçûê Àäà ÿ ñëûøàë (äà ÷òî òàì, ó ìåíÿ äàæå êíèæêà ïðî íåãî åñòü!)
à ÷òî çíà÷èò "äîêàçàòü âåòêó ìåòðî"?

(no subject)

Date: 2001-11-08 03:18 pm (UTC)
From: [identity profile] auto194419.livejournal.com
Àãà, çíà÷èò, òû íå çíàåøü ýòó èñòîðèþ. Ìíå ëåíü èñêàòü, ÿ ðàññêàæó î ñâîèõ çàáëóæäåíèÿõ, è òû ñàì ïîòîì íàé䏸ü ýòó èñòîðèþ.

 Ïàðèæå, êîãäà ðåøèëè ñòðîèòü î÷åðåäíóþ âåòêó ìåòðî, ðåøèëè ñäåëàòü å¸ 100% àâòîìàòè÷åñêîé. Òî åñòü âîîáùå – áåç ìàøèíèñòîâ, ðåãóëèðîâùèêîâ è ò.ï. Ïèñàëè íà Àäà, íî ïðåäâàðèòåëüíî âñ¸ ñïðîåêòèðîâàëè, è êàæäûé ìîäóëü ìàòåìàòè÷åñêè äîêàçàëè. Òî åñòü äîêàçûâàëè, ÷òî îí áóäåò êîððåêòíî ðàáîòàòü. Áîëåå ñâÿçíî ÿ îáúÿñíèòü íå ñìîãó, ïî ïðè÷èíå ïàìÿòè è ïèâà. Áûëî ýòî ãäå-òî âíà÷àëå 90õ.

(no subject)

Date: 2001-11-08 03:24 pm (UTC)
From: [identity profile] auto194419.livejournal.com
Åñòåñòâåííî, íà adahome.com ýòî åñòü. Âîò:

http://www.adahome.com/Ammo/Success/subway.html

(no subject)

Date: 2001-11-08 03:30 pm (UTC)
From: [identity profile] 109.livejournal.com
ïðî äîêàçàòåëüñòâî íè÷åãî íåò.
à ôðàçà "long-term software lifecycle", whatever that means, ìíå ïîíðàâèëàñü :-)

(no subject)

Date: 2001-11-08 03:40 pm (UTC)
From: [identity profile] auto194419.livejournal.com
äà, ÿ ïîòîì òîëüêî îáðàòèë âíèìàíèå. çàâòðà ïîèùó

(no subject)

Date: 2001-11-08 04:06 pm (UTC)
From: [identity profile] auto194419.livejournal.com
Ïîêà òîëüêî ýòî.

http://www.ifad.dk/Projects/FMERail/WS_4_proceedings/session_3/desforges.pdf

(no subject)

Date: 2001-11-08 04:28 pm (UTC)
From: [identity profile] auto194419.livejournal.com
è åù¸ (http://www.google.com/search?q=cache%3AAasUWyo5G6U%3Awin-www.uia.ac.be/u/sdemey/Teaching/SSPEC2LIC/Archive/FormalSpec-avl.pdf+paris+metro+ada+validation+project+translation&hl=en):

A recent, fairly impressive example is worth pointing out
[Beh99]. The Paris metro system has recently opened a new
line (line 14, Tolbiac-Madeleine). The traffic on this line is
entirely controlled by software. Driverless trains and conven-
tional trains are both supported. The safety-critical compo-
nents of the software (located on board, along the track, and
on ground) were formally developed by Matra Transport
using the B abstract machine method [Abr96]. The develop-
ment includes abstract models of those components, refine-
ments to concrete models, and automated translation to ADA
code. According to [Beh99], there are about 100,000 lines of
B specification, covering the abstract and the concrete
model, and 87,000 lines of ADA code. The refinement was
entirely validated by formal proofs. The B tool automatically
proved 28,000 lemmas and 65% of the rules added to dis-
charge proofs. Many errors were found thereby, and fixed in
the concurrent development. In addition, a conventional test-
ing process was deployed and not a single error was found.
The success of this formal development might be explained
by the unusual combination of success factors. The B speci-
fication language has a simple mathematical basis that
allows engineers to use it after a reasonably short period of
training; the specification technique is multi-level and makes
it possible to smoothly move from an abstract model up to
code in a provably correct way; methodological support was
provided in the form of guidelines and heuristics to guide the
development and validation processes; a development/vali-
dation process model was first designed explicitly and inte-
grated in the company's process model to accommodate
conventional practices such as testing (the lack of such inte-
gration has been recognized to be a serious obstacle to the
adoption of formal methods [Cra95]); last but not least, the
process was supported by powerful tools.

Profile

109: (Default)
109

March 2019

S M T W T F S
     12
3456789
101112131415 16
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags