Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters
Register

Reply
 
LinkBack Thread Tools
Old 20.04.2005, 14:00   #1
ЙЦУКЕН
 
Join Date: 07 2002
Location: 0x68,0x69,0x72, 0x69,0x6e,0x67, 0x20,0x6e,0x6f, 0x77
Age: 47
Posts: 3,118
Downloads: 0
Uploads: 0
Reputation: 5 | 0
Default хакерский способ написания программ

собственно говоря речь шла о дизайне больших систем на языке .., а хотя в общем язык программирования тут ни при чем

Quote:
.............
The other thing is write clear specifications as you go - as you develop the program
you will get sudden flashes of insight "ah ha - That's what it should do" - if you are on
the right track carry on. If not throw away ALL your code and start again.

Oh and listen to your subconscious - if you get the " this is not right but I don't know why "
feeling - stop - conversely if you get the " I know this is right " feeling don't stop, just
turn off your brain and type the code in.

There is a mis-conception - the best programs "write themselves" so they need no design
they have always been and they will always be - you just have to see them and write them down.
At first you grope blindly and then you see them.

(This is the Platonic view of programming - that programs have a priori existence,
we don't invent them, they have always been, we perceive them and write them down

<this is the reason why two independent programmers when given a problem to solve
often produce identical (to within renaming of parts) programs - since there is
only one solution - the correct solution>


/Joe
Reply With Quote
Old 20.04.2005, 19:01   #2
★★★★★★★★★★★★★
 
Hrach_Techie's Avatar
 
Join Date: 08 2004
Location: London, UK
Age: 38
Posts: 16,531
Downloads: 8
Uploads: 0
Reputation: 482 | 6
Default

Quote:
Oh and listen to your subconscious - if you get the " this is not right but I don't know why "
feeling - stop - conversely if you get the " I know this is right " feeling don't stop, just
turn off your brain and type the code in.

There is a mis-conception - the best programs "write themselves" so they need no design
they have always been and they will always be - you just have to see them and write them down.
At first you grope blindly and then you see them.

(This is the Platonic view of programming - that programs have a priori existence,
we don't invent them, they have always been, we perceive them and write them down

<this is the reason why two independent programmers when given a problem to solve
often produce identical (to within renaming of parts) programs - since there is
only one solution - the correct solution>
da a ja dumal mnogije pishut kiss-om a potom uzhe dobavljajut po xodu //
Reply With Quote
Old 20.04.2005, 19:51   #3
ЙЦУКЕН
 
Join Date: 07 2002
Location: 0x68,0x69,0x72, 0x69,0x6e,0x67, 0x20,0x6e,0x6f, 0x77
Age: 47
Posts: 3,118
Downloads: 0
Uploads: 0
Reputation: 5 | 0
Default

kiss - ето тоже методика ))
там кстати гдето смайлики были но я их не поставил
Reply With Quote
Old 20.04.2005, 20:17   #4
инсценирующи
 
[ Xelgen ]'s Avatar
 
Join Date: 07 2002
Location: Fireplace of Ecotopia
Age: 31
Posts: 4,327
Downloads: 22
Uploads: 0
Reputation: 193 | 4
Default

а что есть "kiss"?
Reply With Quote
Old 20.04.2005, 20:23   #5
ЙЦУКЕН
 
Join Date: 07 2002
Location: 0x68,0x69,0x72, 0x69,0x6e,0x67, 0x20,0x6e,0x6f, 0x77
Age: 47
Posts: 3,118
Downloads: 0
Uploads: 0
Reputation: 5 | 0
Default

keep it simple, stupid
Reply With Quote
Old 21.04.2005, 06:36   #6
Честный Кот
 
Reckon_'s Avatar
 
Join Date: 04 2004
Location: Yerevan
Age: 41
Posts: 1,844
Downloads: 0
Uploads: 0
Reputation: 165 | 3
Default

А почему только "хакерский" способ? Интуиция играет важную роль даже при работе в очень серьезных конторах со своими строгими "design flow", где
слово "хакер" вызывает ужас.

Last edited by Reckon_; 21.04.2005 at 06:50.
Reply With Quote
Old 21.04.2005, 07:28   #7
★★★★★★★★★★★★★
 
Hrach_Techie's Avatar
 
Join Date: 08 2004
Location: London, UK
Age: 38
Posts: 16,531
Downloads: 8
Uploads: 0
Reputation: 482 | 6
Default

а если изначально в любом строгом design flow проблемы начинаются со спека - в этом joe прав. в основоном больше половины ошибок из-за неправильного описания требований и непонимания их имплементатором будь то ртл си или тест бенч райтеры особенно в интернациональных компаниях ... мне часто приходится читать такие спеки написанные индийцами китайцами и даже американцами - правильно анализировать и излагать свою мысль умеют немногие от того большинство привыкло работать как у нас так и у них по алгоритму - расскажи мне алгоритм напишу тьебе что хочешь а потом уже под конец начинаются дебри по выявлению языковых недопониманий и исправлений - в итоге задержка клиент не дооволен ищут кого кто разберётся в этом хаосе цепляют лингвиста журналиста с хорошим английским и плохим бэкграундом ну и так далее - даже в самом универсальном дизайн флоу - первая проблема начинается со спека и с языка ...
Reply With Quote
Old 21.04.2005, 08:13   #8
ЙЦУКЕН
 
Join Date: 07 2002
Location: 0x68,0x69,0x72, 0x69,0x6e,0x67, 0x20,0x6e,0x6f, 0x77
Age: 47
Posts: 3,118
Downloads: 0
Uploads: 0
Reputation: 5 | 0
Default

меня очень развеселило именно вот это предложение ))

Quote:
(This is the Platonic view of programming - that programs have a priori existence,
we don't invent them, they have always been, we perceive them and write them down
Reply With Quote
Old 21.04.2005, 08:27   #9
the mochinger
 
Hans Andersen's Avatar
 
Join Date: 02 2002
Location: Paranoid Android, @10:50
Age: 38
Posts: 1,894
Downloads: 2
Uploads: 0
Reputation: 204 | 4
Default

prichem tut "xakerskij"?
Reply With Quote
Old 21.04.2005, 08:40   #10
ЙЦУКЕН
 
Join Date: 07 2002
Location: 0x68,0x69,0x72, 0x69,0x6e,0x67, 0x20,0x6e,0x6f, 0x77
Age: 47
Posts: 3,118
Downloads: 0
Uploads: 0
Reputation: 5 | 0
Default

ochen' rekomenduju pochitat' Eric-a Raymonda na predmet opredelenija slowa hacker i proizwodnyh ot nego tut byl neskol'k odrugoj smysl
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 17:42.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.