TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Which tools have made you a much better programmer?

385 点作者 karamazov将近 5 年前
Getting better at coding is usually a long, slow process of study and practice. However, sometimes I run into something that&#x27;s easy to understand and, once I&#x27;m using it, feels like I&#x27;ve leveled up.<p>A few personal examples are: * version control - specifically, reading up on git and understanding the more complex commands * debuggers * flame graphs for performance debugging * good code search<p>What have you added to your workflow that&#x27;s made you much more productive?

189 条评论

Jeaye将近 5 年前
- GNU&#x2F;Linux + i3wm; complete control over my programming environment.<p>- bash + GNU coreutils; seriously, take the time to be able to write helpful bash scripts which can run basically anywhere.<p>- git; use it even when you&#x27;re not pushing to a remote. Add helpful aliases for everyday commands. Build a good mental model of commits and branches to help you through tough merges. ( my ~&#x2F;.gitconfig: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;jeaye&#x2F;950300ff8120950814879a46b796b3c7" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;jeaye&#x2F;950300ff8120950814879a46b796b3...</a> )<p>- Regex; combined with bash and your GNU tools, a <i>lot</i> can be done.<p>- Vim; modal editing and vi-like navigation can blow open your mind. Explore the existing plugins to accomplish everything you want to be able to do. It&#x27;s all there. ( my ~&#x2F;.vimrc: <a href="https:&#x2F;&#x2F;github.com&#x2F;jeaye&#x2F;vimrc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jeaye&#x2F;vimrc</a> )<p>- Functional programming; if you&#x27;re new to this, start with Clojure, not one of the less-practical languages. This has made such a huge impact on the way I think about code, write code, and design code that it&#x27;s possibly the biggest one here for me.
评论 #23469013 未加载
评论 #23469792 未加载
评论 #23470671 未加载
评论 #23468608 未加载
评论 #23474619 未加载
评论 #23469453 未加载
评论 #23469629 未加载
评论 #23472861 未加载
评论 #23471933 未加载
scanr将近 5 年前
The Jetbrains suite. Lightens the cognitive load, makes it easier to refactor and keep code tidy. All of which allow me build better software.<p>For almost everything else e.g. git, learning how to use the command line instead of a UI is the best way for me to learn how the tooling works.
评论 #23470956 未加载
评论 #23470082 未加载
评论 #23472169 未加载
评论 #23468694 未加载
评论 #23469458 未加载
评论 #23474052 未加载
评论 #23469261 未加载
评论 #23469279 未加载
评论 #23472508 未加载
评论 #23472672 未加载
评论 #23470996 未加载
评论 #23470129 未加载
评论 #23472769 未加载
dgb23将近 5 年前
That would easily be using an integrated REPL.<p>The more integrated it is (with your IDE&#x2F;editor) the better the experience and productivity boost.<p>And the difference is quite large. When you are working with a language that has first class REPL support you start to<p>- &#x27;get&#x27; why Emacs exists<p>- become faster at writing code in general<p>- write much more experimental and open<p>- become more motivated in testing smaller assumptions and <i>asking questions</i> about your or other peoples code<p>With &quot;first class support&quot; there are three dimensions:<p>(1) The REPL and the editor&#x2F;IDE have to be understand each other well.<p>(2) The language itself has to be malleable and (de-)compose well in terms of syntax and idioms.<p>(3) many things in the language are first class expressions or in other words: there is a high degree of tangibility in the language constructs.<p>Most dynamic languages have workable&#x2F;decent support for REPL driven development so it is always worth testing out.<p>You find <i>excellent</i> support in: Clojure (and of course other Lisps) and Julia from my experience.
评论 #23469373 未加载
评论 #23470451 未加载
antirez将近 5 年前
Writing the overall design in plain English before writing the implementation. Not super detailed, but the main data structures and invariants and mechanisms that will make the implementation working. Then start the implementation refining such document as I discover new things.
评论 #23472138 未加载
评论 #23469365 未加载
评论 #23471672 未加载
评论 #23470275 未加载
评论 #23471090 未加载
评论 #23475512 未加载
评论 #23470759 未加载
amirathi将近 5 年前
Reading official documentation when working with new tools&#x2F;frameworks.<p>Googling every hurdle as it comes &amp; over relying on StackOverflow is neither effective nor satisfying. Some of the projects out there have amazing documentation (e.g. VueJS, Kafka). It&#x27;s best to read the overview &amp; skim high level stuff to understand the core components&#x2F;principles&#x2F;terminologies. It makes it so much easier &amp; enjoyable to use those tools.
评论 #23472259 未加载
评论 #23480375 未加载
tkainrad将近 5 年前
For me, the transition from Bash to Zsh has been a huge efficiency boost. Mainly because of some great plugins for Zsh, such as z, zsh-peco-history (better history search), zsh-autosuggestions, and zsh-syntax-highlighting.<p>My blog post about setting up a Linux workstation describes this in detail: <a href="https:&#x2F;&#x2F;tkainrad.dev&#x2F;posts&#x2F;setting-up-linux-workstation&#x2F;#swi.." rel="nofollow">https:&#x2F;&#x2F;tkainrad.dev&#x2F;posts&#x2F;setting-up-linux-workstation&#x2F;#swi...</a>.<p>The best thing is, there is no initial productivity hit. You don&#x27;t miss out on any shell features that you are accustomed to.<p>Also, learning complex IDE features really pays off. At the very least, become familiar with the debugger.<p>Finally, I spent the last months making <a href="https:&#x2F;&#x2F;keycombiner.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;keycombiner.com&#x2F;</a> in my spare time. It is an app for learning keyboard shortcuts and getting faster&#x2F;more accurate at using them. It already made me more productive because I learned a lot of new shortcuts and found some problems in my typing accuracy.
评论 #23470506 未加载
评论 #23471577 未加载
评论 #23471006 未加载
评论 #23473154 未加载
评论 #23473927 未加载
pathartl将近 5 年前
An actual debugger. I started as a PHP&#x2F;WP dev and spent many hours running results through echo or var_dump. IMO the debugger is the absolute first thing you need to learn about the platform you&#x27;re writing for. Without it, you&#x27;re taking shots in the dark and you truly don&#x27;t know how your code is executing.<p>It seriously pains me to see people not using one. I have a friend who is taking an online PHP backend class. There was one lecture on debugging, and all it consisted of was &quot;here&#x27;s what using var_dump looks like&quot;. I showed my friend how to actually set breakpoints in their JS code, set watches, etc and they felt cheated by their class. They should.
评论 #23471349 未加载
评论 #23471458 未加载
评论 #23472048 未加载
jtolmar将近 5 年前
Any profiler.<p>As a development tool: You can default to writing the majority of your code dumb, terse[1], and straightforward, even if you know there&#x27;s a clever algorithm you might be able to use, because that way is easier to debug. Computers are fast and N is usually smaller than you think, and when you apply the profiler you&#x27;ll find out that that the biggest performance problem isn&#x27;t the thing you were going to optimize anyway.<p>As a product tool: People are more likely to buy responsive programs. The state of modern websites is so bad that non-programmers will actually comment. Every tester for Space Trains[2] commented on how smooth it is. That&#x27;s a game, but I&#x27;ve seen the same comments on productivity software I&#x27;ve written.<p>[1] As in omitting layers, not as in omitting descriptive variable names.<p>[2] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=LRJP0tie-30" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=LRJP0tie-30</a>
评论 #23476495 未加载
the_pwner224将近 5 年前
TabNine: <a href="https:&#x2F;&#x2F;www.tabnine.com&#x2F;blog&#x2F;deep" rel="nofollow">https:&#x2F;&#x2F;www.tabnine.com&#x2F;blog&#x2F;deep</a> (the code are GIFs which I had to click to play)<p>This thing is fucking magic.<p>It&#x27;s ML autocomplete, with help from &#x27;traditional&#x27; autocomplete methods that use static analysis. Instead of just completing one token at a time like traditional completers, it can do entire sentences or multiple lines of code in one go, and is freakishly accurate. And since it parses language it helps you write comments, and can understand relations between code. E.g. if you are writing 2d movement code and you do x += dx it&#x27;ll automatically suggest y += dy for the next line based off of previous similarities; of course if you have x += [complex math formula] it&#x27;ll fix it up for y and convert cos to sin, etc.<p>Support for many editors, and easy to install in vim. Free for personal use. Works for all languages, including plain English (and maybe other non-code languages?).
评论 #23471652 未加载
评论 #23472268 未加载
评论 #23495037 未加载
评论 #23472105 未加载
nh2将近 5 年前
strace.<p>Even after having learned many programming languages and contributed to various projects, it was only when I started using strace that I felt like truly, efficiently understand what any program does, and can reliably write programs that do things fast.<p>I believe that &quot;syscall oriented programming&quot; (making your program emit exactly and only the right syscalls) results in clean, understandable software.<p>Now I use strace every day, as it is often the fastest way to figure out problems with any tool, written in any language, open-source or proprietary.<p>- Something hangs? strace shows how it&#x27;s hanging.<p>- Computer is slow? strace will likely show who&#x27;s the culprit spamming syscalls.<p>- &quot;Unexpected error occured&quot;? Bypass programmers doing poor error handling, and witness the underlying &quot;no such file or directory&quot; directly.<p>Last week I even used strace to debug why my leisure-time computer game wouldn&#x27;t load a mod, and as usual, strace did the job.<p>strace helps to really understand computers.<p>If you want to learn more about strace, check out Brendan Gregg&#x27;s pages like <a href="http:&#x2F;&#x2F;www.brendangregg.com&#x2F;blog&#x2F;2014-05-11&#x2F;strace-wow-much-syscall.html" rel="nofollow">http:&#x2F;&#x2F;www.brendangregg.com&#x2F;blog&#x2F;2014-05-11&#x2F;strace-wow-much-...</a>, my presentation for an intermediate-level example (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16708392" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16708392</a>) or my project to build a programmable strace alternative (<a href="https:&#x2F;&#x2F;github.com&#x2F;nh2&#x2F;hatrace" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nh2&#x2F;hatrace</a>).
评论 #23473584 未加载
评论 #23470871 未加载
评论 #23472886 未加载
hinkley将近 5 年前
If you consider processes as tools, there&#x27;s one that I suggest to junior programmers bucking for responsibility&#x2F;promotions.<p>Twenty minute cleanup. Nobody is really going to notice if you spent 5 hours or 5:20 on a task. As you&#x27;re closing up and getting ready to push your changes, look if there&#x27;s anything you can do to make it look or work nicer.<p>Eventually you start incorporating some of the lessons learned doing this into your implementations.
评论 #23468876 未加载
edw将近 5 年前
For many of the tools that have improved my productivity, it was not the tool that was the breakthrough but the <i>realization</i> of the tool’s value. For example, version control has existed since the beginning of time practically, and I begrudgingly used RCS, SCCS, VSS, and probably other version control systems for ten or fifteen years until I had that Eureka! moment (coinciding with Git’s release, roughly) that inspired me to actually <i>embrace</i> version control tools. A similar experience happened with automated testing: I’d gotten the testing-is-good bondage and discipline spiel many times, but it wasn’t until I started writing extensive units tests for language parsers that I realized how wonderfully empowering they can be.<p>That said, along with Git, I’d list Gdb (or LLdb or any real debugger), Emacs keyboard macros, Python’s venv facilities, and Django’s database migrations among the tools that changed my life.<p>Somewhat consistent with the it’s-not-the-thing-but-the-realization-of-the-thing’s-value theme above, I’d say reading the Practice of Programming back in ‘99 took my programming productivity to a new level, because it made me realize that one of the central tasks of an abstraction builder is creating a language that allows you to express thoughts in terms of that abstraction. Once you’ve done that, you “just” need to implement the language and all of the problems expressible in it become easy, even trivial.
robbyt将近 5 年前
Using multiple programming languages.<p>Using Golang has helped me create better data structures, and using C helped me understand linking, using python helped me understand closures, and using Ruby helped me understand that I hate programming.
评论 #23469791 未加载
评论 #23469686 未加载
评论 #23473406 未加载
louib将近 5 年前
The vi mode for Bash. Blew my mind when I discovered it and it probably saved me hundreds of hours already. I used to have multiple copies of this cheatsheet [0] at my desk for every new developer I would see editing a terminal command with the left and right arrows.<p>[0] <a href="https:&#x2F;&#x2F;catonmat.net&#x2F;ftp&#x2F;bash-vi-editing-mode-cheat-sheet.pdf" rel="nofollow">https:&#x2F;&#x2F;catonmat.net&#x2F;ftp&#x2F;bash-vi-editing-mode-cheat-sheet.pd...</a>
评论 #23470753 未加载
评论 #23470414 未加载
fouric将近 5 年前
magit (<a href="https:&#x2F;&#x2F;magit.vc&#x2F;" rel="nofollow">https:&#x2F;&#x2F;magit.vc&#x2F;</a>) - a git interface for Emacs. Hyper-interactive and ergonomic, feels like vim for git. Highly pleasurable to use and makes you significantly more efficient.<p>SLIME (<a href="https:&#x2F;&#x2F;common-lisp.net&#x2F;project&#x2F;slime&#x2F;" rel="nofollow">https:&#x2F;&#x2F;common-lisp.net&#x2F;project&#x2F;slime&#x2F;</a>) - a Common Lisp development environment, also for Emacs. Comes with a REPL, interactive debugger (way better than gcc), the normal IDE-like experience you know and love, and this fantastic tool called the Inspector that is basically an interactive, modal editor for your program data. The Inspector is one of the most novel and useful tools that a development environment can have... and I&#x27;ve never seen another IDE that has anything resembling it. SLIME gives you a highly interactive and fluid development experience that I&#x27;ve never seen anything else come close to.<p>Spacemacs (<a href="https:&#x2F;&#x2F;www.spacemacs.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.spacemacs.org&#x2F;</a>) - a starter kit for Emacs that gives you a <i>sane</i> out-of-the-box configuration and an optional pre-configured Evil (vim keybinding emulation) setup. Much more flexible and powerful than Vim (elisp, while a bad general-purpose language, runs circles around vimscript) and much better ergonomics than vanilla Emacs (Emacs&#x27; mode-less interface is just straight-up worse for your hands than Vim&#x27;s modal interface).
UYChuH将近 5 年前
If your after specific tools in a workflow...<p>- the :normal command in Vim and Evil. - learning to use tags to navigate code.<p>But more generally learning how to take something seemingly complex like Linux or Git and then delve in and read the code and understand how it <i>actually</i> works. Learning to read good technical books and manuals and understand how something was designed and how it was designed to be used.<p>Colleagues think I work magic; in reality I&#x27;m just as thick as they are, I just RTFM.
评论 #23469299 未加载
piinbinary将近 5 年前
I&#x27;m going to re-interpret the question more broadly than just &quot;tools&quot; (unless you consider a technique to be a kind of tool):<p>* Taking good notes<p>* Writing good plans, good documentation<p>* Sharing updates and coordinating with the right people at the right time<p>* Understanding an unfamiliar codebase<p>* Test frameworks<p>* Different design techniques (pure functions, dataflow programming, etc)<p>* The terminal and related features (like emacs bindings, or middle-click to paste last selection)<p>* Firefox&#x2F;Chrome devtools<p>* Emacs keyboard macros
评论 #23468705 未加载
评论 #23468759 未加载
评论 #23481152 未加载
typenil将近 5 年前
Most of my productivity gains these days has come from aligning myself and my workstation.<p>- i3wm (<a href="https:&#x2F;&#x2F;i3wm.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;i3wm.org&#x2F;</a>) - particularly getting comfortable editing the .i3&#x2F;config. It&#x27;s the most significant productivity change I&#x27;ve had since switching to Linux from Windows.<p>To get into it, I highly recommend this 3-part video series from Code Cast: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;j1I63wGcvU4" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;j1I63wGcvU4</a><p>- yadm (<a href="https:&#x2F;&#x2F;yadm.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;yadm.io&#x2F;</a>) - a dotfile manager. It&#x27;s essentially a git wrapper, but it&#x27;s allowed me tons of freedom tweaking my setup without worrying about persisting it.<p>It supports encryption and switching file versions based on which system you&#x27;re on.
评论 #23471924 未加载
l0b0将近 5 年前
<i>IntelliJ IDEA</i> has taken refactoring from being a chore to being trivial, consequently making me much more likely to clean up ugly code when I encounter it.<p><i>Black,</i> the Python code formatter, means I don&#x27;t have to spend a single brain cycle on styling the code.<p><i>mypy</i> (with a strict configuration) has forced me to think about types, making for code which is much easier to follow and integrate with. No more `if isinstance(list, param)` or similar faff.<p><i>Bash,</i> even with all its footguns, is a great lowest common denominator for getting a vast array of stuff done.
评论 #23471578 未加载
评论 #23483338 未加载
jordanpg将近 5 年前
Jetbrains IDEs have been mentioned already, but I&#x27;ll add a specific feature of Jetbrains IDEs, the Productivity Guide[0].<p>This contains a list of keyboard shortcuts and tracks your usage or non-usage of them, identifying various ways you can speed up your workflow in the IDE using keyboard shortcuts instead of the mouse.<p>Building on this, the Key Promoter[1] plugin will notify you when you could have used a shortcut instead of the mouse.<p>Reclaim seconds of your life wasted moving the mouse around.<p>[0] <a href="https:&#x2F;&#x2F;www.jetbrains.com&#x2F;help&#x2F;idea&#x2F;productivity-guide.html" rel="nofollow">https:&#x2F;&#x2F;www.jetbrains.com&#x2F;help&#x2F;idea&#x2F;productivity-guide.html</a><p>[1] <a href="https:&#x2F;&#x2F;plugins.jetbrains.com&#x2F;plugin&#x2F;9792-key-promoter-x" rel="nofollow">https:&#x2F;&#x2F;plugins.jetbrains.com&#x2F;plugin&#x2F;9792-key-promoter-x</a>
评论 #23470164 未加载
thewebcount将近 5 年前
The static analyzer. There are so many subtle things that aren&#x27;t caught by the compiler and don&#x27;t cause any problems in your testing but will definitely come up once 10M users are running your app. The static analyzer can catch some of them before you even run! It&#x27;s great.<p>The various sanitizers - Address Sanitizer, Thread Sanitizer, Undefined Behavior Sanitizer. These all also find things before you ship. They require (re)building and running but it&#x27;s worth it.<p>Beyond that, any sort of instrumentation that can show you in real time information about your running application. You can see memory growing, even if it&#x27;s not leaking. You can see performance tanking and know the exact function that&#x27;s causing it before you quit.<p>Beyond that, for me using a framework that was well written made understanding architecture much easier. I had used MFC and CodeWarrior PowerPlant for a few years. They got the job done and were easy enough to use, but I didn&#x27;t really learn anything from them. But when I moved to using Cocoa, it was so elegant and the separation of concerns was so good that it clicked and really taught me a lot about better architecture.
fosspowered将近 5 年前
PlantUML[1]: Drawing any diagram helps me to have something concrete as it makes me think of the various components, connections and the invariants. It also gives a bigger picture.<p>It is also very easy to learn and can be embedded anywhere rendered by Plant UML server or the rendering can be handled by your internal plant UML service.<p>[1] - <a href="https:&#x2F;&#x2F;plantuml.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;plantuml.com&#x2F;</a>
评论 #23469749 未加载
randylahey将近 5 年前
Choice of editor is subject to taste, but I find VI&#x2F;Vim keybindings and modal editing an absolute must-have for productivity.
评论 #23469990 未加载
评论 #23468686 未加载
评论 #23468640 未加载
daenz将近 5 年前
- rr, the time-travelling debugger[0]<p>- intellij, or any good ide. seriously, we underappreciate everything these tools do and can do for us.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rr_(debugging)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rr_(debugging)</a>
zoomablemind将近 5 年前
Better at coding and better Programmer not always converge.<p>To become a better programmer, I find _testing_ is a big booster. Not only it helps demonstrate compliance to specs, it also adds more confidence that you&#x27;re in control of the code. It let&#x27;s you experiment and change approaches.<p>Also I find a good help from _IDE_, even a simple as Geany [1], that lets me jump between the functions and also hint at the args. It saves time, and, again, adds confidence when exploring&#x2F;extending new code.<p>And finally, the most imporant booster - _learning my limits_.That is when it&#x27;s time to ask for help and not feel too defensive about peer review. This goes hand in hand with knowing what a good team is. Not just wishing for it.
1e-9将近 5 年前
My biggest improvement came from eliminating a tool. It was when I stopped using debuggers (except maybe once a year) and invested more time in creating efficient runtime error checks and internal self-tests. Debuggers make me lazy. I find I can solve the vast majority of my bugs more quickly with a little thought rather than running to a breakpoint and examining things.<p>Most useful tools:<p>- tmux<p>- vim<p>- catch (<a href="https:&#x2F;&#x2F;github.com&#x2F;catchorg&#x2F;Catch2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;catchorg&#x2F;Catch2</a>)
tchaffee将近 5 年前
Lately, using Jupyter notebooks. It&#x27;s a paradigm change, and pretty close to what I would imagine Donald Knuth had in mind with literate programming. Just for example, being able to see the shape of variables and having that output stay there between coding sessions is a huge time saver. Add being able to plot data and using other visual tools right inside your code and well, I could go on and on. Just try it. It&#x27;s like a REPL but with memory.
评论 #23471640 未加载
keithnz将近 5 年前
Resharper (and now all the various Jetbrains tools) - from the early days, this tool allowed you to aggressively and automatically refactor code. Before that, in the C# world ( and many other languages ), there was very little in the way of automatic refactoring tools. Not to mention it&#x27;s automatic suggestions on code transformations or more efficient use of the language are super useful.<p>Vim Bindings - While I often don&#x27;t use Vim, I use Vim binding in most any environment I use. I don&#x27;t know if it really made me a better programmer, but it improves the experience of programming.<p>Unit Testing tools - making code testable makes code modular.<p>Visual Studios Debugger, fantastic debugging tool from years and years ago. While I don&#x27;t use it as much anymore, it&#x27;s been a useful tool in understanding code.<p>Google Search, transformed the way to get information, coding information was hard to come by a few decades ago, now it is prolific.
desc将近 5 年前
I prefer to internalise useful ways of thinking rather than leaning too much on tools, on the grounds that the latter are easy-come-easy-go while the former can last a lifetime.<p>Learn to explain what you&#x27;re building, why, and more-or-less how it works in a context appropriate to the listener.<p>(Related: write things down. Again and again, differently, until you understand them.)<p>Problems and their solutions usually have similar structures.<p>Any fix right now might save a lot of money. The right fix next week could save years. Often both are appropriate, but the latter is nearly always most valuable.<p>The world does not change nearly as fast as your competitors want everyone to believe it does, but people&#x27;s beliefs can.<p>A tool which warns you of possible mistakes before consequences occur is always more valuable than a tool which tries to guess what you meant and does that instead.
agentultra将近 5 年前
If you think of languages like tools I find Haskell particularly productive. The type checker gives me a whole program view of every branch and I can interactively query my program thanks to strong inference and good tooling.<p>Mastering a good emacs setup has boosted my productivity with git and having OS-agnostic tooling for linting, debugging, shell, document publishing, email, etc.
dcchambers将近 5 年前
- git. Not just commit&#x2F;push&#x2F;pull on a single branch - but getting really good at using git is a game-changer.<p>- vim. I started off in linux sysadmin land before pivoting into more regular software engineering work, so I was very good as basic vi(m) stuff because it&#x27;s ubiquitous in linux&#x2F;unix servers. However I&#x27;ve learned its just as valuable as a full-blown IDE&#x2F;dev environment if you&#x27;re willing to invest in learning and configuring it. I think newer editors like Atom&#x2F;VSCode&#x2F;IntelliJ are still very valuable and great tools, but Vim really is incredible.<p>- An understanding of unix history. Maybe it&#x27;s just the type of work I do, but knowing why things are the way they are is incredidbly valuable.
评论 #23475929 未加载
zeroxfe将近 5 年前
- Version control<p>- Unit testing<p>- Leak detectors (for languages like C&#x2F;C++)<p>- Race detectors<p>- Auto-formatting (eslint, gofmt)<p>- A solid editor (prev: vim, now: vscode)<p>- One-step deployment scripts&#x2F;automation (even for small projects)<p>I have not found a lot of value in debuggers, outside of after-the-fact debugging (e.g., core files.) I much prefer printf-style debugging.
评论 #23471175 未加载
评论 #23470983 未加载
ninjakeyboard将近 5 年前
Learning functional programming will make you a better developer in all languages IMO. This is the single biggest vector for understanding how to write maintainable code.<p>Similarly learning design patterns will probably make you a worse programmer but learning the heuristics behind them (eg composition over inheritance) will make you a better programmer.<p>Learning DDD will make you a better programmer by understanding how to use bounded contexts to manage complexity as software grows.
furstenheim将近 5 年前
- tests in watch mode. Either with --watch if I&#x27;m doing js with mocha or inotify if I&#x27;m doing another language. Tests or compile should execute on save, which in turn I configure in autosave.<p>- making sure that I can execute everything from the console. It makes tickets reproducible, for my future me and my coworkers.<p>- go. Error handling in go has very bad press, mainly because it&#x27;s boring and repetitive. But one builds the habit of handling all cases.
评论 #23469845 未加载
catears将近 5 年前
I&#x27;ll add two really simple, but also very effective tools. Search: in the form of things like &quot;the silver searcher&quot; (<a href="https:&#x2F;&#x2F;github.com&#x2F;ggreer&#x2F;the_silver_searcher" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ggreer&#x2F;the_silver_searcher</a>) or &quot;fd&quot; (<a href="https:&#x2F;&#x2F;github.com&#x2F;sharkdp&#x2F;fd" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sharkdp&#x2F;fd</a>). And, Replace: with tools like sed (<a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;sed&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;sed&#x2F;</a>).<p>These are really simple tools but they are also very powerful. I have surprisingly often needed to change from version X.Y.Z to version A.B.C in some set of files (be it package.json or requirements.txt or *.csproj) and tools like these make it happen in an instant.<p>Most recently they have helped me with some spaghetti code where the software is used in several places and I need to ensure exactly which places use the KerfuffleManager. Can I trust my IDE to find all places where it is used? Maybe, but with proper search tools it stops being a trust thing.
评论 #23470578 未加载
Agentlien将近 5 年前
Vim. I felt like I was slowly going crazy due to the friction between my thoughts and the commands needed to navigate through the code. I was just looking for a tool to solve that and happened upon an article about Vim. A teacher had tried to show me Vim in high school, but I slowly backed away from his crazed stare. But now, I came to it of my own volition. It&#x27;s great. It feels like the one tool which allows me to freely express what I want without getting in the way. Add to this a suite of simple yet powerful tools, such as recursive macros, which mean I can usually automate tedious and repetitive tasks.
zenlot将近 5 年前
Emacs. Specifically Doom Emacs.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;hlissner&#x2F;doom-emacs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hlissner&#x2F;doom-emacs</a>
评论 #23469253 未加载
sam_lowry_将近 5 年前
Shell, awk, sed and textutils. They teach that programming is everywhere.<p>I have trouble understanding professional challenges of people that never had a chance to learn those. Like accountants struggling to merge tables or proposal writers painfully tuning document layouts.
评论 #23469594 未加载
nurettin将近 5 年前
I install the largest whiteboard I can find. My current office has one that is over 2 meters across. Having a huge space to discuss architecture is valuable.
评论 #23480498 未加载
p4l4g4将近 5 年前
- Solid editor: I&#x27;ve used a few editors and IDEs in the past. I think a learning to use a programmable editor is a better investment than learning to work with an IDE. IDEs are generally single purpose: working very good for a limited selection of languages, platforms, etc. Having a good editor at your disposal allows you to manipulate any text oriented (and sometimes binary) format. When your editor is programmable and has an active community, you can probably find a plugin to solve your problem more effectively or write something yourself, with your editor! With all your customizations in code, you can manage your editor in the same way as you manage your products: source control! This gives you the possibility to improve your daily working environment reliably and iteratively. IMO, Vim and Emacs are both very good options. Both were created decades ago and still have very active communities. Personally prefer Emacs and use vim on occasion for remote work.<p>- Learn basic vim and emacs keybinds: most interactive shells use readline (or similar) library. These shells often have emacs keybindings by default. Vim is often the alternative option. This was an eye opener while learning emacs: suddenly I started to understand how to efficiently navigate any shell, even remote systems, without configuration!<p>- Tcl: Easy to learn, hard to master and powerful! Syntax and semantics can be explained in 12 bullet points[1]. Bundled with the native tk library, its my goto language for quick-n-dirty GUI tools and prototypes. The &quot;every thing is a string&quot; principle makes it extremely flexible. Apart from quick-n-dirty, it&#x27;s also used for stable tools such as expects, gitk and environment modules. Even sqlite and redis started as tcl scripts!<p>- POSIX shell scripting and core utils: write once run anywhere.<p>[1] <a href="https:&#x2F;&#x2F;tcl.tk&#x2F;man&#x2F;tcl&#x2F;TclCmd&#x2F;Tcl.htm" rel="nofollow">https:&#x2F;&#x2F;tcl.tk&#x2F;man&#x2F;tcl&#x2F;TclCmd&#x2F;Tcl.htm</a>
评论 #23473030 未加载
rb808将近 5 年前
leetcode.<p>I hate I have to do these stupid exercises to be able to get a job, but I have learned some useful skills by looking at how I write code and comparing to faster solutions. It has changed how I write normal code, and helps me write automatically without thinking too much.
spaetzleesser将近 5 年前
For me it’s profilers. A lot of people keep optimizing their code without actually having hard data. Being good with a profiler has often allowed me to go in and get significant improvements quickly because I could attack the code section that really took a long time vs the code sections where <i>think</i> the time is going.<p>Also having detailed logging with time stamps helps a lot in identifying where the code spends most of its time.
评论 #23471083 未加载
MrQuincle将近 5 年前
That&#x27;s easy, every time I did something new I learned a lot.<p>First time<p>+ Linux.<p>+ Shell scripting.<p>+ Grep, regex<p>+ Embedded development, configuring ADC hardware, e.g.<p>+ FPGA, designing FSMs, adders, etc.<p>+ Reverse engineering anything. Use a logic analyser. I just learned the details on HDMI a week ago, for example.<p>+ Vim, and sticking to it in the beginning. :-)<p>+ Basic sysop stuff, ssh, rsync, dig, etc.<p>+ Cuda.<p>+ Tensorflow.<p>+ Javascript. Definitely if you come from a C angle. Playing with modern frameworks doesn&#x27;t hurt!<p>Of course those are not just tools, but they all help understanding what&#x27;s the best tool for the job. :-)
AdrianB1将近 5 年前
- Git - quite self-explanatory<p>- Visual Studio Code - I like more than the paid version (that I have a subscription for)<p>- SQL Server Management Studio execution plan modes - it is a gem that few people know about and even fewer can utilize it effectively to make 10 second queries run in 30 milliseconds.<p>- Composer (PHP) as my first encounter with package management, years ago.<p>- Notepad++ - the only mini-tool available in production<p>- Virtual machines and snapshots. Never fear again about ruining the work environment and helping a lot with having separate dev&#x2F;stage&#x2F;prod environments without breaking the bank. Also a way to split and separate my environments, the laptop is for emails, VM&#x27;s for everything else.<p>PS. I am not a programmer, I am officially a manager and mostly an architect, but I write code to keep current
评论 #23470092 未加载
kortex将近 5 年前
Immutable infrastructure &#x2F; functional programming &#x2F; crash-only code. In conjunction with lots of docker, ansible, studying FP, and trying to adopt these principles in all my main languages (python, go, c, c++, bash)<p>Those 3 ideas all kind of mushed together radically changed my overall approach to development. What do they all have in common? Avoiding complex state.<p>State is hard to reason about. Each piece of state that can interact introduces combinatorially-growing complexity.<p>Crash-only code may seem like the odd one out but think about it: if your program dying at literally any point has the potential for data corruption, you probably have some sort of issue with state management.<p>I guess you could call it anarchy coding, because it tries to completely eliminate state ;)
wruza将近 5 年前
- vim, grep, regex, cli (i.e. fundamental text tools, no “ide” plugins)<p>- no “intellisense“, only word completion<p>- write down my operative “what do I do now” stack on paper (helps to not lose yourself in a forest of thoughts and fixes)<p>The second one I found very effective, because instead of guessing what function or method does or how many of them are there, you go to man&#x2F;html docs and read on what it really is, how it works, and what its error modes are. This way I learn much more about APIs that I use, read rationales, caveats and more.<p>Also, intellisense when done wrong (and it often is) gets in your way and creates non-deterministic time-dependent <i>modes</i> for your input, even worse than vim-anxious people usually criticize it for.
easterncalculus将近 5 年前
I do think that your keyboard can help not only mitigate health risks associated with typing all day, but can make the actual act of writing code go from annoying to enjoyable. What works for you is a subjective question (I don&#x27;t think that mechanical keyboards are the best for everyone, if I&#x27;m hoenst), but a good keyboard can really go a long way.
评论 #23493718 未加载
bttrfl将近 5 年前
Pico. Without it, I&#x27;d still be searching how to quit vim :)<p>But jokes aside, all kinds of real-time log aggregators make big difference for me. Once upon a time, I had acquired first huge customer and had to set up analytics service as a single-tenant deployment. I acquired better servers than usual, installed the service and started processing the traffic only to find out that we can handle only 1&#x2F;50 of the contracted traffic. For the next 48h or so I pushed hundreds of changes to production and watched realtime charts in Splunk going from 1&#x2F;50, 2&#x2F;50 to 50&#x2F;50. I saved the contract and saved the company and went to bed.
simonw将近 5 年前
Continuous Integration tools.<p>I started with Jenkins and hated it, because it really encouraged configuration through an awful web interface. CI configs should live in version control!<p>(I know you can do that with Jenkins these days but I still haven&#x27;t figured out how myself).<p>Then I got going with Travis CI and loved it - then Circle CI, then GitLab CI and today I&#x27;m mostly using GitHub Actions.<p>Every single personal project I build uses CI now. My tests, packaging and deploys are all automated from day one. It&#x27;s an enormous productivity boost and lets me manage way more projects without worrying that I&#x27;ll forget how to test them &#x2F; package them &#x2F; deploy them.
wozer将近 5 年前
Property-based testing.<p>I believe it can be a real game changer. It can enable a normal programmer to create the same quality as an excellent programmer.<p>An introduction: <a href="https:&#x2F;&#x2F;fsharpforfunandprofit.com&#x2F;posts&#x2F;property-based-testing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fsharpforfunandprofit.com&#x2F;posts&#x2F;property-based-testi...</a>
jb3689将近 5 年前
- Erlang&#x2F;Elixir: taught me functional programming, pattern matching, recursion, supervision, how to achieve fault tolerance<p>- Docker: taught me about server management and immutable infrastructure; paved the way for a lot of concepts (containers are surprisingly foreign for a lot of people)<p>Other than that: learning about different databases in general and learning how they solved the problems they had and why they solved them that way; the same problems come up over and over and it&#x27;s important to be able to recognize good ideas from bad ones as well as when to recognize solved problems from novel ones
jschulenklopper将近 5 年前
Touch typing - learning it during this WFH phase, as much more communication is done typing.
benjohnson将近 5 年前
Putting this in my hosts file helped me maintain my focus.<p>127.0.0.1 news.ycombinator.com<p>127.0.0.1 reddit.com<p>127.0.0.1 facebook.com
评论 #23471031 未加载
评论 #23480545 未加载
评论 #23470174 未加载
评论 #23470009 未加载
评论 #23471971 未加载
评论 #23470995 未加载
评论 #23468767 未加载
princevegeta89将近 5 年前
Can&#x27;t imagine writing code without Jetbrains IDEs. VSCode is great for lightweight editing. On the other hand, I have other tools like CopyEmPaste: <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;copyem-paste-clipboard-mgr&#x2F;id876540291?mt=12" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;copyem-paste-clipboard-mgr&#x2F;id8...</a> This is a great clipboard manager and helps a lot with Copy-Pasting.
dugword将近 5 年前
Perl. CLI one-liners or small one-off scripts.<p>You can do so much automation and data munging so quickly with it that it really makes you feel like you have superpowers.
评论 #23468687 未加载
rco8786将近 5 年前
Read the docs!! Even the bad ones are better than none.<p>I can&#x27;t count the amount of times I&#x27;ve been working with a more junior engineer and I&#x27;m just rattling off answers to their questions..then at the end I realize that I have 5-6+ tabs worth of documentation open that I&#x27;ve simply been referencing throughout our conversation but they think I&#x27;m some walking encyclopedia of knowledge.
revskill将近 5 年前
To me, it&#x27;s functional programming in general and Haskell specifically. Thinking in function actually helps me become a better programmer !
heinrichhartman将近 5 年前
Lots of great tips&#x2F;tools here. Let me add this to the list:<p>Dash <a href="https:&#x2F;&#x2F;kapeli.com&#x2F;dash" rel="nofollow">https:&#x2F;&#x2F;kapeli.com&#x2F;dash</a><p>Makes browsing documentation really fast and convenient. Have that bound to F1 in my emacs to lookup the current word at point. So you instantly zap to man pages, lua reference manual, python docs, perl docs, ... you name it. Highly recommended.
bitwize将近 5 年前
1) Emacs. Still the king of text editors, with even the latest challengers (e.g., Visual Studio Code) proving unworthy. Nothing beats an editor you modify for the task at hand live as you edit.<p>2) Scheme. It started with writing plugins for GIMP in its embedded Scheme in the 90s, then I moved on to Guile -- but Scheme not only made programming fun, it put solving a greater class of problems within my reach, especially when I had to solve them quickly. When I need to explore an algorithm or rough out a prototype for how a system might work, I reach for Scheme -- and even when I&#x27;m not working in Scheme or another Lisp, I bring its lessons with me.<p>3) Darcs. This was my first DVCS, before git, and it enabled me to more easily use version control on my own independent projects and prepared me for a git workflow.<p>4) Linux, and open source in general -- for providing me with a free OS, free tools, and lots of code to examine for ideas and inspiration. Back when I was faffing about with Windows programming as a teenager, this was a real game changer.
allworknoplay将近 5 年前
Going to the source!<p>Using a framework or library? You&#x27;ll get so much better so much faster if you look at what the authors have done.<p>It&#x27;s often (I find) easier than looking at random open source projects since you&#x27;re working closely with the tool anyway. It will help you debug or prevent weird things, teach you techniques you didn&#x27;t know, and give you a sense for what to strive for.
kirstenbirgit将近 5 年前
Using an actual, proper IDE instead of text editors with plugins that have so-so language support.<p>Learning how to operate a computer efficiently. Use keyboard shortcuts. Set up scripts for commonly used tasks. Configure our environment and operating system so it&#x27;s less annoying.<p>Being efficient at using a computer also makes you annoyed at poor UIs, and as a result, better at building great apps.<p>The ability to write things down, and finding joy in writing documentation. I&#x27;m continously surprised at how many people will have a 3 hour meeting and just not write anything down, or never make any comments or READMEs in their projects.<p>Understanding to use the right tool for the job. You don&#x27;t need to use the latest and greatest container orchestration, library, or whatever.<p>Not caring about non-business effecting minutiae, like spending time doing code-style nitpicks in pull request comments (when automated tools can do the job), has made me more efficient and less tolerating of the tendency programmers have to focus on non-important things.
stared将近 5 年前
ESLint (and other linters, preferably used with the strictest rules) - while at the very beginning it was annoying, it helped me write much cleaner code.<p>Longer version here: <a href="https:&#x2F;&#x2F;p.migdal.pl&#x2F;2020&#x2F;03&#x2F;02&#x2F;types-tests-typescript.html" rel="nofollow">https:&#x2F;&#x2F;p.migdal.pl&#x2F;2020&#x2F;03&#x2F;02&#x2F;types-tests-typescript.html</a>
评论 #23469178 未加载
Curzel将近 5 年前
Maybe the opposite of many other comments but... macOS. Limited choices and customisations, but less is better. Not having to worry about &quot;stuff&quot; is something that goes easily undervalued.
评论 #23472788 未加载
Pabblo001将近 5 年前
It can sound stupid but I’m newbie so for me: * Firebase - moving my ideas from local host to online and be able to present this &#x2F; get feedback. That was&#x2F;is motivating me to solve more complex problems.<p>* JS challenges website like coderbyte edabit<p>* honorable to mention- Hardcore Functional Programming in JavaScript, v2 from front end masters
soumyadeb将近 5 年前
I started my career programming in Vim on VT100 terminals (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;VT100" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;VT100</a>) - yes, I am old.<p>There was no IDE, auto-complete, visual debugger etc. You really had to think before you typed any code. Even fixing compilation error was a pain - you had to note down the line number and the error, go back and open vim, fix the error, exit vim, re-compile and rinse and repeat. Taught me the paradigm of thinking hard about the problem before starting to code and I think that has helped a lot.<p>This was still better than the punch-card days I have heard but I personally never had the experience.
graton将近 5 年前
Not strictly a better programmer but a more efficient one.<p>- FZF (Fuzzy Finder) really speeds thing up in bash when searching your history.<p>- Vim (as others have mentioned). With the plugin vim-fugitive (a git related vim plugin). I love Gblame in vim-fugitive, as being able to look at the history of lines of code and stepping back in time can at times be very useful.<p>- Creating various aliases. For example in git I have little aliases which just make me faster. &quot;st&quot; = &quot;status&quot;, &quot;rbi&quot; = &quot;rebase --interactive&quot;, &quot;ci&#x27; = &quot;commit&quot;, etc...<p>- Using The Silver Searcher (ag) or Ripgrep (rg) instead of grep. Much faster than using grep.<p>- Using &#x27;fd&#x27; instead of find. Like above it is a lot faster.
评论 #23471912 未加载
flohofwoe将近 5 年前
Using a step debugger and stepping through all the code I just wrote, or using it to explore code other people wrote.<p>Surprisingly this seems to be a very uncommon use for a debugger, some programmers are mislead by the name and only use it for actual debugging ;)
jamespetercook将近 5 年前
Typescript - defining interfaces before doing any work is like visual planning. Adding it to old projects highlights a lot of unknown issues.<p>VSCode - right click a keyword &gt; go to definition made me more comfortable navigating code written by other people.
xs83将近 5 年前
- Debugger - doesn&#x27;t matter which one - just stop using echo &#x2F; print for complex debugging.<p>- Good IDE - I prefer Jetbrains products, once you learn all the shortcuts for the various functions it just makes things much faster than constantly switching between windows.<p>- Sublime text - Not as an IDE but columnar editing and fast construction &#x2F; munging of data files is crucial for efficiency<p>- Linux &#x2F; Bash &#x2F; Shell - learn the tools - sure you can write a script to do most things but learning how to pipe some commands together to get some certain output is universally useful. Learn the basic VIM key bindings, you should be able to comfortably copy,paste,save,select etc
gregwchase将近 5 年前
Docker. Being able to develop&#x2F; deploy code across a team and business is invaluable.
评论 #23469332 未加载
itqwertz将近 5 年前
MacBook Pro.<p>After years of dealing with a Windows workstation, I went into credit card debt to purchase a quality laptop computer for my development needs.<p>I have had the same one for 6 years and found little reason to buy a new MBP.
评论 #23469048 未加载
评论 #23468643 未加载
idoby将近 5 年前
Learning how to use the compiler and type system (if your language has them) to get as close as possible to &quot;if it compiles, it works&quot;, is invaluable.<p>Novice programmers just want the code not to error out, and compile, they just want the compiler errors to go away, while more experienced programmers learn to use the errors as a todo list of sorts, at first, then as a guide for refactorings and fixing bugs.<p>Learn to harness the compiler and type system to help you, and your coding will improve 10x in both velocity and quality.
sandermvanvliet将近 5 年前
NCrunch: <a href="https:&#x2F;&#x2F;www.ncrunch.net" rel="nofollow">https:&#x2F;&#x2F;www.ncrunch.net</a><p>It has helped me so much in applying TDD rigorously in every app that I write by giving me very quick feedback on code I write.<p>The simple fact you can refactor something and within seconds know if everything still works is a massive time saver and that allows me to write better tests. It also makes flaky, slow and coupled tests visible as you get used to the speed of test execution that the “bad” ones jump out at you.<p>Well worth the license
brightball将近 5 年前
Foreman<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ddollar&#x2F;foreman" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ddollar&#x2F;foreman</a><p>When I learned Ruby a while back. I know it doesn’t sound like much, but it was the first tool I’d used in development that showed me <i>how</i> I develop is critically important.<p>It’s just a simple tool to start and stop several tools in the background, streaming the logs to all of them in one place. At the time, I’d never seen anything like that and felt like I’d been doing it wrong for years.
morty_s将近 5 年前
- vim<p>- grep (now using ripgrep)<p>- code navigation<p>- rust<p>- functional programming (scheme, Erlang, Haskell, Elixir, etc; structure and interpretation of computer programs).
sushshshsh将近 5 年前
Understanding that this whole industry is a giant house of cards, bs stacked on top of bs. Don&#x27;t take anything personally, memorize the language needed to succeed
chad_strategic将近 5 年前
Years ago I switched from Mac OS&#x2F;Apple when I became a developer&#x2F;data scientist to linux based system. (ubuntu)<p>I understand there are similarities between MAC OS and Linux... etc. Being on the same OS as most of the web servers saved me time in learning the basics of linux, bash, etc.<p>Also at the time I couldn&#x27;t afford to keep buying new software license.<p>The only enterprise software I use is Navicat for user frienldly interface into databases.
评论 #23469808 未加载
评论 #23472647 未加载
jedberg将近 5 年前
&gt; What have you added to your workflow that&#x27;s made you much more productive?<p>A second monitor and tiling window manager (or in my case Magnet, which adds simple tiles to MacOs).<p>When I added a second monitor to my setup my productivity exploded. It&#x27;s just really nice to have one window full screen in my IDE and the other window with reference material, a shell, scrolling logs, etc.<p>Never having to switch away from the code is huge.
cosmotic将近 5 年前
Jetbrains tools help point out better ways to do the same task and learn about new language features by identifying slow or compatible code then instantly refactoring to the better or newer version for you. It makes learning new language features easy because it gives you examples in context with code you&#x27;re familiar with. (among many other ways the jetbrains tools are great)
kadams54将近 5 年前
I wrote a blog post about this:<p><a href="http:&#x2F;&#x2F;blog.testdouble.com&#x2F;posts&#x2F;2020-04-07-favorite-things&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.testdouble.com&#x2F;posts&#x2F;2020-04-07-favorite-things&#x2F;</a><p>Outside of that, I&#x27;d say linters and code formatters have a huge impact on my productivity and code quality. ShellCheck in particular has taught me oodles about shell scripting.
mikekchar将近 5 年前
TODO lists for which I use org mode, but you could use practically anything. I like a text editor for this rather than an app, per se, just because it keeps me in the flow. All you need is a place to jot down what you are planning to do next and to be able to arrange the order.<p>Usually I&#x27;ll start with pretty high level ideas. If I have a story I&#x27;m working on, I&#x27;ll put the description of the story in my TODO list. Then I&#x27;ll think for about 5 minutes about what general things need to get done. I&#x27;ll order these by some priority (doesn&#x27;t really matter usually, to be honest). Then I&#x27;ll start working on the first one.<p>Normally I need to poke into the code to really see what I have to do. I&#x27;ll often add a sub-task to my first one that says, &quot;Figure out what to do&quot; or something like that. Then I&#x27;ll do some exploratory coding for a few minutes. As I discover what needs to get done, I write it down in my TODO.<p>It&#x27;s hard at first to stop yourself from just writing code, but pulling yourself back for the 20 seconds or so it takes to write down what you are just about to do can be surprisingly valuable. Don&#x27;t censor yourself either. It&#x27;s fine to guess what you need to do and then delete stuff that you realise is unnecessary later. As you are coding, any time you think, &quot;Oh, I&#x27;m going to need X&quot;, add it to the TODO (again, difficult to train yourself to do it consistently!)<p>Once you get good at this, in my experience you will be quite interruptible. Any time I get distracted, or unfocussed or lack motivation, I just look at the top think on the TODO and say, &quot;I&#x27;m just going to do that top thing&quot;. It always pulls me in.<p>I don&#x27;t always code like this, but every time I do I&#x27;m dramatically more productive. I <i>should</i> always code like this, but... sometimes you want a relaxed day ;-)
lioeters将近 5 年前
That&#x27;s a good question, I&#x27;m curious what comes to mind, tools that have helped me as a programmer..<p>- Git CLI as well as GUI - The latter for me is as essential as knowing (enough of) the commands and options<p>- grep and find<p>- TypeScript<p>- VS Code - Language server integration like type checking as I edit, and go to definition; syntax highlight with personal color scheme - I feel so cozy writing code, the colors enhance understanding, and the aesthetics of it definitely shapes the result to be small and beautiful; remote edit over SSH; keyboard shortcut to apply prettier formatting<p>- Linux real and virtual machines as &quot;commodity&quot; computing resource, available on (or from) anywhere<p>- GitHub - It could have been anything else, but having a social platform with an ocean of open-source code to study, discuss, contribute.<p>- Keeping notes in Markdown, as a kind of personal knowledge database<p>- Curated collection of libraries for common needs, written from scratch, forked, or as dependencies
teknopaul将近 5 年前
Sonar: code formatting nagware for Java. I spent a few months being very strict with code style and it has made me permanently a more productive programmer. I used to look at my code and wonder how to improve it, now I know what to do until I&#x27;m happy with it. I&#x27;ve learnt to apply this to other languages. Sonar showed me how to make code consistent, that is easier to read, write, grep and work with.<p>An unexpected result of being anal about whitespace for a few months was productivity with large code bases.<p>I no longer have Sonar itself in my workflow. But I defo feel that tool made me a better programmer.<p>This is not really a recomendation for Sonar but a recomendation to go find a relevant code style tool and work with it until it you are no longer learning code formatting and you are learning code clarity.
voldybot将近 5 年前
<a href="https:&#x2F;&#x2F;fishshell.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fishshell.com&#x2F;</a>
waiseristy将近 5 年前
* Zsh + Grep + Awk + Vim : Essentially 90% of my daily driving around my PC at work.<p>* ZimWiki : Have a notebook VCS&#x27;d in my home directory sync&#x27;d across my PC&#x27;s. Amazingly easy way to take notes and keep track of work.<p>* Jetbrains CLion, Pycharm, IntelliJ : The best cross platform IDE. Bar none
brailsafe将近 5 年前
JetBrains products help me understand a new codebase more efficiently, and basic use of ls and tail on unix based machines help me parse log files faster. SelfControl on mac helps me block distracting websites and Klokki helps me track my time. Bear is a great note taking app that I&#x27;ve mostly switched to from Evernote. I like GitHub&#x27;s new Android app.<p>In terms of actually being a better programmer, I believe anything that helps you collect or parse information about your running code and debug it will improve your life. Sometimes that&#x27;s print statements, sometimes that&#x27;s a remote debugging session.<p>My most regularly used commands are probably `ls -lt | head -20` and `tail -f&#x27; or `tail -1000 | grep`, so maybe learning a bit about pipes too.
vmchale将近 5 年前
I quite like nm + ripgrep. There is a lot I don&#x27;t understand about the C&#x2F;Unix world (in fairness it&#x27;s not all in textbooks) but this was the first step to understanding the &quot;unix command line is my IDE&quot; mindset which I found so odd.<p>Also fd-find, just plain useful.
simonw将近 5 年前
Interactive interpreters and notebook interfaces.<p>ipython for Python, then later Jupyter notebooks.<p>Firebug for JavaScript, which then got built into every browser as the dev toolbar.<p>These days <a href="https:&#x2F;&#x2F;observablehq.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;observablehq.com&#x2F;</a> for JavaScript too.
kushalpandya将近 5 年前
StackOverflow (and Stack Exchange network in general).
majormajor将近 5 年前
- visual debuggers<p>- automated tools for simple refactorings (renaming and the like)<p>(you can read both of the above as &quot;JetBrains&quot; ;)<p>- source control<p>- REPLs<p>- personal logs &#x2F; &quot;lab notes&quot; - keeping a record of how I did stuff for the next time I need to do something similar. &quot;source control for non-code&quot; kinda
huhtenberg将近 5 年前
assert() that is not compiled away in release builds. A miracle discipline drug that makes people think through what they are trying to code.
manicdee将近 5 年前
For me, not having Visual Studio, Jetbrains, etc has made life easier overall. I have to design code with low intellectual overhead, since I no longer have fancy tools detangling spaghetti for me.<p>So I use BBEdit and Oh My ZSH for just about everything.<p>For git interaction I love Fork.
easymovet将近 5 年前
QBasic, everything since then has been incremental.
gwbas1c将近 5 年前
Google + examples<p>I remember learning to program C in the 1990s as a teenager, and often taking a long time just to learn how to do something very simple. This was mostly because the compiler-provided documentation was sparse, and the books that I had only had a single point of view.<p>Now, I can Google &quot;[language] [task] example&quot; and read through 2-4 examples of how to do something. Then I can go back and look at the docs and they make significantly more sense. Often what would take 4-6 hours, or longer, to figure out from just the official language &#x2F; API documentation can be figured out in 20-40 minutes.
zjy将近 5 年前
The <i>ag</i> the silver searcher<p>As programer, finding&#x2F;looking up the code takes your primary time. so after I got into <i>ag</i>, it changes my behavior of checking the code. from somewhat <i>lookup</i> to <i>searching</i>.
mellosouls将近 5 年前
A couple of tools so far not mentioned, that have been hugely beneficial to me:<p>1. Copernic Desktop Search <i>pre version 3</i>. The version I use is over ten years old and still looks and works better than any other desktop search product I&#x27;ve ever used. Instant results when searching your file and network system, presented in a format appropriate view. Please note that the version is important here, it went from being a stunning piece of freeware to a worthy corporate product years ago.<p>2. Trello. Every non-trivial task I undertake is managed through here, it&#x27;s so simple and flexible.
评论 #23471758 未加载
city41将近 5 年前
Here is a similar conversation from about a month ago: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23118940" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23118940</a>
oblib将近 5 年前
Since you mention &quot;more productive&quot; I&#x27;ll focus on that first.<p>Reading the docs and example code for opensource libraries and tools I use when I get stuck, as opposed to trying to figure out how to use them myself. And using google to search for answers to question and heading to Stackoverflow if it&#x27;s been answered there and reviewing all the answers offered.<p>It&#x27;s a habit now, but it took me awhile to break my previous habit of thinking I could figure stuff out without help and I&#x27;m much more productive as a result.<p>As far as tools go, BBEdit is the one I use most.
shawnsbrain66将近 5 年前
I&#x27;m a Windows programmer, but I use: UltraEdit - to say it&#x27;s a text editor is to say a Ferrari is a car. Powerbasic - a lot of people don&#x27;t know PB and Python came out the same year. Fast, powerful, full access to windows API, pointers, classes, tiny EXE&#x27;s, can use any standard DLL, and can make DLL&#x27;s. JellyFish - a PowerBasic IDE that is, in my opinion, better than the PB native IDE Paint Shop Pro - a far cheaper and easier alternative to PhotoShop with all the stuff I need<p>These are the 3 tools I use the most to make my living.
schwartzworld将近 5 年前
if you&#x27;re writing JS and don&#x27;t have Prettier installed, you&#x27;re missing out. It integrates seemlessly into IDEs and editors, so you can just write code without worrying about formatting.
pirsquare将近 5 年前
Solarized Color Scheme - You spent more time looking at your code than you see your spouse. A good color scheme reduces fatigue especially when you are working through your code for long periods.
评论 #23469333 未加载
cstuder将近 5 年前
Keeping a developer journal, digitally, so it can easily be searched.<p>(I&#x27;m using a simple extension called `vscode-journal` in my text editor, it writes daily markdown files stored on my Dropbox.)
评论 #23471742 未加载
lstamour将近 5 年前
Not every job needs this, but when your company has a lot of code, it helps as a newcomer to spend time writing documentation. Those who “level up” in this skill can write documentation <i>everyone</i> understands, not just other programmers. For instance RML instead of UML: <a href="https:&#x2F;&#x2F;seilevel.com&#x2F;business-analyst-resources&#x2F;rml-book&#x2F;" rel="nofollow">https:&#x2F;&#x2F;seilevel.com&#x2F;business-analyst-resources&#x2F;rml-book&#x2F;</a> Now, if you have BA resources on your team, or designers&#x2F;UX folks, then use them. There are teams where other people do the business-understandable diagrams and you’re doing technical ones. But... if your team is smaller, or the code is already written, then it’s just as helpful for you, as the developer, to also be the one communicating how things work to the business and stakeholders. It will help everyone use the same terminology—simplify decision-making—and since you made the documentation while looking at the code or existing APIs, you can assure folks it is relatively complete and accurate. <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PL2miG2CzrxakbZswQH-O43G5VnJ0_CB8C&amp;feature=share" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PL2miG2CzrxakbZswQH-O4...</a> has some videos on business-friendly documentation and SeiLevel folks also contributed to two Microsoft Press books on software requirements and visual models.<p>I’ve found that mapping out the business domain, or explaining complexity, is at least half my job sometimes. Advocating for SRE best practices seems to be the other half. ;-)<p>For very large systems, DSMs are interesting. <a href="https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;books&#x2F;design-structure-matrix-methods-and-applications" rel="nofollow">https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;books&#x2F;design-structure-matrix-metho...</a> But generally extremely technical and useful only to those creating the DSM.<p>Oh— also ASTs. Kind of a form of code documentation, but knowing how to use AST Explorer to read and modify a call graph or source code is incredibly liberating. It’s great to suggest we can make breaking changes and fix them in client code using an AST transformation, etc.<p>Finally, “A Philosophy of Software Design” was a nice quick read that I still get value from, but it doesn’t address how tests and ASTs could help; it covers the evergreen basics though.
romes将近 5 年前
Flycut. It&#x27;s a clipboard manager. I hit cmd+shift+v and I can scroll through my previous clipboard states. It&#x27;s an amazing upgrade from a one-state-only-clipboard life.<p>&quot;Flycut is a clean and simple clipboard manager for developers. It based on an open source app called Jumpcut. Flycut is also open source too: <a href="http:&#x2F;&#x2F;github.com&#x2F;TermiT&#x2F;flycut&quot;" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;TermiT&#x2F;flycut&quot;</a>
评论 #23470043 未加载
评论 #23479150 未加载
bobbydreamer将近 5 年前
In mainframe ISPF, F1 is usually help and F2 split screen. I have changed that like with F1 when I keep my cursor over a dataset it going into that dataset in view mode and with F2 I have made to swap list it shows all ispf screens I have open.<p>Swapbar at the bottom of the screen and in SDSF always have SET DISPLAY ON.<p>Other than that, its hardware lapton keyboard type. I am faster when pgup &#x2F; pgdn and home&#x2F;end are separte keys rather than combination of fn and other keys.
vmception将近 5 年前
git blame inside of the IDE.<p>line numbers, jumping to lines. shockingly this isn&#x27;t default in IDE and I frequently still have to learn how to enable it.<p>autocomplete and quick way to get a list of available methods for an object, based on the actual library or things the object inherits. Javascript IDEs seem to just show a random list of frequently available functions, instead of the actual ones indexed - likely because they are all the same type.
austincheney将近 5 年前
JSLint hands down. There is a lot of sloppiness in JavaScript and that tool’s motto is: <i>JSLint will hurt your feelings.</i><p>The idea was a heavily opinionated code validation tool striving to make code subjectively cleaner and clearer for strangers to read. Many people stopped using it because they claimed it was too opinionated, even though every other super popular&#x2F;trendy JavaScript tool claims to be just as opinionated.
kashfi将近 5 年前
If you&#x27;re a Java developer and learning pointers I recommend using the Java Visualizer.<p><a href="https:&#x2F;&#x2F;cscircles.cemc.uwaterloo.ca&#x2F;java_visualize&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cscircles.cemc.uwaterloo.ca&#x2F;java_visualize&#x2F;</a><p>Copy and paste the class you&#x27;re working on. Include a main() to act as a test driver and then let the Java Visualizer step through your code showing you exactly what is going on.
royalghost将近 5 年前
Sublime has definitely increased my productivity and if I have to select one command, it would be the ability to select and update all instances of the word - <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;12162047&#x2F;how-to-select-all-instances-of-selected-region-in-sublime-text" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;12162047&#x2F;how-to-select-a...</a>
axegon_将近 5 年前
The single biggest contributor: vim. Not relying on fancy IDE&#x27;s with smart autocomplete and all that. You end up learning the internals of a language&#x2F;library without relying on the IDE to do it for you. It became my weapon of choice around 2009-2010 and now I can&#x27;t remember the last time I had a syntax error. Browser for documentation and vim is literally all I need.
评论 #23469690 未加载
rubyron将近 5 年前
The Pomodoro technique has helped my productivity more than anything. So much so that I built Timmy (<a href="https:&#x2F;&#x2F;timmytimer.com" rel="nofollow">https:&#x2F;&#x2F;timmytimer.com</a> ) and added social features for some added motivation (all timers are public - think of it like &quot;Twitter for productivity&quot;). Free and no login required if you want to try.
ydnaclementine将近 5 年前
I&#x27;ve had a few people newer people reach out on how to level up recently, I recommended:<p>- vim, but more of the hotkeys than vim itself for me (ex: idea vim). Productivity gains + always have a usable text editor in any env (ssh, local, etc)<p>- clean code book, to help know what good code looks like, and gives structure to shoot for, and gain opinion on why one way looks better than others, or not
hprotagonist将近 5 年前
intellisense and friends.<p>As a junior developer, method documentation and autocomplete on demand are crutches i leaned on VERY heavily with great success.
justsomeuser将近 5 年前
- Google<p>- Pen and Paper for scribbling thoughts<p>- Bicycle in green areas<p>- Javascript - closures, async&#x2F;await, JSON<p>- SQL - Designing a normalised schema before coding clarifies relations<p>- Docker - just because it forces you to think about the dependencies of your code explicitly<p>- Evernote - improves my thinking and cements learning<p>- JetBrains IDE - I pay a small amount to not have to deal with a mishmash of plugins competing with each other when moving between languages.
closeparen将近 5 年前
Do everything in your power to find out what&#x27;s actually happening with a bug; don&#x27;t just guess.<p>- SQL<p>- Your metrics system&#x27;s query language<p>- jq<p>- sort &#x2F; uniq<p>- grep<p>- awk<p>- pyplot<p>- mapbox (if you have geospatial data)<p>- your environment&#x27;s canonical profiler, and how to connect it <i>in situ</i><p>- how to poke the relevant APIs with your bare hands (curl, grpcurl, etc)<p>- how to MITM and inspect the communications between your components (wireshark, charles, certificate trust stores, feature flags to disable pinning, etc)
erichurkman将近 5 年前
Your preferred language&#x27;s debugger. It really does show in coding interviews who has control over their environment and can debug rapidly. It doesn&#x27;t matter if it&#x27;s rudimentary pdb (basic python debugger) or LLdb, understanding how to structure code such that it&#x27;s easily testable -and- debuggable is a hallmark of a senior developer.
openfuture将近 5 年前
Experimenting.<p>Tools that make it easier to do experiments are good, I tend to think too much and read too much but the only way to get better at programming is to put your ideas to the test and implement them (starting with simplified versions, i.e. experiments).<p>Modelling is something I want to get into, alloy and tla+ look like great ways to sketch out higher level ideas.
edpichler将近 5 年前
When I finished my post-graduation in &quot;Software Engineering&quot;. I feel so productive. I can release anything with very high quality if I have the necessary resources, and rework is a thing from the past. I can control the chaos, release often and confidently still having really good nights of sleep.
zitterbewegung将近 5 年前
In no specific order or magnitude.<p>1. After or during a tutorial to make a silly easy project to perform synthesis after I learn how to do something. Or using a tutorial and then basing my idea off of that.<p>2. Understanding when and how to do incremental changes.<p>3. Understanding the reason of source control and learning a git, subversion and CVS.<p>4. Learning Python.<p>6. Learning lisp<p>7. Emacs and org-mode
PostPlummer将近 5 年前
Pen &amp; paper.<p>It helps me getting away from the drive to &#x27;just give it a shot&#x27; and forces me to work so much more structured.<p>I still love to doodle with a pen and different color markers and it allows me to have it permanently in view on my desk with the option to add boxes and arrows as required.
tonyedgecombe将近 5 年前
ReSharper, I probably wouldn&#x27;t have got around to understanding LINQ without its regular prompts.
Frank93将近 5 年前
I&#x27;d like to suggest CodeFights, it is great platform for software engineers to practice for cosing interview in then in turn get the desired tech jobs. And one more tool for developers is ProofHub. It is the one place for all your projects, teams and communications.
gofreddygo将近 5 年前
Focusing on my habits and practices over tools and technology has driven more productivity and sanity in my career.<p>Early on, finding new tools, languages, libraries and frameworks was exhilarating and something their knowledge was I cared deeply about and worked towards. And soon, I cared more about the tools and the language than the problem itself. Caring about the medium caused more pain and wasted time than joy and productivity when any one of them broke, when they didn&#x27;t do what I wanted them to do, when I found a new tool that was older and more mature than the one I used, when someone disagreed for no good reason, when someone used a worse tool than ones I knew. I have wasted hours toying around with shiny new things only to realize later what a waste it all was. They all promised, never delivered.<p>The point where things got better was when I started keeping simple logs.<p>At work, it was mostly putting into words the problem I was facing, why it was interesting, how have others solved or avoided this, what possible solutions I could find, ideal and realistic solutions, pros and cons of each, whom should I convince for this, who can help, why would they agree or oppose. As things progressed, I kept adding updates and how things actually turned out. In personal life, its been about people and projects. People I&#x27;ve met, people who have helped me, people whom I&#x27;m indebted to, people whom I hold dear and those that I keep away from, memories and arguments, what I&#x27;m grateful for and what I want to change.<p>They are interesting to read after the fact. I&#x27;ve learned more from this practice than any person, blog or book. I&#x27;ve been more productive when I see a pattern emerge and going back to how I handled things before. Highly recommend it. Moreover, It helped me find good and bad habits, how I respond to what happens around me, what gets me worried and upset, what makes me happier, more productive. The &#x27;right thing to do&#x27; is obvious looking back now but never make sense looking forward. What seemed like promising projects did not turn out so, People who seemed like friends, weren&#x27;t.<p>So what tool did I use for this? Email. I kept drafts, one for each idea, problem, story, lesson learned etc across the different email accounts I had. When they were good enough, I&#x27;d sent them over to a separate email account to keep it all in one place. Ironically, I started keeping logs after getting frustrated with a good way to keep my notes.<p>Sun Tzu would say &quot;Make the enemy fear not the weapon, but the hand that wields it.&quot;
ineedasername将近 5 年前
regular expressions. Both in programs, and in text editors that support regex, where I eliminate the need to write some small utility program by using regex instead. Combine with sed &amp; awk and it&#x27;s an incredibly powerful combination.
vitorbaptistaa将近 5 年前
If you can call them a tool, tests would be close to the top of my list. One of the most important metrics for productivity is how quickly you can get feedback if something you did worked. A fast test suite is great for that.
soulnothing将近 5 年前
* Arch Linux &#x2F; Manjaro. AUR is a great resource for the latest packages<p>* i3 &#x2F; sway. I&#x27;ve built a number of custom patches on top of it.<p>* Windows Aero Snap - a close second<p>* MacOs - Yabai + skhd a very distant third. Mac doesn&#x27;t just play as well with tiling.<p>* LibVirt &#x2F; Virt Manager &#x2F; CockPit &#x2F; VFIO. I have a number of VMs emulating mac, windows, and linux. My workstation is all three in one. I also have a local kube cluster spun up via the libvirt api.<p>* JetBrains - Tool Suite They&#x27;re tooling is phenomenal<p>* vim &#x2F; nvim - My secondary editor for quick changes.<p>* Visual Studio Code - Primarily for remote sharing work spaces.<p>* Git - I keep almost everything in a git store of some sort.<p>* zsh and oh my zsh, great plugins.<p>* Kitty - terminal with the kittens plugins is great<p>* Direnv + EnvFile, dynamic loading of container env vars on entering a directory<p>* GitLab - Despite it&#x27;s warts the best dev ops cloud agnostic platform I&#x27;ve used.<p>* Kotlin - I&#x27;m able to do pretty much everything in this. From vim over ssh or jetbrains. I use it for infrastructure, k8, mobile, web, and back end.<p>* Gradle - I curse at it a lot, but less than other build systems. I have templates that allow me to quick start any of the above templates.<p>* Remote Desktop - I keep a cheap dedicated server I RDP for heavy work loads while away from my workstation<p>* Reg Ex Pal - to validate reg ex<p>* Functional Programming<p>* Markdown &#x2F; Restructured text - Great way to write docs and draft architectural plans<p>* MermaidJS, Lucid Chart - Easily embedded in markdown to provide graphs of architectural patterns.<p>* OpenAPI&#x2F;AsyncAPI&#x2F;GraphQL - Schema driven design let&#x27;s me write the schema first, then generate type safe routes for the server, and clients for the consumers (web&#x2F;mobile)<p>* Avro, Protobuf, Json Schema - For defining messages going across the wire.<p>* Containers - I started with solaris zones and it has been vital to my workflow.<p>* Docker Compose - This is the lowest barrier to providing a container stack for local dev. Next would be KIND.<p>* Docsify, Sphinx &#x2F; etc. Easy way to add architectural docs next to the api docs as part of git pages.<p>That being said, I generally am unable to use a majority of these in my day job. So I&#x27;m operating much slower than I&#x27;m capable of.
bconnorwhite将近 5 年前
Extra RAM for your brain - whiteboard film surface on your desk + 4 monitors.
评论 #23471381 未加载
kartayyar将近 5 年前
Bazel. I really like the workflow of how it only selectively runs unit tests.
eitland将近 5 年前
- a good IDE (contains debugging, code look up, code completion, automation of boring parts like selective recompile, refactoring, linting etc etc)<p>- version control (unlike you, mostly the basic parts, the safety net)<p>- testing libraries
throwawaygo将近 5 年前
Read code. Every code. All the codes. You are striving to learn strategies for organizing abstraction. Tools are great but your thinking will move faster with a larger vocabulary for organization.
Ayesh将近 5 年前
- git: specially branching, rebase, and GitHub PR etiquette.<p>- regex: the deeper topics such as backtracking, look behinds, etc help too.<p>- How DNS works: how they work, TTLs, etc.<p>- How TLS works: performance and security tweaking.<p>- SQL: modern SQL can do quite a lot!
smitty1e将近 5 年前
Pytest =&gt; <a href="https:&#x2F;&#x2F;docs.pytest.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.pytest.org&#x2F;</a><p>Making the smallest, most granular problems out of the bigger ones is the key to vict&#x27;ry.
theCodeStig将近 5 年前
- Lambda Calculus, and Functional programming principles.<p>- Thinking in terms of types and structure, rather than linear procedures.<p>- Category theory.<p>- Vim as a language for editing text.<p>- Emacs (my own config w&#x2F; Evil).<p>- Nix.<p>- A documentation specific browser, such as Dash.<p>- The latest grep flavour - ripgrep.
haidrali将近 5 年前
Rubocop made me a better programmer in terms of writing clean, readable, and consistent code.<p>Also at the organization level no it keeps codebase consistent no matter how many programmers work on the same codebase.
anarchyrucks将近 5 年前
GDB.
synthc将近 5 年前
Magit, before I used Magit using git was a chore, now it is a pleasure.
vesinisa将近 5 年前
jq - I deal a lot with JSON in my work (who doesn&#x27;t these days?). jq is a nice tool for transforming and extracting specific data from JSON. Like awk, it&#x27;s a Turing-complete DSL.
snypox将近 5 年前
Investing time customizing VS Code. Today, I end to end manage my project from VSC: create new branch, code, publish branch, open PR. I have shortcuts for certain git commands too.
diegoperini将近 5 年前
FinderPath[0]. It taught me what macOS looks like in its fs.<p>[0] <a href="https:&#x2F;&#x2F;bahoom.com&#x2F;finderpath&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bahoom.com&#x2F;finderpath&#x2F;</a>
nickysielicki将近 5 年前
* `perf top`<p>* `scan-build`<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;pwndbg&#x2F;pwndbg" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pwndbg&#x2F;pwndbg</a>, a very comprehensive gdb extension&#x2F;config.
rozgo将近 5 年前
Apple II, TRS-80. Quake engine. Haskell, F#, Rust. Type theory, domain and test driven design. Philosophy, economy. Linux. Physics engines, PyTorch, GStreamer. Twitter.
darkport将近 5 年前
Docker. Which hasn’t really helped me get _better_ at writing code. But my God it’s helped my productivity and I’m finishing more and more side projects because of it.
shruubi将近 5 年前
The big thing for me was discovering JetBrains products and how much care and thought is taken in building a product that provides the right tools when you need it.
xzlzx将近 5 年前
Incorporating a clipboard manager into my workflow was a game changer for me. It&#x27;s basically a cache for my mind. I couldn&#x27;t imagine life without it now.
评论 #23481623 未加载
arc_of_descent将近 5 年前
While programming in Elixir, iex. I spend most of my time in the REPL, testing my functions, learning new features, and of course the recompile command!
erikerikson将近 5 年前
<a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;AspectJ" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;AspectJ</a>
mmargerum将近 5 年前
Watching Rich Hickey videos.<p>Cider REPL<p>Literate programming in Org mode<p>Keeping outlines of notes in org mode for everything. Being able to execute the code in those notes is pretty friggin amazing.
评论 #23481630 未加载
code-faster将近 5 年前
my json toolkit has been a huge boon for me, it complements jq very well: <a href="https:&#x2F;&#x2F;github.com&#x2F;tyleradams&#x2F;json-toolkit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tyleradams&#x2F;json-toolkit</a><p>There&#x27;s tools for converting between json and other data formats like xml as well as misc tools like json-diff which diffs json files and formats the output as json.
Shicholas将近 5 年前
New Relic, APM is important, and grokking this or a similar tool (Datadog, AppDynamics, Solarwinds) can only make you much more productive.
thellimist将近 5 年前
Being able to read code from similar projects in Github.<p>It allows you to do better design, learn how to write readable code, and allow you to move faster.
efferifick将近 5 年前
* fuzzers<p><a href="https:&#x2F;&#x2F;blog.regehr.org&#x2F;archives&#x2F;1687" rel="nofollow">https:&#x2F;&#x2F;blog.regehr.org&#x2F;archives&#x2F;1687</a>
jimmaswell将近 5 年前
IDE features may be my biggest productivity boost.
toastal将近 5 年前
Learning how to use type holes has really helped a lot in recent years. Learning how to grok documentation and source code as well.
pinopinopino将近 5 年前
- xmonad<p>No distractions and I can program my window manager to organize my windows.<p>- git<p>I was once fan of mercurial, but I like git better now. Everytime I find new interesting ways to use it. Also outside it&#x27;s traditional uses.<p>- (n)vim<p>I use other editors, but I turn them into vim. It is easy to use and makes typing in your solution of your problem in the language of choice less boring. (The coding part)<p>- awk<p>God, I love awk. It is like the swiss army knife of unix. You can do everything with it.<p>- latex<p>If I want to order my mind by writing a bit or making a nice design, create some documentation. Latex is your friend.<p>- dot<p>If I want to sketch something, dot will help. Dot also helps with other stuff, dependencies between things. It is easy to write out a dot file.<p>- profilers<p>Any fucking profiler will make your a better programmer. It will test your assumptions about the underlying model.<p>- debuggers<p>You can&#x27;t do things without them ^_^<p>- static type systems<p>Learn to think in types is a big win and not a weakness. You can encode properties in type systems.<p>- mathematics<p>Learn it, use it. It will give you new ways to think. E.g. algebra is about composability. So first thing I do is when I have a problem is write out the data types and think out its algebra. And it keeps your mind active, just churn through some mathematical topic once in a while. I loved type theory. Lambda calculus, abstract algebra, linear algebra and am know learning point set topology.<p>- esoteric languages<p>They are fun and force you to rethink what computation is. Design a couple yourself. I can compute in any language with weird constraints. I just need to build a machine in it.<p>- keep playing around<p>Not everything you do needs to be a project, just make something useless. E.g. I like jotting down shit in netlogo, which is utterly useless, but fun to watch.<p>- zsh<p>Where am I without you? ZSH can interface with everything. I write small tools from finding ec2 instances in the cloud by tag to presenting searchable menus binded by keys with a little help of small programs.<p>- the core utils<p>Learn them by heart, you will never have to click ever.<p>- Learning new programming paradigms<p>I loved stack based programming, functional programming, thinking in excel (data flow). There is no one solution to everything.<p>- domain specific languages<p>Learn to make them, it is fun and an extremely powerful tool in the programmers toolbox.<p>- parsers<p>Don&#x27;t be afraid of them, they are your friend. And often easier than regexes.<p>- learn how to search<p>Big skill, not everybody does this right.<p>- Programming notebooks<p>Why is this not standard? Mathematica is brilliant with this and while I don&#x27;t like python, but jupyter is very good.<p>- IDE&#x27;s<p>They are useful. Don&#x27;t be vain.<p>- Make designs<p>Plan what you are going to make. That helps a lot.<p>- Property style testing<p>Checkout quickcheck ^_^<p>That is my list. It is not exhaustive.
ericol将近 5 年前
&quot;a much better programmer&quot; != &quot;much more productive&quot; (At least from my point of view)<p>I&#x27;m going to answer on the latter, because I can&#x27;t say if I&#x27;m a much better programmer than, say 5 years ago (But I blame that to the fact that the product I develop is &quot;frozen&quot; and I don&#x27;t do much than small bug hunting and &#x2F; or forensics when something goes wrong; or &quot;janitoring&quot; as I refer to it nowadays).<p>In no particular order, these are the tools that over the years have made my life incredible easier and let me focus on the problem at hand, and not solving the problems I had to deal before solving the problems I had to solve:<p>1. Git. 12 years ago, I was the sole developer at my company, and I had to strong arm my boss (And company owner) to ditch CVS for Git. Probably one of the best company decisions I was responsible off (Being the next one getting the company on Slack)<p>2. xDebug. When I discovered xDebug (PHP) my life changed overnight. As I said I don&#x27;t do much coding these days. When I was full on coding, I had hacked a way to be able to work with xDebug with a small class made specifically for debugging, that allowed me to do &quot;code hot reload&quot; until I hammered my code in place.<p>3. Any tool by JetBrains. I have a lifetime licence for PHPStorm 2016.x (You get that after paying the license for a year). And I currently am a paying customer of WebStorm. I plan to keep paying for it until I make it to the year, because then you get a lifetime license. I know IDEs and editors are bound for flame wars, but honestly, for people like me that are not really invested in getting an expert command of their tools, JetBrains gets you the most bang for your money right out of the box.<p>4. Virtual box, then Vagrant, and these days docker. Virtualization for me was the best way to fix the &quot;but it works on my box&quot; syndrome some 10 years ago. I discovered VBox and then vagrant, and I&#x27;ve been a happy customer for years. I&#x27;ve been eyeing docker for some time now and the quarantine gave me the time to investigate it on my own. With VBox &#x2F; Vagrant I had the problem that when moving I had to move large archives for the different disks I had accumulated over the years. Now with docker I just need to move the data, the code, and the docker file that builds the container that I use. I also use docker to learn other things like node and python. For python I&#x27;ve been using Miniconda for some time, but I didn&#x27;t like the way it handles - nor had the time to learn how to correctly - environments. Same with node and the node_modules hell. With both, I use small set up files where I store a default configuration so whatever package I get is saved on shared volumes on my machine, and the same on code. That way I decide what to share where, and getting rid of something is as easy as removing a folder.<p>5. Linux. I started learning me some Linux when I started this job 13 years ago, and over the years it grew on me. Last year my notebook disk gave up, and when I changed it I installed Debian on it. This year the same happened to my desktop box, and I did the same. Even thought there are programs that I do miss from Windows the reality is that many of them I can run with Wine, and the others get replaced for something else that is, if not better, at least on par with their Window counterparts. And I keep finding tools that are incredible awesome (Like mpv for video playing)
inetknght将近 5 年前
- Regex. I don&#x27;t think anyone&#x27;s a true developer until they&#x27;ve mastered using regex where globbing would be used. Using regex for globbing is an excellent place to start learning.<p>- Unit testing. No true developer can call themselves such until they can programmatically verify that their code works to some explicit specification.<p>There&#x27;s tons of other things that are bonus points. But I wouldn&#x27;t call anyone a true developer until they understand and use both of those.
anonu将近 5 年前
kdb&#x2F;q: its a programming language more than a tool. But learning it has made me more efficient in other languages. It&#x27;s vector approach to programming makes me think about how to leverage similar features in python for example. itertools library in Python is mostly inspired by APL, an ancestor of q
Deely123123将近 5 年前
Still no mention of clipboard manager?
aaronblohowiak将近 5 年前
Three books:<p>* Nonviolent Communication<p>* Crucial Conversations<p>* Writing Without Bullshit
Joeboy将近 5 年前
In recent years:<p>1) Ripgrep<p>2) Upgrading my Lenovo T430 laptop to a P53
评论 #23469624 未加载
smcameron将近 5 年前
stgit Kind of like quilt on top of git. It lets you keep a lot of balls in the air all at once with very little effort. <a href="http:&#x2F;&#x2F;www.procode.org&#x2F;stgit&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.procode.org&#x2F;stgit&#x2F;</a>
morphar将近 5 年前
Doing lots of small test or benchmark programs to better understand how the language works.
srachamim将近 5 年前
All of the following made me a better programmer:<p>1) Functional Programming<p>2) VIM<p>3) Kinesis Advantage<p>4) tmux<p>Really, I can&#x27;t think of programming without those four tools.
antipaul将近 5 年前
Focusing on &quot;more efficient&quot; in &quot;better&quot;:<p>- emacs: works for me to code in R, python, connect to remotes, etc<p>- keyboard shortcuts: got started with them early, and never looked back. Bonus: linux&#x2F;macOS&#x2F;emacs text navigation works across all of them (ctrl-f, ctrl-b, ctrl-a, ctrl-k, alt-delete, etc)<p>- git: managing file versions and file diffs (!)<p>- GitHub: terrific for project management, even when I&#x27;m the only one on the project ;)<p>- CLI utilities that I love:<p><pre><code> - ag, a better &quot;grep&quot; - fd, a better &quot;find&quot; - tldr, a better &quot;man&quot; </code></pre> My dotfiles and new box setup: <a href="https:&#x2F;&#x2F;github.com&#x2F;pavopax&#x2F;dotfiles" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pavopax&#x2F;dotfiles</a><p>CLI tools:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ggreer&#x2F;the_silver_searcher" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ggreer&#x2F;the_silver_searcher</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;sharkdp&#x2F;fd&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sharkdp&#x2F;fd&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;tldr-pages&#x2F;tldr" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tldr-pages&#x2F;tldr</a><p>EDIT: formatting
评论 #23471491 未加载
ranyefet将近 5 年前
For me it’s definitely Elixir
评论 #23470905 未加载
codemac将近 5 年前
Well, it&#x27;s certainly not tools that let me <i>add</i> lines of code.
smonff将近 5 年前
Tmux, Emacs, Perl, jQuery.
sailfast将近 5 年前
An automated test suite with snapshots and contracts for data.
dm03514将近 5 年前
* version control<p>* static typing (golang)<p>* unit tests
purplezooey将近 5 年前
Wait I thought everyone was switching to dwm now..
0xEFF将近 5 年前
xargs! Instant concurrency for small scripts.
评论 #23493865 未加载
runnr_az将近 5 年前
The linter has been my best programming coach.
ltr_将近 5 年前
fzf tmux Vim+plugins+ language servers. lldb&#x2F;gdb, languages repl&#x27;s in general(ie. ghci for haskell)
charlesdaniels将近 5 年前
* AWK - I read &quot;The Awk Programming Language&quot;[0] cover to cover. It&#x27;s a very well written text, and it not all that long. The examples are very impressive. In terms of bang-for-the-buck of learning tools, AWK has definitely given me the most mileage. I probably use it at least a dozen times a day just for little things. However, you can wield it to write some very powerful scripts in very short amounts of time.<p>* Make - I use Make for almost every project I write, even if the rules are just .PHONY shortcuts. Make solves a huge set of problems relating to the order in which things need to be run&#x2F;built very well. There are arguable better tools, but Make is widely deployed, widely used, widely understood, and solve the problem well enough for a <i>lot</i> of small to medium projects (and some large ones too!). I got asked about it enough that I wrote an introductory guide for it[1] (disclaimer: self promotion of my own site, but I don&#x27;t have any ads or make any money). If you feel like Make has a lot of legacy crust built up over the years, you should read[2].<p>* Graphviz[3] - a huge number of ad-hoc data structures that you will build for your projects can be hard to visualize, Graphviz makes it easier. One tactic I&#x27;ve found useful is to loop over nested structs using their memory address as the identifier in Graphviz, struct fields as text annotations, and nested struct pointers as outgoing links. This might sound fancy, but you can probably write an export_to_graphviz() function for your project in under 50 lines of C. Because the syntax is simple, it&#x27;s very easy to generate Graphviz from pretty much any language out there.<p>* Xpath - if you&#x27;ve ever wanted to do even simple web scraping or XML parsing, do yourself the favor of learning Xpath. It&#x27;s a very powerful way of querying XML-like documents. I learned it by writing bots in Selenium for an internship, but nowadays I mostly do very simple web scraping for personal projects. To that end, I wrote a little tool[4] to grab the contents of a page, run a query, and print the results out on the console.<p>* Not a tool per se, but pick some kind of &quot;personal knowledge management&quot; type of solution and use it religiously. I like Joplin[5], but there are a million out there (Evernote, OneNote, ZimWiki, TiddlyWiki, VimWiki, Emacs Org-Mode, and many, many more). Being able to refer to earlier notes is invaluable for long-running projects.<p>* Also not very specific - learn the scripting language for your platform. In UNIX-land that&#x27;s sh (or Bash), and in Windows that&#x27;s PowerShell. Bash and PowerShell both have benefits and drawbacks, and you probably shouldn&#x27;t write &quot;real programs&quot; in either. But knowing how to script whatever platform you&#x27;re using buys you a lot.<p>* One more, also non-specific one - learn an interpreted language. Nowadays people like Python, but Perl, TCL, Lua, JS, and others could all be valid choices. These are great for prototyping ideas that you will later port to the language you really use (if it isn&#x27;t on that list already), or for writing little tools or utilities for yourself to use. Which one you choose will depend on what library ecosystem is most relevant to your work.<p>0 - <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;AWK-Programming-Language-Alfred-Aho&#x2F;dp&#x2F;020107981X" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;AWK-Programming-Language-Alfred-Aho&#x2F;d...</a><p>1 - <a href="http:&#x2F;&#x2F;cdaniels.net&#x2F;2017-07-15-guide-to-make.html" rel="nofollow">http:&#x2F;&#x2F;cdaniels.net&#x2F;2017-07-15-guide-to-make.html</a><p>2 - <a href="https:&#x2F;&#x2F;tech.davis-hansson.com&#x2F;p&#x2F;make&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tech.davis-hansson.com&#x2F;p&#x2F;make&#x2F;</a><p>3 - <a href="https:&#x2F;&#x2F;graphviz.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;graphviz.org&#x2F;</a><p>4 - <a href="https:&#x2F;&#x2F;git.sr.ht&#x2F;~charles&#x2F;charles-util&#x2F;tree&#x2F;master&#x2F;bin&#x2F;query-webpage" rel="nofollow">https:&#x2F;&#x2F;git.sr.ht&#x2F;~charles&#x2F;charles-util&#x2F;tree&#x2F;master&#x2F;bin&#x2F;quer...</a><p>5 - <a href="https:&#x2F;&#x2F;joplinapp.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;joplinapp.org&#x2F;</a>
lobo_tuerto将近 5 年前
* Linux<p>* i3<p>* git<p>* Elixir (functional programming concepts)
agumonkey将近 5 年前
magit
acln将近 5 年前
perf and pprof.
tarrsalah将近 5 年前
Emacs, Magit.
heldrida将近 5 年前
Git and grep!
评论 #23469473 未加载
评论 #23468663 未加载
seymores将近 5 年前
Postico
metreo将近 5 年前
Linux
MidnightRaver将近 5 年前
PyCharm
4g3ntS33将近 5 年前
Node Red
adultSwim将近 5 年前
Listening
andrewstuart将近 5 年前
Pycharm
sys_64738将近 5 年前
Emacs.
herve76将近 5 年前
Github
评论 #23469302 未加载
holri将近 5 年前
Free Software
nojito将近 5 年前
So much useless information in this thread.<p>The best way to become a better programmer is to read more code and understand what it does and think about different ways to implement the same feature.<p>Programming is problem solving at its core. Everything your mentioning is secondary to achieving that goal.
评论 #23597581 未加载