[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
A message from @CodeMonkeyZ, 2ch lead developer: "How Hiroyuki Nishimura will sell 4chan data"
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1429118085261.jpg (54.85 KB, 616x519, 616:519, sapoe.jpg)

0ed897 No.2076

Do you guys know any project/program/app that you think it's useful to read and learn about it? For example, good coding standards or awesome implementation.

I'll start, if anyone here doesn't know the fast inverse square root of Doom III:
http://www.codemaestro.com/reviews/9

I'm looking for clean code in a not small project in Python, if anyone knows.

2e530e No.2261

File: 1430022230806.jpg (337.41 KB, 800x741, 800:741, pepes bees.jpg)

Bumpy


358836 No.2262

>>2076

>>2261

That's one of the advantages of open source software. Just pick your favorite and start reading.


7f8d2d No.2288

>>2262

I'm too newfag to read large programs. Do you know one that is small and clean?


0f6ecc No.2293

>>2076

>good coding standards

Avoid GNU like the plague.

>>2288

The most useful programs are large programs. There are very few small programs that are useful and even fewer that are clean. How do you conceptualize small vs large anyway?


004271 No.2308

>awesome implementation

if you liked that root hack check out Duff's device


66dae2 No.2348

>>2293

>Avoid GNU like the plague.

Anon, it's like you're saying 'echo' should be written in less than 250 lines or something.

>>2076

IMHO you should really just try to read a lot of different code, even if some of it is complete shit.

So basically >>2262

Don't worry too much if you can't understand it at first.


097ebf No.2355

File: 1430545281741.png (246.45 KB, 482x338, 241:169, whatisthepurposeofthismean….png)

>>2348

echo is written in > 250 lines?!?

seriously? or is this sarcasm I'm missing?


66dae2 No.2362

File: 1430582798881.png (77.19 KB, 1362x729, 454:243, 2015-05-02-120011_1362x729….png)

>>2355

>seriously?

Yes. Though strictly speaking, it's 213 SLOC.

To be fair, GNU echo does have extra features, like translating C escape sequences.

Why anyone would actually need that, especially considering that's exactly what the printf command-line tool is for, I don't know.


097ebf No.2385

>>2362

Huh… you learn something every day…


2a9281 No.2386

>>2076

Look at ChaiScript to learn how one can pass functions and exceptions to a scripting engine using templates.

Resulting error messages are not below 20 lines, though.


9c3e22 No.2388

>>2386

For C, this seems to be decent: https://www.cis.upenn.edu/~lee/06cse480/data/cstyle.ms.pdf

Also this site http://bxr.su/ is good for browsing various *BSD's code.

Board owner:

Is there any particular reason, why pdfs aren't enabled? And while you're at it, you could enable archives.


9430fc No.2389

>>2388

Is there any particular reason why you don't anwer to OP, but instead me?


9c3e22 No.2396

>>2389

Yep. That's what I clicked to get the quick reply thing and forgot to delete it.


06ffe6 No.2397

>>2388

pdf uploading is now enabled,


3169d0 No.2398

>>2396

To be fair, that's one of the annoying things about image boards invented in the 90s.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]