js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【コピペでOK!】続・Notion APIで、特定の雛形のページをもとに新しいページを作成する方法 |
https://qiita.com/CurryPrince/items/2fa8db372d41fa3bd905
|
notionapi |
2023-02-25 19:32:27 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Amazon RDS Proxy メモ |
https://qiita.com/KWS_0901/items/b17d3780d81ec48c86e3
|
amazonrds |
2023-02-25 19:54:34 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
WSL2のdocker 設定 |
https://qiita.com/XPT60/items/ee5a65e1ba3bb87bf81c
|
docker |
2023-02-25 19:14:09 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
MySQL上のデータをGrafanaで表示する |
https://qiita.com/raki2222/items/68265733dbc291a6dee7
|
grafana |
2023-02-25 19:03:21 |
golang |
Goタグが付けられた新着投稿 - Qiita |
今さらだけどChatGPT使ってTOTPについて調べてみた |
https://qiita.com/Esperna/items/d88fe766a4f7840ad4d8
|
chatgpt |
2023-02-25 19:51:13 |
技術ブログ |
Developers.IO |
東京リージョンで「C7g」AWS Graviton 3を搭載した最新世代のEC2が利用可能になりました |
https://dev.classmethod.jp/articles/c7g-ec2-tokyo-region/
|
amazon |
2023-02-25 10:01:22 |
海外TECH |
DEV Community |
7 Best Practices for Software Developers |
https://dev.to/devland/7-best-practices-for-software-developers-1l28
|
Best Practices for Software DevelopersSoftware development is a complex and ever evolving field that requires developers to constantly adapt to changing technologies tools and methodologies To succeed in this field it s essential to adopt best practices that enable you to write high quality maintainable and efficient code In this article I ll reveal essential best practices for software developers that can help you become a more effective and efficient programmer Choosing the proper technologiesWhen starting to develop an application one of the critical decisions to make is deciding which technologies to use such as programming languages frameworks libraries and databases While it may seem prudent to rely on technologies you are already familiar with this may not always be the best approach The application itself often dictates certain restrictions regarding the technologies that can be employed For instance when creating a mobile application numerous technologies can be used native programming languages react native flutter but when developing a similar application repeatedly it may be more judicious to use technologies that you are already proficient with Ultimately the decision of which technologies to use requires careful consideration and evaluation of the specific requirements and constraints of the application at hand Choosing the proper toolsAs a developer you should always choose the proper tools that best fit your software development process This makes your process more efficient and also helps you in the development life cycle There are many tools to automate tasks in the development process and it is a good way of avoiding mistakes that occur in repetitive tasks Of course the tools you use will depend on the process and the technologies you re using Minimizing the amount of codingA common good practice is to minimize the amount of coding This is really sensible because it makes code maintenance and testing much easier DRY short for Don t Repeat Yourself is a common principle in software development The basic idea of DRY is to reduce the amount of code by avoiding repetition in it It is always a good practice to split your source code into smaller components and elements because smaller units are always easier to manage Of course the optimal structure depends on the programming language you are using One good statement is also Keep it Simple Stupid KISS which should guide you in the right direction Coding conventionsCoding conventions are a set of guidelines for a specific programming language that recommend programming styles practices and methods for each aspect of a program written in that language It makes the code more readable and easier to maintain Naming conventions define how variables methods and more should be named Naming is really important because it helps developers understand the purpose of a certain unit in a program The layout convention defines how the structure of the source code should look For example indenting and the use of spaces The commenting convention defines how the source code should be commented on Quite often it is good to use some standardized ways of commenting such as Javadoc with Java Most software development environments and editors offer tools that help you with code conventions You can also use code formatters such as Prettier for JavaScript TestingTesting is one of the most essentials points every developer should remember while developing an application Testing your code helps you to write efficient code and avoid delivering substandard code It also helps to detect and protect against bugs in the future Code reviewsMistakes are an inherent part of software development and recognizing this reality is the initial step toward embracing the value of a code review Enlisting the help of a colleague to review your pull requests before merging is an effective means of ensuring the overall quality of the code Code reviews enable the team to identify possible flaws that might otherwise remain undetected during testing resulting in significant time and cost savings By enhancing the code quality early in the software development process a comprehensive code review minimizes the chances of bugs and errors entering the project Therefore investing in a thorough code review process can significantly improve the final outcome of a project DocumentationIn software development documentation is a key activity that must not be ignored The more detailed and defined documentation of your project the better your team will understand what they need exactly to achieve to make your product thrive The codes are needed to be reviewed unit tests and automation tests apart from writing and designing Documentation is given the least attention which is not right Documentation is one of the best solutions that can help you in the future if you want to make any changes It s very important to take out the extra time to write a proper description that will help in saving a huge amount in the future SummaryIn this article we have explored essential best practices that every developer should follow from choosing the right technologies to implementing effective code reviews By implementing these practices you can improve your skills and efficiency as a developer and deliver better software products to your clients or end users Now it s your turn to take action Incorporate these best practices into your development process and continually strive to improve your skills and techniques By doing so you can become a more effective and efficient software developer and take your projects to the next level THANK YOU FOR READING I hope you found this little article helpful Please share it with your friends and colleagues Sharing is caring Connect with me on Twitter or LinkedIn to read more about JavaScript React Node js and more… Want to work together Contact me on Upwork |
2023-02-25 10:43:31 |
海外TECH |
DEV Community |
How to use multiple GitHub accounts on one machine? - A Quick Guide 🤹♀️🚀 |
https://dev.to/aderchox/how-to-use-multiple-github-accounts-on-one-machine-a-quick-guide-ka3
|
How to use multiple GitHub accounts on one machine A Quick Guide ️Let s say we want to use one GitHub account for our personal use and another one for our work professional use How do we do this NOTICE Git is thankfully very strict on telling the truth about the history and what s explained here is also not an exception This method is NOT a way of impersonating one account with another Rather multi account here means being able to use multiple accounts on the same machine SEPARATELY If you don t know what all these mean no worries just ignore this notice Here are the steps Create and edit ssh config on you machine On Windows that would mean a path like C Users lt your username gt ssh config Add this to it Host github com HostName github com User git IdentityFile ssh id rsaHost github com personal HostName github com User git IdentityFile ssh id rsa personalExplanation Basically what this config is saying is very simple if it ever sees the string git github com in a repository address it will use the ssh id rsa private key and if it sees the string git github com work in a repository address it will use the ssh id rsa work private key You ll see an example in the end As you see we need two pairs of SSH keys the ones which their private keys have been addressed by IdentityFiles in the config snippet above Now create these two pairs inside the ssh folder of your machine by cding to it and running the below command twice cd sshssh keygen t rsa b C your work email address After running this command for creating the personal use key pair make sure to enter the correct name i e the name id rsa personal similar to the one we used in the config snippet ssh keygen t rsa b C your personal email address NOTICE When prompted for passphrases you may only hit Enter on your keyboard to skip it Now add the public key of each of these pairs to its corresponding GitHub profile settings I e one goes into your personal GitHub account s profile settings and the other one goes into your work professional one s profile settings Now set the account that you use more as the global one for your machine s git account and the one that you use less as the local one on a per project basis E g I use the work account more so git config global user name lt work username gt git config global user email lt work email gt cd lt a specific personal project gt git config local user name lt personal username gt git config local user email lt personal email gt If you like you can check and make sure all configs have been set properly git config global listgit config local list Now use git github com for work professional use and git github com personal for personal use E g git remote add origin git github com username repo git for work repositories and git remote add origin git github com personal username repo git for personal repositories ️You re also invited to join our small fledging Discord community called TIL stands for Today I Learned where we share things we learn and articles we write in the realm of web programming with each other Join us using this invite link Thanks for reading this article you re very welcome to suggest any fixes or improvements in the comments section below Credit and Acknowledgment Thanks Jeffery Way for writing a guide on this here I ve only tried to explain it in a different way by putting it in my own words and summarizing it a bit |
2023-02-25 10:29:51 |
海外科学 |
NYT > Science |
Biden Proposal Would Ban Online Prescribing of Certain Drugs |
https://www.nytimes.com/2023/02/25/science/dea-telemedicine-opioids-prescription.html
|
Biden Proposal Would Ban Online Prescribing of Certain DrugsSome medications like Ritalin and Vicodin would require an in person doctor s visit under the new rules a reaction to the pandemic era rise of telemedicine |
2023-02-25 10:49:56 |
ニュース |
BBC News - Home |
NI Protocol: UK and EU appear to be on brink of new Brexit deal |
https://www.bbc.co.uk/news/uk-politics-64765375?at_medium=RSS&at_campaign=KARANGA
|
brexit |
2023-02-25 10:53:23 |
ニュース |
BBC News - Home |
Omagh police shooting: Events being held for John Caldwell |
https://www.bbc.co.uk/news/uk-northern-ireland-64757611?at_medium=RSS&at_campaign=KARANGA
|
sports |
2023-02-25 10:15:19 |
ニュース |
BBC News - Home |
Earthquake: Brynmawr, Cardiff and valleys feel tremors |
https://www.bbc.co.uk/news/uk-wales-64769319?at_medium=RSS&at_campaign=KARANGA
|
magnitude |
2023-02-25 10:17:58 |
コメント
コメントを投稿