It is currently Thu May 01, 2025 4:28 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
Offline
 Post subject: Re: Go Developer Forums?
Post #21 Posted: Sat Apr 28, 2012 1:00 pm 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
Writing an LZ is a concrete algorithm, just like implementing the AES encryption scheme. Writing a go program, much like writing a game, or any other big project with fuzzy definitions is not solved by planning. I can plan on writing a neat MC scheme and decide what data structures to use, and what the memory management is, and whatnot. And when I'm finished (because with a thorough planning there is no point in prototyping unless you want to spend 2x time) find that the data structure I used has bad scaling for an MC engine. Then, to redesign the data accessors and structure. The new one works better, but tweaking of the tree genersting loop was needed, making it use 2x memory, making it nom-scalable. Repeat ad-nauseam.

When I started programming in my degree, we were assumed to plan ahead and "all this". Then I found out that in real world problems (mathematics in particular) it's better to get it done and then refine than plan and get it perfect. Because these plans rely on assumptions on what will work without having any working knowledge on the problem domain.

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: Go Developer Forums?
Post #22 Posted: Sat Apr 28, 2012 6:48 pm 
Lives in sente

Posts: 1045
Liked others: 0
Was liked: 182
This is going nowhere, clearly more a confusion of terminology than anything else, central to that the meaning of "abstract".

AFTER a complete abstract plan there may be a need for intermediate planning. I say may, because now we are talking about the experience and skill of the individual programmer. When you mention making an unwise choice of (real) data structures in your planning that can only be in this intermediate sort of planning. At the abstract plan level, data structures are still abstract, not committed to any particular real representation.

You (perhaps rightly) describe LZ2 as "simple". But even that has some subtleties that had best be noticed while still at the abstract level or likely to be bugs that are very mysterious and hard to fix (and unlikely to be detected by testing because you won't be testing for that special situation).

Michael

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group