LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-28-2017, 05:37 PM   #91
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255

Quote:
Originally Posted by dugan View Post
I'll say this about 1970s stuff.

Most programmers would still agree that "separate logic from data" is a good general rule.

Colossal Cave, the first adventure game, which was written in Fortran, is an excellent example of that. Every string in the program is loaded from a tape.
Eventually, do you maybe still have the code by curiosity to have a look at the code?

--
Pub.Msg @dugan: look the book that I just found

Last edited by Xeratul; 07-28-2017 at 05:51 PM.
 
Old 07-28-2017, 05:57 PM   #92
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Several versions and ports here.

http://www.ifarchive.org/indexes/if-...esXsource.html
 
Old 07-28-2017, 06:05 PM   #93
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by dugan View Post
Your link is really amazing. There are lot of things on it.
 
Old 07-29-2017, 05:14 AM   #94
bloody
Member
 
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 172

Rep: Reputation: 25
Rule #11:

Don't flood programmer's forum threads with off-topics..
 
Old 08-01-2017, 09:08 AM   #95
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by bloody View Post
Rule #11:

Don't flood programmer's forum threads with off-topics..
Sometimes, programming make no sense maybe? Only on Monday we should programme.


Here it is a good example that programmes that do not offer a good compatibility, portability and which can be built without too much changes will remain.

xfmail is a good example. "Mark broken: does not build"
https://www.freshports.org/mail/xfmail
If maintainers cannot compile the application/software without too much changes, it'll stay otherwise a good programme can disappear forever. Because libraries are changing faster than the development of software, it is likely that a programme will not find always maintenance. Is it good? Mature programmers will say that of course possible maintenance/compilation has some importance.
 
Old 08-01-2017, 02:17 PM   #96
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Xeratul View Post
Here it is a good example that programmes that do not offer a good compatibility, portability and which can be built without too much changes will remain.

xfmail is a good example. "Mark broken: does not build"
https://www.freshports.org/mail/xfmail
If maintainers cannot compile the application/software without too much changes, it'll stay otherwise a good programme can disappear forever. Because libraries are changing faster than the development of software, it is likely that a programme will not find always maintenance. Is it good? Mature programmers will say that of course possible maintenance/compilation has some importance.
Yes, but it is also an example of a program that followed all your rules.

What does that say about your rules?

Last edited by dugan; 08-01-2017 at 06:35 PM.
 
Old 08-01-2017, 03:53 PM   #97
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by dugan View Post
Yes, but is also an example of a program that followed all your rules.

What does that say about your rules?
Not that working always.

It depends on the goals, project, funding, and operating system.
We can still compile very old programmes on old operating systems. On Unix, it is more difficult.
 
Old 10-14-2017, 02:08 PM   #98
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by dogpatch View Post
My list is much shorter. In descending order of importance, every good programmer should be:

1. Arrogant
2. Stubborn
3. Slightly crazy
4. Intelligent
You must love the SystemD team.
 
Old 10-16-2017, 03:42 AM   #99
YesItsMe
Member
 
Registered: Oct 2014
Posts: 915

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Quote:
Originally Posted by Luridis View Post
New Programmer: Whine! C/C++/Go is too hard, why can't we use java/node.js/C# to write low-level system code. I know! We'll make a language that converts into C, and call it Vala!
GnuCOBOL also converts into C.

Hmm...
 
Old 10-16-2017, 08:31 AM   #100
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
One rule that I have not seen in the discussion:

Aggregation is better than Inheritance.

I first learned it from one of my bosses. There are design-patterns which make use of the rule; the best implementation that I have seen was a complex state machine, organized as a tree structure with branches, leafs AND states implementing the same Interface, each being a composite of an arbitrary number of ... branches, leafs and states.

A filter/pipeline pattern was introduced by a second interface.

You provide a 1-liner C-macro to define your template-classes at compile-time and let the code explode. Impossible with Inheritance.

Nowadays with Ruby, there is anyway not much to win by deriving classes.

Last edited by Michael Uplawski; 10-16-2017 at 08:34 AM. Reason: compile-time
 
Old 11-06-2017, 05:12 PM   #101
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Larry Wall's opinion
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could this article be retitled "Ten Simple Rules for Getting Help from LQ"? allend General 1 06-13-2012 10:59 AM
I Look for a good programme of the networks finsh Linux - Networking 2 02-24-2008 01:33 AM
LXer: Ten BY TEN. India's IT & BPO Outsourcing. LXer Syndicated Linux News 0 12-26-2005 03:31 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration