How to push further as a programmer?

后端 未结 21 1526
傲寒
傲寒 2021-02-02 14:33

For the last, hmm, 6 months I\'ve been reading into Programming in C, I got myself K&Rv2, BEEJ\'s socket guide, Expert C programming, Linux Systems Programming, the ISO/IEC

相关标签:
21条回答
  • 2021-02-02 15:08

    Some project ideas:

    • Small database projects: contact list, DVD collection, etc. Emphasizes file I/O, searchable data structures, etc.
    • Simple calculator: Emphasizes interactive I/O, parsing, tree-like structures, etc.
    • Simple NNTP (Usenet) or chat client: Networking and protocols
    0 讨论(0)
  • 2021-02-02 15:09

    You need to challenge yourself with a bigger, more complex project. Working through code snippets, as most book examples tend to, will not get you far past the chapter exercises.

    You're working on being a book-smart developer. Do something real world and become street-smart!

    0 讨论(0)
  • 2021-02-02 15:10

    Code Hello World, then code Hello World distributed over a network, or in 3d, or using a database. Don't think things are too trivial until you've done them. Implement algorithms to make sure you know how. Do code you think is fun.

    0 讨论(0)
  • 2021-02-02 15:11

    What would really help you learn is to start a project. It could be anything, implementing a chat client/server, a unix shell, a simple program to store grocery lists, whatever. The point is by picking something that you are interested in and working to implement it, you will be surprised how much you learn along the way, and you won't want to quit because you are working on something meaningful to you.

    Basically, you will only learn so much by reading. To gain true knowledge you will need to work through real problems.

    0 讨论(0)
  • 2021-02-02 15:12

    Try to implement a few non-trivial algorithms. I do not know what examples are included in the books, but you might try to write

    • An algebratic calculator. Input "sin(2) + 5! * 3^(1/2)" and you get 208.755394335 as an output.
    • A syntax-highliting text editor from scratch.
    • Write a PNG (or any other image or sound format) encoder/decoder from scratch.
    • Write an image editor (for instance flood fill is not entirely trivial)
    • ...
    0 讨论(0)
  • 2021-02-02 15:13

    "read" and practice what you read which is the best way.

    0 讨论(0)
提交回复
热议问题