Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Structure teh program

Name: Anonymous 2008-07-30 12:59

Dear /prog/, how do I learn to structure my shit properly?

Name: Anonymous 2008-07-30 13:00

Take a stick and refactor it into easily swallowed pieces.

Name: Anonymous 2008-07-30 13:00

Read a book.

Name: Anonymous 2008-07-30 13:44

Use [Tab]

Name: Anonymous 2008-07-30 14:03

>>4
You're in a lot of trouble.

Name: Anonymous 2008-07-30 18:04

>>4
Leah Culver?

Name: Anonymous 2008-07-30 18:07

>>4
FIOC?

Name: Anonymous 2008-07-30 18:09

>>6,7
same fag.

Name: Anonymous 2008-07-31 1:06

Use vim.

Name: Anonymous 2008-07-31 8:58

>>1
'########::'########::::'###::::'########::
 ##.... ##: ##.....::::'## ##::: ##.... ##:
 ##:::: ##: ##::::::::'##:. ##:: ##:::: ##:
 ########:: ######:::'##:::. ##: ##:::: ##:
 ##.. ##::: ##...:::: #########: ##:::: ##:
 ##::. ##:: ##::::::: ##.... ##: ##:::: ##:
 ##:::. ##: ########: ##:::: ##: ########::
..:::::..::........::..:::::..::........:::
:'######::'####::'######::'########::
'##... ##:. ##::'##... ##: ##.... ##:
 ##:::..::: ##:: ##:::..:: ##:::: ##:
. ######::: ##:: ##::::::: ########::
:..... ##:: ##:: ##::::::: ##.....:::
'##::: ##:: ##:: ##::: ##: ##::::::::
. ######::'####:. ######:: ##::::::::
:......:::....:::......:::..:::::::::

Name: Anonymous 2008-07-31 15:04

>>10
You're not helping.

Name: Anonymous 2008-07-31 15:06

>>11
He's right, though. I'm assuming >>1 has not read SICP already.

Name: Anonymous 2008-07-31 16:50

No seriously read SICP. In particular up to 2.2.3 which teaches breaking the problem into common discrete parts (i.e. patterns).

Name: Anonymous 2008-07-31 17:03

>>13
I think something like Code Complete may be more appropriate.

Name: Anonymous 2008-07-31 17:22

>>14
I think something like my anus may be more haxed

Name: Anonymous 2008-07-31 19:36

>>15
fuck, why do I laugh to these things. >.<

Name: Anonymous 2008-07-31 20:29

``Read SICP'' is actually the correct answer for OP's question.

Name: Anonymous 2008-07-31 20:38

>>17
Like it usually isn't.

Name: Anonymous 2008-08-01 1:06

>>13
k cool, reading this and hopefully it will help me improve my codingz

Name: Anonymous 2008-08-01 2:18

>>13
That's not what patterns is.

Name: Anonymous 2008-08-01 10:17

This book is for you who want to write the next killer app for
Internet, eCommerce, B2B, WAP, Bluetooth, and what-have-you.  Did you
know that most of those applications you use, be it Netscape, IE,
Word, Excel, VB, Shockwave, SQL Server, IIS, Servlet, etc., etc., are
all written using structured programming, the technology taught in
this book?  Almost no computer program nowadays don't use some form of
structured programming such as loops and subroutines.  So if you are
out to design the next killer application, this book is for you.
Written by CS celebrities, highly-acclaimed researchers and
innovators, and ACM Turing Award winners (widely regarded as the CS
equivalent of Nobel prize laureates) such as O. J. Dahl (inventor of
OOP, and more), C. A. R. Hoare (inventor of preconditions and
postconditions, and more) and E. W. Dijkstra (inventor of the Dijkstra
shortest-path algorithm, the dining philosopher problem, the mutex,
and more), this book is the crystallization of the experience and
wisdom of the programming pioneers and giants who wrote applications,
compilers, and OSes --- and proved them correct (bug-free) --- before
you were born, and is an indispensible investment of your money and
time.

Name: Anonymous 2008-08-01 20:13

E. W. Dijkstra
inventor of the dining philosopher problem
How posh.

Name: Anonymous 2008-08-02 6:11

>>20
He's talking about spotting recurring patterns and abstracting them away into separate algorithms.The PATTERNS you think of are band-aids for ENTERPRISE language deficiencies.

Name: Anonymous 2008-08-02 6:31

>>23
Every language has programming patterns; ask Norvig!

Name: Anonymous 2008-08-02 6:48

>>24
He isn't available at the moment but I've found this in his slide:
[url]http://norvig.com/lisp_talk_final_files/Slide0020.gif[/url]

Name: Anonymous 2008-08-02 6:53

>>25
[url]

Name: Anonymous 2008-08-02 7:00

>>25
Try looking at Design Patterns in Dynamic Programming Languages[1]

[1] - http://norvig.com/design-patterns/ppframe.htm

Name: Anonymous 2008-08-02 8:35

>>25
[url] is not part of R5RB.

Name: Anonymous 2008-08-02 8:37

>>27
Peter Norvig won't return my e-mails. ;__;

Name: Anonymous 2008-08-02 11:00

>>29
That is stealing! Call the police.

Name: Anonymous 2008-08-02 12:23

>>27
I read it and I think I see what you're getting at. But most patterns in that that presentation we're classified as invisible in dynamic languages. Look at his example of subroutines. You had to figure out how to implement them but now they're in every language. Now look at his comparison of the abstract factory in C++ and dynamic languages. The code shows no sign of a design pattern in the latter.

Name: Anonymous 2008-08-03 2:32

>>27
This will help me to write code that doesn't look like shit?

Name: Anonymous 2008-08-03 14:02

>>32
No, because you're writing enterprise Sepples.

Name: Anonymous 2008-08-03 16:10

>>33
oh right, I'd rather write pure C

Name: Anonymous 2008-08-04 13:04

PRACTICE MAKES PERFECT

Name: Anonymous 2008-08-05 15:09

>>35
Or does it?

Name: Anonymous 2008-08-06 2:09

>>34

Nice, I'd rather get shit done

Name: Anonymous 2008-08-11 23:18

>>37
same here brah

Name: Anonymous 2008-08-18 0:36

yeah, wow, nothing helps me

Name: Anonymous 2008-08-18 4:54

>>35

Not if you're retarded

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List