Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #36484

Re: hash map

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: hash map
Date 2017-04-18 01:20 +0000
Organization A noiseless patient Spider
Message-ID <od3pkf$46n$1@dont-email.me> (permalink)
References (8 earlier) <1bcffbc0-a529-4185-87f2-8e1d66bf319d@googlegroups.com> <od2p1h$uu7$1@dont-email.me> <92da5574-f874-49a4-9a70-492a154f166e@googlegroups.com> <od3i84$i6i$1@dont-email.me> <od3m8o$1j99$1@gioia.aioe.org>

Show all headers | View raw


On Mon, 17 Apr 2017 20:22:50 -0400, Arne Vajhøj wrote:

> On 4/17/2017 7:14 PM, Martin Gregorie wrote:
>> If you are essentially teaching yourself to write programs for your own
>> pleasure and to understand the way to do it, you can do a lot worse
>> than to get a copy of "The C Programming Language" edition 2 by Brian
>> Kernighan and Denis Richie, download a C compiler and work your way
>> through the book, writing, compiling and running the examples in each
>> chapter. This is, quite simply, the best written book on learning to
>> program that I know, and as a small (270 page) paperback its not a huge
>> investment.
>>
>> If you stick with C and, after that, read and work your way through
>> "The Practice of Programming by Kernighan and Pike, you'll not only
>> know how the program, but how to write readable, well-structured
>> programs and how to make them easy to test as well.
>>
>> At that point you'll be equipped to learn and work with different
>> programming languages and have the basis for using them fro solving
>> almost any programming problem.
>>
>> I know this is off-topic for this newsgroup, but if I knew any book
>> that covered programming in Java as well as "K&R C ed. 2" covers C I'd
>> have recommended that.
> 
> If one was to learn a simpler procedural language before going for a
> more complex object oriented language, then I would suggest Pascal not
> C.
> 
Fair enough, but can you recommend any readily obtainable Pascal book 
that's as good as either edition of the K&R C book? Some of the O'Reilly 
books come close but that's about it. 

As I said, if I knew of a Java book that could approach that standard, 
I'd have recommend it. I know some other excellent programming books, 
such as "A Very Informal Introduction to Algol68", the aforementioned 
"The Practise of Programming" and Sedgewick's "Algorithms", but none of 
these are suitable for a self-teaching beginner, let alone my other most-
referenced book apart from manpages, "UNIX Systems Programming for 
SVR4" (still relevant over 30 years later).

BTW, I don't much care what language somebody programs in: I alternate 
between C and Java with a bit of SQL and PHP on the side, but if they 
know an interesting new approach I haven't seen, bring it on!

HOWEVER, as Pablo has a looming test to pass and so turns out to be a 
student who (hasn't been paying attention|has a bad teacher|has some 
other problem|dogs ate his homework) anything I said isn't relevant.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

hash map pablo <pa24959122@gmail.com> - 2017-04-16 11:53 -0700
  Re: hash map Martin Gregorie <martin@address-in-sig.invalid> - 2017-04-16 19:10 +0000
  Re:hash map omegajunior <omegajunior@protonmail.com> - 2017-04-16 17:11 -0400
    Re: hash map pablo <pa24959122@gmail.com> - 2017-04-17 04:31 -0700
  Re: hash map Eric Douglas <e.d.programmer@gmail.com> - 2017-04-17 05:11 -0700
    Re: hash map pablo <pa24959122@gmail.com> - 2017-04-17 05:32 -0700
      Re: hash map Eric Douglas <e.d.programmer@gmail.com> - 2017-04-17 05:58 -0700
      Re: hash map Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-04-17 09:10 -0400
        Re: hash map pablo <pa24959122@gmail.com> - 2017-04-17 06:53 -0700
          Re: hash map Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-04-17 10:15 -0400
            Re: hash map pablo <pa24959122@gmail.com> - 2017-04-17 07:25 -0700
              Re: hash map Eric Douglas <e.d.programmer@gmail.com> - 2017-04-17 07:46 -0700
              Re: hash map Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-04-17 10:54 -0400
                Re: hash map pablo <pa24959122@gmail.com> - 2017-04-17 08:29 -0700
                Re: hash map Eric Douglas <e.d.programmer@gmail.com> - 2017-04-17 08:44 -0700
                Re: hash map Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-04-17 12:07 -0400
                Re: hash map pablo <pa24959122@gmail.com> - 2017-04-17 09:32 -0700
                Re: hash map Martin Gregorie <martin@address-in-sig.invalid> - 2017-04-17 23:14 +0000
                Re: hash map Arne Vajhøj <arne@vajhoej.dk> - 2017-04-17 20:22 -0400
                Re: hash map Martin Gregorie <martin@address-in-sig.invalid> - 2017-04-18 01:20 +0000
                Re: hash map Arne Vajhøj <arne@vajhoej.dk> - 2017-04-18 20:01 -0400
                Re: hash map Martin Gregorie <martin@address-in-sig.invalid> - 2017-04-19 09:02 +0000
                Re: hash map Eric Douglas <e.d.programmer@gmail.com> - 2017-04-18 04:54 -0700
                Re: hash map Arne Vajhøj <arne@vajhoej.dk> - 2017-04-18 20:03 -0400
                Re: hash map Martin Gregorie <martin@address-in-sig.invalid> - 2017-04-19 08:55 +0000
                Re: hash map Eric Douglas <e.d.programmer@gmail.com> - 2017-04-19 04:45 -0700
                Re: hash map Arne Vajhøj <arne@vajhoej.dk> - 2017-04-18 20:05 -0400

csiph-web