flat assembler
Message board for the users of flat assembler.

Index > Heap > Source code readable or not ?


Source code readable or not ?
Yes, readable
73%
 73%  [ 11 ]
No
26%
 26%  [ 4 ]
Dont Know
0%
 0%  [ 0 ]
Total Votes : 15

Author
Thread Post new topic Reply to topic
hopcode



Joined: 04 Mar 2008
Posts: 563
Location: Germany
hopcode
Hallo All,
a question for all of us:
Should be the source code of a project readable and available to be studied
for all or not ? Why Yes, Why Not ?
Could You tell in few lines your opinion about ?
Yes or not, have You any source code available on the net (for example like,
on sourceforge or fasm source code) to be readed ?
Thankx, in advance
Regards,
hopcode
Post 26 Mar 2009, 06:37
View user's profile Send private message Visit poster's website Reply with quote
sinsi



Joined: 10 Aug 2007
Posts: 693
Location: Adelaide
sinsi
If I can read my own code without comments, this is a plus.
If anyone can't, then they are not as smart as I am (or as drunk I guess...)

Do not drink-and-code (but some amazing things come out of it Very Happy)
Post 26 Mar 2009, 06:43
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2141
Location: Estonia
Madis731
Should be readable after the coder dies, otherwise it doesn't matter.
This is the way corporations work - you have to write everything down. Because when you hold it in your head ... and you decide to leave in whichever manner, the work can continue.
Post 26 Mar 2009, 07:10
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> source code available on the net (for example
> like, on sourceforge or fasm source code)

YES.

> to be readed

to be read Shocked
Post 26 Mar 2009, 14:21
View user's profile Send private message Reply with quote
buzzkill



Joined: 15 Mar 2009
Posts: 111
Location: the nether lands
buzzkill
I think source code should always be readable, I can't think of a reason why anyone would want their code to be unreadable... If it's available for study, all the better ofcourse. (I'm a big fan of the FOSS way of doing things, and use linux and (almost exclusively) free, open-source software myself).
Post 26 Mar 2009, 16:32
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8897
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
i guess everybody standard of source code readability is quite different. so, can't apply one standard to all programmers.
Quote:

I can't think of a reason why anyone would want their code to be unreadable

those brainf*** language seems to set this as their goal Wink

mOoo
MooOOooO
mooooOooOoo
Post 26 Mar 2009, 16:39
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
Source code - readable,
executable code - obfuscated.
Post 26 Mar 2009, 17:39
View user's profile Send private message Visit poster's website Reply with quote
buzzkill



Joined: 15 Mar 2009
Posts: 111
Location: the nether lands
buzzkill
MHajduk wrote:
Source code - readable,
executable code - obfuscated.


I assume you're not an open-source kinda guy, then Very Happy
Post 26 Mar 2009, 18:58
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
buzzkill wrote:
I assume you're not an open-source kinda guy, then Very Happy
Yeah, that's truth. Very Happy
Post 26 Mar 2009, 19:21
View user's profile Send private message Visit poster's website Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
Every time i write code happen to enter into a kind of psychological trance, the day after I wrote some code I can not understand what I did Razz
Every time i write everything from scratch , isn't it cool Question

_________________
Nil Volentibus Arduum Razz
Post 26 Mar 2009, 19:46
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
I interpret the question as "should sourcecode be available to the public", whereas it seems a lot of people interpret it literally. Of course sourcecode should be readable, with decent comments and meaningful names.

As for open-sourcing... that depends entirely on the project. I don't believe that everything in the world has to be neither gratis nor open.
Post 26 Mar 2009, 21:55
View user's profile Send private message Visit poster's website Reply with quote
hopcode



Joined: 04 Mar 2008
Posts: 563
Location: Germany
hopcode
Thank You for Your feedback.I hope to hear something more
from You. I personally dont know whether the source code of a project
should be available to the public.
Anyway,I have not yet voted for the "Dont know" entry.

Yes,Yes,Yes
Under "free source", like for fasm or OpenOffice or on sourceforge, i mean
exactly as f0dder explains (thanks to f0dder)
f0dder wrote:
...should sourcecode be available to the public...

And i mean
free source = sourcecode available to the public

11.22 28/03/2009
Ok, after few days...
73% Yes
27% No

But i think that Your (all of You) opinion will be better
apreciated if You supply a link to Your free,available-to-the-public,code.
and possibly a readable one, available to be readed and studied Wink


I think that only facts could confirm the mere importance of Your opinion.

Is there anybody out there capable to persuade me of the "No" Entry ?
Regards,
hopcode
Post 28 Mar 2009, 10:39
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17273
Location: In your JS exploiting you and your system
revolution
I don't think it is correct to say yes/no/unsure for this. Neither option can be correct for all situations. It depends upon more things than a single vote here can say.

But one important thing to realise is that closed source code cannot expect to remain secret. ALL code is reversible, only the amount of effort required changes. If by chance obfuscated code becomes popular (like MS DVD decryption code) then it doesn't remain secret for very long.

Some people feel the need to obfuscate their code, for whatever reason, but it can only be temporary and also ultimately only serves to make others suspicious/curious of what is inside.
Post 28 Mar 2009, 10:59
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
I dunno, but it's extremely annoying when something breaks or has bugs and won't be fixed AND is abandoned. I think in such cases it would be much better to just release the sources. If it's not being used in other commercial projects, why the hell not?? Should it just rot away? (I wonder how people justify throwing away good working software at whim.)
Post 01 Apr 2009, 13:28
View user's profile Send private message Visit poster's website Reply with quote
buzzkill



Joined: 15 Mar 2009
Posts: 111
Location: the nether lands
buzzkill
rugxulo wrote:
I dunno, but it's extremely annoying when something breaks or has bugs and won't be fixed AND is abandoned. I think in such cases it would be much better to just release the sources. If it's not being used in other commercial projects, why the hell not?? Should it just rot away? (I wonder how people justify throwing away good working software at whim.)


Good point, that's one more argument for open-source.
(And even if the project is not abandoned, I find that open-source projects are often more responsive wrt fixing bugs than closed-source projects.)
Post 01 Apr 2009, 15:05
View user's profile Send private message Reply with quote
asmcoder



Joined: 02 Jun 2008
Posts: 784
asmcoder
[content deleted]


Last edited by asmcoder on 14 Aug 2009, 14:52; edited 1 time in total
Post 03 Apr 2009, 13:04
View user's profile Send private message Reply with quote
Azu



Joined: 16 Dec 2008
Posts: 1160
Azu
asmcoder wrote:
executable format should be simple, so unless you crypt it it would remain open source.
That's how things are already..
Post 04 Apr 2009, 12:01
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.