Telegram Group & Telegram Channel
回看過去幾年使用GitHub Copilot輔助開發的經歷,我感覺Copilot確實很大程度上改變了我寫程式的一些習慣。
純靠人腦寫的時候比較傾向於把一整個feature的流程一整坨拉出來,然後在debug過程中做抽象拆分,慢慢從spaghetti變成比較理想的可維護的project。
現在知道copilot的優勢是在一個小需求輸入輸出確定的情況下直接出implementation,且拆分越細緻我自己review也越容易,所以更多從頂向下寫code,先理清data flow,拆分好步驟,寫出來一大堆function signature和type definition,然後讓copilot一個個implement出來,人工review過一遍後再讓copilot寫test cases,結合test case review一遍。debug時間大大減少,很多時候這樣well-tested code組合完都能一遍過,而且知道不用再返工做拆分,心情大為舒暢。
即使是需求變化或者一開始架構設計有問題,後面更改也會更多在architecture上做調整然後讓copilot重寫對應部分。因為具體的implementation基本上不是我自己一行行碼出來的了,所以不會像以前一樣因為覺得敲掉重頭再來很可惜,做調整也會更聚焦於怎麼調整比較符合需求,而不是動歪腦筋怎麼retrofit比較方便。



group-telegram.com/Laoself/10215
Create:
Last Update:

回看過去幾年使用GitHub Copilot輔助開發的經歷,我感覺Copilot確實很大程度上改變了我寫程式的一些習慣。
純靠人腦寫的時候比較傾向於把一整個feature的流程一整坨拉出來,然後在debug過程中做抽象拆分,慢慢從spaghetti變成比較理想的可維護的project。
現在知道copilot的優勢是在一個小需求輸入輸出確定的情況下直接出implementation,且拆分越細緻我自己review也越容易,所以更多從頂向下寫code,先理清data flow,拆分好步驟,寫出來一大堆function signature和type definition,然後讓copilot一個個implement出來,人工review過一遍後再讓copilot寫test cases,結合test case review一遍。debug時間大大減少,很多時候這樣well-tested code組合完都能一遍過,而且知道不用再返工做拆分,心情大為舒暢。
即使是需求變化或者一開始架構設計有問題,後面更改也會更多在architecture上做調整然後讓copilot重寫對應部分。因為具體的implementation基本上不是我自己一行行碼出來的了,所以不會像以前一樣因為覺得敲掉重頭再來很可惜,做調整也會更聚焦於怎麼調整比較符合需求,而不是動歪腦筋怎麼retrofit比較方便。

BY Laoself 🙂‍↕️


Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260

Share with your friend now:
group-telegram.com/Laoself/10215

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

If you initiate a Secret Chat, however, then these communications are end-to-end encrypted and are tied to the device you are using. That means it’s less convenient to access them across multiple platforms, but you are at far less risk of snooping. Back in the day, Secret Chats received some praise from the EFF, but the fact that its standard system isn’t as secure earned it some criticism. If you’re looking for something that is considered more reliable by privacy advocates, then Signal is the EFF’s preferred platform, although that too is not without some caveats. Messages are not fully encrypted by default. That means the company could, in theory, access the content of the messages, or be forced to hand over the data at the request of a government. The company maintains that it cannot act against individual or group chats, which are “private amongst their participants,” but it will respond to requests in relation to sticker sets, channels and bots which are publicly available. During the invasion of Ukraine, Pavel Durov has wrestled with this issue a lot more prominently than he has before. Channels like Donbass Insider and Bellum Acta, as reported by Foreign Policy, started pumping out pro-Russian propaganda as the invasion began. So much so that the Ukrainian National Security and Defense Council issued a statement labeling which accounts are Russian-backed. Ukrainian officials, in potential violation of the Geneva Convention, have shared imagery of dead and captured Russian soldiers on the platform. In addition, Telegram now supports the use of third-party streaming tools like OBS Studio and XSplit to broadcast live video, allowing users to add overlays and multi-screen layouts for a more professional look. One thing that Telegram now offers to all users is the ability to “disappear” messages or set remote deletion deadlines. That enables users to have much more control over how long people can access what you’re sending them. Given that Russian law enforcement officials are reportedly (via Insider) stopping people in the street and demanding to read their text messages, this could be vital to protect individuals from reprisals.
from ye


Telegram Laoself 🙂‍↕️
FROM American