{"id":3095,"date":"2022-08-09T12:26:48","date_gmt":"2022-08-09T10:26:48","guid":{"rendered":"https:\/\/libreduc.cc\/blog\/astuce\/?p=3095"},"modified":"2022-08-09T12:26:54","modified_gmt":"2022-08-09T10:26:54","slug":"studio4education-instances","status":"publish","type":"post","link":"https:\/\/libreduc.cc\/blog\/astuce\/2022\/08\/09\/studio4education-instances\/","title":{"rendered":"Studio4Education : instances"},"content":{"rendered":"\n<p>Durant son stage, Kamal Hammi (<a href=\"https:\/\/www.linkedin.com\/in\/kamal-hammi-11bbb61a2\/\">https:\/\/www.linkedin.com\/in\/kamal-hammi-11bbb61a2\/<\/a>) a travaill\u00e9 \u00e0 la cr\u00e9ation d&rsquo;instances d&rsquo;objets (des variables un peu particuli\u00e8res&#8230;) dans S4E. Celle-ci sera int\u00e9gr\u00e9e \u00e0 la version 0.9.7 \u00e0 venir. <span class=\"col-md-10\">L&rsquo;utilisation des instances simplifie la programmation en attribuant un nom \u00e0 un objet particulier, comme un servomoteur, mais permet aussi de nommer chacun diff\u00e9remment pour savoir exactement sur lequel on agit.<\/span><br><em>During his internship, Kamal Hammi (<a href=\"https:\/\/www.linkedin.com\/in\/kamal-hammi-11bbb61a2\/\">https:\/\/www.linkedin.com\/in\/kamal-hammi-11bbb61a2\/<\/a>) worked on the creation of object instances (variables that are a bit special&#8230;) in S4E. This will be integrated in the upcoming version 0.9.7. Using instances simplifies programming by giving a name to a particular object, such as a servo motor, but also allows you to name each one differently so you know exactly which one you are working on.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/libreduc.cc\/blog\/astuce\/wp-content\/uploads\/2022\/08\/S4E_instances.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Durant son stage, Kamal Hammi (https:\/\/www.linkedin.com\/in\/kamal-hammi-11bbb61a2\/) a travaill\u00e9 \u00e0 la cr\u00e9ation d&rsquo;instances d&rsquo;objets (des variables un peu particuli\u00e8res&#8230;) dans S4E. Celle-ci sera int\u00e9gr\u00e9e \u00e0 la version 0.9.7 \u00e0 venir. L&rsquo;utilisation des instances simplifie la programmation en attribuant un nom \u00e0 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/libreduc.cc\/blog\/astuce\/2022\/08\/09\/studio4education-instances\/\"> <span class=\"screen-reader-text\">Studio4Education : instances<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[14,3],"tags":[],"class_list":["post-3095","post","type-post","status-publish","format-standard","hentry","category-studio4education","category-technologie"],"_links":{"self":[{"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/posts\/3095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/comments?post=3095"}],"version-history":[{"count":1,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/posts\/3095\/revisions"}],"predecessor-version":[{"id":3097,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/posts\/3095\/revisions\/3097"}],"wp:attachment":[{"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/media?parent=3095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/categories?post=3095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/tags?post=3095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}