Pages: 1 [2] 3 4   Go Down
Author Topic: Why good style is important ...  (Read 4834 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26350
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Think you know C?
Google "Duff's Device"   smiley-twist
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 485
Posts: 18810
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

+1 for speed.
-10 for obscurity.

smiley-wink
Logged


0
Offline Offline
Faraday Member
**
Karma: 24
Posts: 3488
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

IMHO

+0 for speed,
-1 for obscurity
Logged

Check out my experiments http://blog.blinkenlight.net

0
Offline Offline
Faraday Member
**
Karma: 24
Posts: 3488
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ah and
+5 for coolness factor smiley
Logged

Check out my experiments http://blog.blinkenlight.net

0
Offline Offline
Sr. Member
****
Karma: 2
Posts: 360
I'm 15. I like making things. I like breaking things better.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Think you know C?
Google "Duff's Device"   smiley-twist
I love Duff's Device. The first time you see it, you scratch your head. The second time you see it you cry because you can't understand it. The 50th time you see it you cry tears of joy because you finally understand the damn thing...and its beautiful.

On another note, not even the most obfuscated C around can top anything written in brainfuck. Someone ought to write an arduino brainfuck interpreter.
EDIT: I've found my project for the last days of March Break! Time to get brain$@%$&#*ed.   
Logged

Alice asked the Chesire Cat, who was sitting in a tree, "What road do I take?"
The cat asked, "Where do you want to go?"
"I don't know," Ali

0
Offline Offline
Faraday Member
**
Karma: 24
Posts: 3488
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, it is not so beautiful anymore. It was beautiful when compilers did no automatic loop unrolling. Nowadays it is archaic.

Brainfuck? Give whitespace http://compsoc.dur.ac.uk/whitespace/ a try smiley-wink
Logged

Check out my experiments http://blog.blinkenlight.net

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5581
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, it is not so beautiful anymore. It was beautiful when compilers did no automatic loop unrolling. Nowadays it is archaic.

Brainfuck? Give whitespace http://compsoc.dur.ac.uk/whitespace/ a try smiley-wink

Not quite as crazy as either of those two, but this one brought a smile to my face:

http://lolcode.com/

...still a work in progress. smiley-grin
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 485
Posts: 18810
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

kthxbye
Logged


IRL
Offline Offline
Full Member
***
Karma: 0
Posts: 146
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't even like human language poems, I mean the idea of people fiddling around for hours to impose some mentally correlation which does not really exist.

What I really  smiley-sad-blue in school was using big characters together with small characters for some kind of maths formula. No one sane would do this in a commercial programming project.

My opinion is most kind of fiddling is bad. At least for my purposes. There must be some hacking phreaking and reverse engineering- I am not going to have it.

I think RISC is quite cool you don't fabricate a sophisticated loop, you simply unroll it.

Obfuscating C code can be kind of a trap for students they think it's relevant.
OK I read it actually takes professional skills to write really obfuscated source.

"Writing Secure Code" also is interesting book to read (It's from Microsoft).

Logged

I also have PIC related web domain.

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26350
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
"Writing Secure Code" also is interesting book to read (It's from Microsoft).
Oh! The irony!
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

IRL
Offline Offline
Full Member
***
Karma: 0
Posts: 146
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
"Writing Secure Code" also is interesting book to read (It's from Microsoft).
Oh! The irony!

80msec automatic response: "All input is evil!"
(It's a quote from the book)
Logged

I also have PIC related web domain.

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26350
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

"Safer C" Les Hatton.
Interesting comments on unsafe Ada
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1025
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay folks - Since when did geeks ever have style??? As far as I know, pocket protectors were never stylish, they just helped us not lose the important stuff...
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26350
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What's a pocket protector?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5581
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What's a pocket protector?

/can't tell if serious...
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Pages: 1 [2] 3 4   Go Up
Jump to: