Loading...
Pages: 1 [2] 3 4   Go Down
Author Topic: Why good style is important ...  (Read 2644 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 138
Posts: 19067
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.

Global Moderator
Melbourne, Australia
Offline Offline
Shannon Member
*****
Karma: 219
Posts: 13896
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: 16
Posts: 3196
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: 16
Posts: 3196
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: 1
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," Alice answered.
"Then," said the cat," it really doesn't matter, does it?"

-Lewis Carrol

0
Offline Offline
Faraday Member
**
Karma: 16
Posts: 3196
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: 27
Posts: 5080
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

Global Moderator
Melbourne, Australia
Offline Offline
Shannon Member
*****
Karma: 219
Posts: 13896
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

kthxbye
Logged


IRL
Offline Offline
Full Member
***
Karma: 0
Posts: 138
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: 138
Posts: 19067
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.

IRL
Offline Offline
Full Member
***
Karma: 0
Posts: 138
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: 138
Posts: 19067
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.

South Texas
Offline Offline
God Member
*****
Karma: 8
Posts: 976
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: 138
Posts: 19067
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.

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

What's a pocket protector?

/can't tell if serious...
Logged

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