[ prog / sol / mona ]

prog


Do you guys use pen and paper to write code?

1 2024-02-20 16:34

You guys usually use pen and paper to write and study code before punching the keys into the screen, right?

2 2024-02-20 19:36

Nope. I don't even stop to think. I'm always wearing my Model M keycap brass knuckles so I can smash glass at a moment's notice.

3 2024-02-20 20:12

I do write out code when I'm bored, or am working on something small without a computer (which is rare), but not often

4 2024-02-21 03:39

>>1

use pen and paper to write and study code

Why would you do that?
It's so much effort to write out the code twice (once on paper, once on computer).
When writing on paper, there is no compiler to tell you the errors. No incremental feedback.

5 2024-02-21 03:48

>>1
I just think about the code until it's time to enter it into the computer. I can remember the basic fundamentals of programs for years, and I've still yet to put some into the computer.

6 2024-02-21 12:29

I do most of my designing on paler, of course, but I seldom write a complete function, usually just an outline of the most important ones, and I omit the parentheses for the most part because it's twice as annoying writing them on paper.

7 2024-02-21 13:10

>>4

he doesn't compile code in his head

truly lost.

8 2024-02-22 11:48 *

>>7
Who are you quoting?

9 2024-02-22 14:58

>>1

use pen and paper to write and study code before punching the keys into the screen

Better way #1: use pen and paper to write and study code before using OCR to turn the writings into text files.

Better way #2: use a stylus to write and study code on a touchscreen before using OCR to turn the handwriting into text files.

10 2024-02-22 18:32

>>8
g-d

11 2024-02-22 18:35

>>8
4chins detected

12 2024-02-22 18:44

>>9
An even better way, would be if there was a stylus that can turn my gibberish writing into text when I'm done.

13 2024-02-23 01:21

Even better way: dictate it all to an AI

14 2024-02-23 10:02

I use Emacs.

15 2024-02-23 15:14

>>14

       _.-._
      | | | |  _
      | | | | / |
      | | | |/ /`
    _ |     ` |
    \`\       ;
     \        |
      \      /
       |    |
       |    |
16 2024-02-24 05:22

The curse of knowledge that I have is that I'm more intelligent than everyone in this site.
https://l-2d.glitch.me

17 2024-02-24 14:50

>>16 nice try, virus. jokes on you I'm using Mac.

18 2024-02-24 23:27 *

>>17
I didn't ask if you were a lesbian. There's >>/sol/ for that.

19 2024-02-25 13:35

>>17
it's actually just some drawings in a sort of web based paint app

20 2024-02-26 19:34

Yes. I don't need more.

21 2024-02-27 19:53

>>20
based.

22 2024-02-28 13:00

flowcharts are amazing if you write in C.
Anything but C makes you a sore loser.

23 2024-02-28 15:30

I dictate it to the maid.

24 2024-02-28 21:01

As a practitioner of declarative programming, a bunch of code monkeys compile my every utterance into code. The use of pen and paper is merely an implementation detail in this symbiotic monkey-computer cluster.

25 2024-02-28 23:13

>>23 does she keep the code clean and nice?

26 2024-02-29 20:53

DRAKON (Дружелюбный Русский Алгоритмический язык, Который Обеспечивает Наглядность)

27 2024-03-01 01:38

>>26
Babushka, I don't speak Chinese.

28 2024-03-01 01:39

>>22
I agree, look what at >>26 posted, very interesting.

29 2024-03-01 06:56

DRAKON
https://en.wikipedia.org/wiki/DRAKON

30 2024-03-07 00:50

Programs must be written for people to read, and only incidentally for machines to execute.

Therefore, you should inscribe code into stone to make the code last longer.

31 2024-03-07 11:15

>>29

It is painful just to think such abomination exists.
And then people actually use such diagrams to program Unity games!!!

The foremost proof Cenobite Occupation Government is here to torture you.

32 2024-03-07 11:36

>>31
Software doesn't stop being software just because the text is encapuslated into a literal box and logic is connected with literal lines. I look at this on the level that it's Turing-complete and therefore it's all equivalent.

33 2024-03-07 12:01

>>32

It just becomes more obscure and magic like.

34 2024-03-07 17:35

>>31
You should use Blockly to generate Scheme code!
JavaScript, Scheme, and diagrams. Don't you love it?
https://developers.google.com/blockly
https://en.wikipedia.org/wiki/Blockly

35 2024-03-12 10:50

>>30
Who said I don't? I write code on goat's skin, it tends to smell horrible in here but it's worth it. just finished doing my own implentation of ed(1), it took only one dead goat.

36 2024-03-12 13:34

>>35

goat's skin

Writings on goat's skin won't last as long as stone inscriptions.

37 2024-03-15 01:21

insceibing code on stone would be a great idea, but we would need to inscribe the formal specification of the language as well.

38 2024-03-15 01:24

And also inscribe each revisedⁿ report as well.

39 2024-03-15 12:39

>>34
JavaScript is truly the most powerful programming language.

40 2024-03-17 03:35

We should build a grand monument in honor of the Scheme programming language. Scheme's greatness would be remembered for eternity. Imagine a large stone temple, containing a library full of stelas with Scheme literature inscribed. It would be a place where priests could dedicate their lives to studying Scheme, and a place of pilgrimage for laypeople who have programming problems. It would be a wonder of the world, rivaling the great pyramids.

41 2024-03-18 11:14 *

>>40
Do an open source reimplementation of Gran Theft Auto 4.

42 2024-03-18 13:09

>>41
This

43 2024-04-09 07:57

I don't see a point in writing _code_ on paper. If I need to write stuff down to understand it, I draw control flow graphs or equations to help me understand the algorithm or program.
>>26
>>29
I could never get into flowchart programming though. In spite of the fact that it is a theoretically superior mode of interaction. Maybe because all the flowchart programming software is just the same old programming except you replace the CDR with an edge in the graph.

44 2024-04-09 12:56

I sometimes draft up the algorithm and go through my thinking on paper, then implement it as code.

45


VIP:

do not edit these