代碼編寫工具
by Mario Hoyos
通過馬里奧·霍約斯(Mario Hoyos)
我希望在開始編寫代碼時就已經知道的工具:已復習 (Tools I wish I had known about when I started coding: Revisited)
A few days ago, I wrote this article for freeCodeCamp which has since gone on to be read more times than I could have ever imagined. The response from the community has been overwhelming, humbling, and inspiring.
幾天前,我為freeCodeCamp撰寫了這篇文章,此后的閱讀次數比我想象的要多。 社區的React令人壓倒,謙卑和鼓舞。
With the intent of spreading that article as far and wide as I could, I posted it to r/learnprogramming thinking that some of the aspiring programmers there might find it helpful. The post can be found here.
為了盡可能廣泛地傳播該文章,我將其發布到r / learnprogramming,以為那里的一些有抱負的程序員可能會覺得有用。 該職位可以在這里找到 。
I thought that post might get banned for self-promotion, but what followed instead was a flood of tool recommendations. Since the last article proved useful to at least a few of you, I went ahead and organized the suggestions from that thread for those that are operating-system agnostic, Mac specific, and Windows specific. Now, before the Linux folks get all up in arms, there are versions of most of these available for you, too. We can all win.
我以為該職位可能會因為自我晉升而被禁止,但是隨之而來的是大量工具建議。 由于上一篇文章證明對至少某些人有用,因此我繼續進行了整理,并針對與操作系統無關,Mac特定和Windows特定的問題整理了該線程的建議。 現在,在Linux人士熱衷之前,您也可以使用其中大多數版本。 我們都能贏。
I considered including the usernames of the Redditors that made the recommendations, but since I am not sure if they appreciate being called out, I will assume all responsibility for any tool you find sub-par.
我考慮過包括提出建議的Redditor的用戶名,但是由于我不確定他們是否喜歡被召喚,因此對于您發現低于標準的任何工具,我將承擔全部責任。
Feel free to jump around.
隨時跳來跳去。
操作系統不可知 (Operating System Agnostic)
Postman — At its most basic, this is an application that allows you to test the different endpoints of an API. You know, that good CRUD stuff. Once you dive deeper into it, you will find it is also incredibly useful for writing up test suites and much more.
郵遞員 -從最基本的角度來看,這是一個應用程序,可讓您測試API的不同端點。 你知道,那好CRUD的東西。 深入研究它之后,您會發現它對于編寫測試套件等也非常有用。
Insomnia — This is an open-source alternative to Postman. It appears to have a lot of the same functionality with a slightly lower price tag for their premium packages. Between this and Postman, the choice seems to mostly be personal preference for the UX. Don’t stay up all night making a decision between the two (I had to, forgive me).
失眠癥 -這是Postman的開源替代方案。 它似乎具有許多相同的功能,但其高級套餐的價格略低。 在此與郵遞員之間,選擇似乎主要是對UX的個人偏愛。 不要整夜熬夜在兩個人之間做決定(我必須原諒我)。
Restlet — If you don’t want to download either of the above, this is an API testing client that is available as a Chrome extension. It even allows the importing of Postman tests and several other formats.
Restlet-如果您不想下載上述任何一個,則這是一個API測試客戶端,可以作為Chrome擴展程序使用。 它甚至允許導入Postman測試和其他幾種格式。
Charles — This is a sweet web debugging proxy that allows you to view all of the information you could possibly want to see about the requests being made between your machine and the internet. It basically turns you into a hacker, allowing you to check your website for security vulnerabilities and such.
查爾斯(Charles) -這是一個不錯的Web調試代理,它使您可以查看所有可能希望查看的有關在計算機與Internet之間進行的請求的信息。 它基本上使您變成了黑客,使您可以檢查您的網站是否存在安全漏洞等。
Fiddler — Basically the same tool as Charles. Personal preference seems to be the main deciding factor between the two, though both can greatly increase your debugging/troubleshooting capabilities.
Fiddler-基本上與Charles相同的工具。 個人偏好似乎是兩者之間的主要決定因素,盡管兩者都可以大大提高您的調試/故障排除能力。
Flux — If you’re reading this, chances are you probably spend a ton of time on your computer. Flux is a program that turns the blue light down on your screen as the sun sets, with the hopes of mimicking the day/night cycle and helping you sleep better. Not as good as getting time away from the screen, certainly, but it’s better than nothing!
助焊劑 —如果您正在閱讀本文,則可能是您在計算機上花費了大量時間。 Flux是一個程序,可以在太陽落山時關閉屏幕上的藍光,以期模仿白天/夜晚的周期并幫助您更好地睡眠。 當然,不如讓時間遠離屏幕,但這總比沒有好!
Mac專用 (Mac Specific)
Paw — A competitor to both Postman and Insomnia above, Paw is a similar piece of software that feels more like a native Mac application than the others. If you love that Mac feel, this might be the API tool for you.
Paw -Paw是上述Postman和Insomnia的競爭對手,是一款類似的軟件,與其他軟件相比,它更像是本機Mac應用程序。 如果您喜歡Mac的感覺,那么這可能是適合您的API工具。
Dash — With over 200 documentation sets to search through, Dash is an offline goldmine of documentation for the developer who loves to read documentation so much that they do it even when the internet is out.
Dash -Dash是可供搜索的200多個文檔集,對于那些熱愛閱讀文檔的開發人員來說,Dash是文檔的離線金礦,即使在互聯網中斷的情況下,他們也愿意閱讀。
Bear — Not directly coding related, but a neat piece of software for taking notes if that is something you do in your day-to-day. I can’t help but wish that this would be integrated with Paw somehow, for pun-related purposes.
熊 —與您的日常工作無關,它與編碼沒有直接關系,但會作為一個整潔的軟件來做筆記。 我忍不住希望將它與Paw集成在一起,以實現與雙關語有關的目的。
Magnet — Okay. Fair warning: This one costs money. If you can afford to dish up the 99 cents, however, I think it is worth it for those tough times when you don’t have access to a second monitor. This tool allows you to easily snap different windows to separate areas of your screen so you can run multiple terminals at once and tell your mom you are a hacker. (They are not paying me for this recommendation, sadly. However, if you are the creator of Magnet and you wish to pay me, please get in touch).
磁鐵 -好的。 合理警告:這是要花錢的。 但是,如果您有能力支付99美分的費用,那么在您無法使用第二臺顯示器的困難時期,我認為這是值得的。 使用此工具,您可以輕松地將不同的窗口捕捉到屏幕的各個區域,以便您可以一次運行多個終端,并告訴媽媽您是黑客。 (可悲的是,他們沒有為此建議付我錢。但是,如果您是Magnet的創建者并希望付給我,請保持聯系。)
Windows特定 (Windows Specific)
ConEmu — If you are on Windows and you would like to have multiple terminal tabs, this is an easy, free solution to your tab-related woes. Never again will you have to flip back and forth through entire windows just to look at your different error messages.
ConEmu —如果您使用的是Windows,并且希望有多個終端選項卡,那么這是一種與選項卡相關的麻煩的簡單,免費的解決方案。 您再也不需要在整個窗口中來回翻轉,而只需查看不同的錯誤消息即可。
Ditto — You know when you’re trying to copy four separate answers from Stack Overflow and you have to keep switching back and forth from your browser to your IDE? Worry no more. With the Ditto clipboard manager, you can copy-paste your way to victory.
同上 -您知道當您嘗試從Stack Overflow復制四個單獨的答案時,是否必須不斷從瀏覽器來回切換到IDE? 不用擔心。 使用Ditto剪貼板管理器,您可以復制粘貼成功之路。
TouchCursor — Programmers of all sorts are notorious for wanting to use the mouse as little as possible. If you find yourself in that camp, then this will be right up your alley.
TouchCursor —各種各樣的程序員都以要盡可能少地使用鼠標而臭名昭著。 如果您發現自己在那個營地里,那么這條路就在您的巷子里。
Cmder — I am going to forego my description of this product, as I feel the description on their website is much better — “Cmder is a software package created out of pure frustration over the absence of nice console emulators on Windows. It is based on amazing software, and spiced up with the Monokai color scheme and a custom prompt layout, looking sexy from the start.” I don’t know about you, but I am a fan of any software that describes itself as “sexy”.
Cmder –我要放棄對該產品的描述,因為我覺得他們在網站上的描述要好得多–“ Cmder是一個軟件包,是由于Windows上沒有漂亮的控制臺模擬器而純粹出于沮喪而創建的。 它基于出色的軟件,并采用了Monokai配色方案和自定義的提示布局,從一開始就看起來很性感。” 我不了解您,但是我喜歡任何自稱為“性感”的軟件。
Directory Opus — This is basically what Windows Explorer should have been from the start. Opus allows you to dig through your poorly-organized documents almost as if they were well-organized.
Directory Opus ( 目錄作品) -基本上這是Windows Explorer從一開始就應該具有的功能。 Opus使您可以像組織得井井有條一樣瀏覽組織不善的文檔。
Zeal — With over 200 documentation sets to search through, Zeal is an offline goldmine of documentation for the developer who loves to read documentation so much that they do it even when the internet is out. (Copy-pasted from Dash in the Mac section).
Zeal – Zeal是可供搜索的200多個文檔集,對于那些熱愛閱讀文檔的開發人員來說,Zeal是離線的文檔金礦,即使在互聯網中斷的情況下,他們也可以閱讀文檔。 (從Mac部分的Dash復制粘貼)。
榮譽獎 (Honorable Mention)
If you are feeling particularly sadistic, throw out your current IDE and learn to use Vim, Grep, Zsh, and/or ack. From what I hear, these can super-charge your productivity once you get over the formidable learning curve. However, I don’t hate myself enough to find out.
如果您感到特別悲傷,請放棄當前的IDE并學習使用Vim , Grep , Zsh和/或ack 。 據我所知,一旦您克服了艱巨的學習過程,這些就可以提高您的生產力。 但是,我對自己的憎恨還不足以找到答案。
結論 (In Conclusion)
As I’ve mentioned before, there is almost always more than one way to do any given thing. And it is more important to learn to use the tools you already have, rather than to go installing things willy-nilly with the hopes that it will somehow make you a Leet coder.
正如我之前提到的,做任何給定的事情幾乎總是有不止一種方法。 而且,重要的是,學習使用已有的工具,而不是隨心所欲地安裝東西,以期以某種方式使您成為Leet編碼器。
For example, if you go to the post I made it on Reddit you’ll see there are 26 comments about tools to pick colors alone. I almost included them here but having a whole subsection for color-pickers seemed excessive.
例如,如果您轉到我在Reddit上發表的帖子,您會看到26條有關僅選擇顏色的工具的評論。 我在這里幾乎將它們包括在內,但是為選色器準備了一個完整的小節似乎有些多余。
That being said, I’m a sucker for some sweet tools, so if you have any that you can’t live without please leave them in the comments below!
話雖這么說,我是一些甜蜜的工具的傻瓜,所以如果您有任何不能缺少的工具,請將其留在下面的評論中!
If you liked this article please give it some claps and check out:
如果您喜歡這篇文章,請給予鼓掌并查看:
How I cut my javascript bundle in half with three lines of code
我如何用三行代碼將JavaScript包分成兩半
How I decreased the size of my Heroku app by 75%
我如何將Heroku應用程序的大小減少75%
Why I left a six-figure job in the search for something better
為什么我為了尋找更好的東西而留下了六位數的工作
Also, give me a follow on Twitter.
另外,請在Twitter上關注我。
翻譯自: https://www.freecodecamp.org/news/tools-i-wish-i-had-known-about-when-i-started-coding-revisited-ffb715ffd23f/
代碼編寫工具