步進電機 步距角 編碼器
A couple of months ago, I was chatting to a developer at work about how I’ve always wanted to learn to code but never tried.
幾個月前,我正在與一個開發人員聊天,討論我一直想學習編碼但從未嘗試過的方法。
Coding always seemed like one of those skills that was incredibly powerful (hence the allure). At the same time coding felt hugely complicated and foreign.
編碼總是看起來像是一種非常強大的技能(因此具有吸引力)。 同時,編碼感覺非常復雜且陌生。
Ever since I was an art student in college, coding, in my mind, always see-sawed between being geeky and glamorous. Glamorous because if you knew how to code that meant you were smart and successful. And geeky because, well, most depictions of programmers in popular culture look like this…
自從我是一名大學藝術系學生以來,在我看來,編碼總是在怪異和迷人之間搖擺不定。 魅力四射,因為如果您知道如何編碼,那就意味著您很聰明和成功。 而且令人討厭,因為,在流行文化中,大多數程序員的描繪都是這樣的……
As a girl growing up in Dublin, I assumed you had to be ‘naturally good’ at computers to understand coding.
作為一個在都柏林長大的女孩,我認為您必須“天生擅長”計算機才能理解編碼。
But I’ve learned that there is no such thing as ‘naturally good.’
但是我了解到, 沒有“天生好”的東西。
技術人員與非技術人員之間的區別 (The Difference Between Techies & Non-Techies)
As a non-programmer, everything to do with tech, for the most part, seems foreign, complex and very difficult to grasp. There’s so much of it, and that becomes overwhelming.
作為非程序員,與技術有關的所有事情在大多數情況下似乎都是陌生的,復雜的并且很難掌握。 太多了,變得勢不可擋。
This is exactly where the divide between ‘techies’ and ‘non-techies’ pops up. I’ll use myself as an example here:
這正是“技術人員”和“非技術人員”之間出現分歧的地方。 我在這里以自己為例:
When I’m trying to figure something out on my computer — let’s say, how to customize a new application — I’ll try hard at first by focussing on this one problem. I’ll focus on it so much that I also end up focussing on a single solution, over and over again.
當我試圖在計算機上弄清楚某些東西(例如,如何自定義一個新應用程序)時,我將首先著眼于這個問題,盡力而為。 我將重點放在這一點上,以至最終我會一遍又一遍地專注于單個解決方案。
Then I’ll get frustrated, then feel bad because I can’t figure it out, and then give up.
然后,我會感到沮喪,然后因為無法解決問題而感到難過,然后放棄。
But when my partner tries to figure something out, he’ll do this:
但是,當我的伴侶試圖弄清楚某些事情時,他會這樣做:
Google
谷歌
Test something out
測試一下
Google again
再次谷歌
Test something out again
再次測試一下
Watch a few youtube tutorials
觀看一些YouTube教程
Read through some forums
閱讀一些論壇
Test something again
再次測試
And usually, he’ll solve the problem. (And when he doesn’t, he’s not as frustrated as I usually am.)
通常,他會解決問題。 (而且當他不這樣做時,他并沒有我平時感到沮喪。)
I used to think he ‘got it’.
我曾經以為他“明白了”。
But actually he was curious (like me), and patient (not so much like me). It seems so obvious now. For a long time, I succumbed to thinking that we were two completely different types of people.
但實際上,他很好奇(像我一樣),耐心(不像我那么多)。 現在看來是如此明顯。 長期以來,我一直以為我們是兩種完全不同的人。
I was wrong.
我錯了。
恐嚇游戲 (The Intimidation Game)
I’m 29, a woman, grew up in Dublin, studied art in college, moved to London to do an MA in writing, where I now live and work. And even though I never considered myself a ‘techie’ person, I’ve always been curious about programming.
我今年29歲,是一名婦女,在都柏林長大,在大學學習藝術,然后搬到倫敦寫文學碩士學位,現在我在這里生活和工作。 即使我從未認為自己是“技術人員”,但我一直對編程感到好奇。
I’ve also, always, felt too intimidated to try it.
我也總是覺得太膽怯了,無法嘗試。
All I’ve ever known about coding was what I saw in films and TV growing up in Ireland in the early 2000s. I watched nerdy archetypes in movies type at lightning speed, read nonsensical symbols in strange interfaces and hack into the system’s mainframe.
我對編碼的了解僅是我在2000年代初期在愛爾蘭成長的電影和電視中所看到的。 我以閃電般的速度觀看了電影類型中的書呆子原型,在奇怪的界面中讀取了荒謬的符號,并侵入了系統的大型機。
Suffice it to say, I never identified with these characters. And so, unsurprisingly, never thought of myself as someone who could do it.
可以說,我從來沒有認同這些字符。 因此,毫不奇怪, 從未想到自己是可以做到的人。
為什么現在? (Why Now?)
Cut to 10 weeks ago. I’m chatting to the developer at work about all this alluring code stuff. She tells me about Codebar. It is a weekly meetup aiming to diversify the tech industry. Codebar organizes free coaching sessions for people underrepresented in tech.
削減到10周前。 我正在與工作中的開發人員討論所有這些誘人的代碼。 她告訴我有關Codebar的信息。 這是每周一次的聚會,旨在使技術行業多樣化。 Codebar為技術不足的人士組織免費的輔導課程。
Sounded like the thing — a place to learn to code that’s designed to welcome complete newbies like me. So I thought, sure why not?
聽起來很像–一個學習編碼的地方,旨在歡迎像我這樣的新手。 所以我想,為什么不呢?
寄予厚望 (Great Expectations)
I went along to this meetup telling myself to be ‘realistic’ about what I wanted to achieve. You see when it comes to picking up new hobbies, I often have trouble managing my expectations. Most of the time I don’t have enough patience to wait for my skill set to level up to my enthusiasm. I get distracted by something else and the whole thing often fizzles out.
我參加了這次聚會,告訴自己對要實現的目標“現實”。 您會發現,在學習新愛好時,我常常很難控制自己的期望。 大多數情況下,我沒有足夠的耐心等待技能來提升自己的熱情。 我被其他事情分散了注意力,整個事情常常變得模糊不清。
So walking in I said to myself, “Just take it one problem at a time. Don’t start telling everyone you want to become a developer.”
因此,走進去時,我對自己說:“一次解決一個問題。 不要開始告訴所有人您想成為開發人員。”
But here’s the thing: I want to become a developer.
但這就是問題:我想成為一名開發人員。
我想要更多 (I Want More)
I’ve spent the last 10 weeks learning the most basic HTML and CSS and using it to build my first ever website (right now I’m experiencing the unprecedented joy of browser testing, so we’ll see how that goes later).
在過去的10周中,我學習了最基本HTML和CSS并使用它來構建了我的第一個網站 (現在,我正經歷著前所未有的瀏覽器測試樂趣,因此我們將在以后看到如何進行)。
For any other complete beginners out there, I highly recommend the Codebar tutorials for a basic introduction. I recommend Flexbox Froggy for learning some cool front end displays. I recommend CSS Diner for learning everything there is to know about selectors.
對于那里的所有其他完整初學者,我強烈推薦Codebar教程進行基本介紹。 我建議使用Flexbox Froggy來學習一些很酷的前端顯示器。 我建議使用CSS Diner來學習有關選擇器的所有知識。
And while it is crazy difficult and there are constantly so many new problems that I had no idea were lurking in the margins, there really is no high like figuring out why some code doesn’t work and then fixing it. My synapses go crazy every single time, and I love it.
盡管這很瘋狂,而且不斷出現許多新問題,我不知道潛伏在邊緣,但確實沒有什么比弄清楚為什么某些代碼不起作用然后修復它的高了。 我的突觸每次都發瘋,我喜歡它。
For every problem I’ve come across, I try to be patient while figuring it out. Now I google, and test, and read through forums. I ask lots of questions even if I think they’re stupid because you know what? Who cares. I’m new at this.
對于遇到的每一個問題,我都會在解決問題時耐心等待。 現在,我用Google搜索,測試和閱讀論壇。 我問很多問題,即使我認為它們很愚蠢,因為您知道嗎? 誰在乎。 我是新來的。
重點是什么? (What’s The Point?)
My goal now is to become a developer in 6 months’ time.
我現在的目標是在6個月內成為一名開發人員。
Why 6 months? Because that happens to be when my work frees up. And if other people can do it, so can I, damnit. Just because I didn’t study computer science and didn’t know what Github was until a few weeks ago (still figuring that one out in full, to be honest), doesn’t mean I can’t get there eventually.
為什么要6個月? 因為那恰好是我的工作騰出的時間。 如果其他人可以做到,我也該死。 僅僅因為我幾周前才研究計算機科學,也不知道Github是什么(老實說,我仍然想盡全力),但這并不意味著我最終無法到達那里。
If you take one small problem at a time, you can manage it. And if you have kind people around you who are willing to help, all the better (and from my experience so far, the industry doesn’t have any shortage of this ?).
如果一次解決一個小問題,就可以解決。 而且,如果您周圍有善良的人愿意提供幫助,那就更好了(從我到目前為止的經驗來看,這個行業并不缺少?)。
As a complete code newbie, I’ll be documenting my journey on Medium from here on out. I will share the kinds of experiences and perspectives that I want others to share with me.
作為一個完整的代碼新手,我將從現在開始記錄我在Medium上的旅程。 我將分享我希望其他人與我分享的各種經驗和觀點。
Hopefully, it will help other newcomers like myself realize that there are not just 2 types of people out there: those who just get it and those who don’t.
希望它將幫助像我這樣的其他新來者認識到,不僅只有兩種類型的人:那些剛剛得到的人和那些沒有得到的人。
For me, this is lesson number one.
對我來說,這是第一課。
翻譯自: https://www.freecodecamp.org/news/the-first-step-towards-learning-to-code-2e4c31e86630/
步進電機 步距角 編碼器