{"id":11298,"date":"2016-03-03T06:00:00","date_gmt":"2016-03-03T14:00:00","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=11298"},"modified":"2016-03-01T08:09:24","modified_gmt":"2016-03-01T16:09:24","slug":"theres-only-one-right-place-for-curly-braces","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/","title":{"rendered":"There&#8217;s only one right place for curly braces"},"content":{"rendered":"<p>If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit.<\/p>\n<p>A tweet about the <a href=\"https:\/\/twitter.com\/search?q=powershell%20backtick&amp;src=typd\">PowerShell backtick continuation character<\/a> or the placement of comment-based help for a function will elicit enough reaction to bring down a small server.<\/p>\n<p>But nothing gets people more riled up than the position of curly braces in a script block. On the same line or a separate line?<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image002-4.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"clip_image002\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image002_thumb-4.jpg\" alt=\"clip_image002\" width=\"472\" height=\"312\" border=\"0\" \/><\/a><br \/>\n<a href=\"http:\/\/s3.10pm.com\/0915\/89321_programmers-will-always-know\/\">From 10PM.com<\/a><\/p>\n<p>First, PowerShell MVP <a href=\"https:\/\/twitter.com\/alexandair\">Aleksandar Nikolic<\/a> will remind you (and rightly so!) that &#8220;curly braces&#8221; is redundant, because all braces are curly. That&#8217;s how you distinguish braces from brackets.<\/p>\n<p>Then, everyone who&#8217;s not on deadline, and a few people who are, will weigh in about how their curly brace placement is the right way. It&#8217;s the professional way. It&#8217;s the clearest way. It&#8217;s the historic way. It&#8217;s the new way.<\/p>\n<p>In general, PowerShell doesn&#8217;t care about white space or line breaks before curly braces in script blocks. They matter only in structures like hash tables. But, everyone else cares.<\/p>\n<h1>Place open brace on new line (or not!)<\/h1>\n<p>PowerShell Studio wouldn&#8217;t dare to make the critical choice of curly brace placement for you. Instead, you decide where you want your curly braces in script blocks.<\/p>\n<p>To declare your choice:<\/p>\n<ol>\n<li>In PowerShell Studio, click <b>Home<\/b> and in the Windows group, click <b>Options<\/b>.<\/li>\n<li>Under Editor, click <b>Formatting<\/b>.<\/li>\n<li>Check or uncheck: <b>Place open brace on a new line<\/b>.<\/li>\n<\/ol>\n<p>The script diagram shows you the effect.<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image004-3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"clip_image004\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image004_thumb-3.jpg\" alt=\"clip_image004\" width=\"588\" height=\"462\" border=\"0\" \/><\/a><\/p>\n<p>On the same Formatting page, you can also set your Triggers, that is, the characters on which PowerShell Studio evaluates and reformats for you, if necessary.<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image005.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"clip_image005\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image005_thumb.png\" alt=\"clip_image005\" width=\"594\" height=\"146\" border=\"0\" \/><\/a><\/p>\n<p>As a result, when you hit a trigger or click the amazing <b>Format Script<\/b> button (Home\/Edit), PowerShell Studio formats your script with the curly braces where you want them.<\/p>\n<p>Remember that <strong>Place open brace on a new line<\/strong> affects only basic script blocks, like those in an IF statement. It doesn&#8217;t affect other instances of curly braces, like those in hash tables, functions, or even the script blocks in event handlers.<\/p>\n<p>So, there&#8217;s only one right place for curly braces in a script block. It&#8217;s where you want them.<\/p>\n<p>&nbsp;<\/p>\n<p><em>June Blender is a technology evangelist at SAPIEN Technologies, Inc. and a Windows PowerShell MVP. You can reach her at <\/em><a href=\"mailto:juneb@sapien.com\"><em>juneb@sapien.com<\/em><\/a><em>\u00a0and follow her on Twitter at <\/em><a href=\"https:\/\/twitter.com\/juneb_get_help\"><em>@juneb_get_help<\/em><\/a><em>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than [&hellip;]<\/p>\n","protected":false},"author":31,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1034,703],"tags":[1064,85,934,1062,1016,1063],"class_list":["post-11298","post","type-post","status-publish","format-standard","hentry","category-best-practices","category-powershell-studio","tag-curly-braces","tag-formatting","tag-juneb","tag-options","tag-powershell-studio","tag-preferences"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"June Blender\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"DEV SAPIEN Blog - Tools for IT Success\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"There\u2019s only one right place for curly braces - DEV SAPIEN Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-03-03T14:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-03-01T16:09:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"There\u2019s only one right place for curly braces - DEV SAPIEN Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#blogposting\",\"name\":\"There\\u2019s only one right place for curly braces - DEV SAPIEN Blog\",\"headline\":\"There&#8217;s only one right place for curly braces\",\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.sapien.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/clip_image002_thumb-4.jpg\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#articleImage\"},\"datePublished\":\"2016-03-03T06:00:00-08:00\",\"dateModified\":\"2016-03-01T08:09:24-08:00\",\"inLanguage\":\"en-US\",\"commentCount\":24,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#webpage\"},\"articleSection\":\"Best practices, PowerShell Studio, curly braces, formatting, juneb, options, PowerShell Studio, preferences\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"position\":2,\"name\":\"Software News\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"name\":\"PowerShell Studio\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"position\":3,\"name\":\"PowerShell Studio\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#listItem\",\"name\":\"There&#8217;s only one right place for curly braces\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#listItem\",\"position\":4,\"name\":\"There&#8217;s only one right place for curly braces\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"name\":\"PowerShell Studio\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/\",\"name\":\"June Blender\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#webpage\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/\",\"name\":\"There\\u2019s only one right place for curly braces - DEV SAPIEN Blog\",\"description\":\"If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/03\\\/theres-only-one-right-place-for-curly-braces\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"datePublished\":\"2016-03-03T06:00:00-08:00\",\"dateModified\":\"2016-03-01T08:09:24-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"There\u2019s only one right place for curly braces - DEV SAPIEN Blog","description":"If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than","canonical_url":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#blogposting","name":"There\u2019s only one right place for curly braces - DEV SAPIEN Blog","headline":"There&#8217;s only one right place for curly braces","author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image002_thumb-4.jpg","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#articleImage"},"datePublished":"2016-03-03T06:00:00-08:00","dateModified":"2016-03-01T08:09:24-08:00","inLanguage":"en-US","commentCount":24,"mainEntityOfPage":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#webpage"},"isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#webpage"},"articleSection":"Best practices, PowerShell Studio, curly braces, formatting, juneb, options, PowerShell Studio, preferences"},{"@type":"BreadcrumbList","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/dev.sapien.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","position":2,"name":"Software News","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","name":"PowerShell Studio"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","position":3,"name":"PowerShell Studio","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#listItem","name":"There&#8217;s only one right place for curly braces"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#listItem","position":4,"name":"There&#8217;s only one right place for curly braces","previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","name":"PowerShell Studio"}}]},{"@type":"Organization","@id":"https:\/\/dev.sapien.com\/blog\/#organization","name":"DEV SAPIEN Blog","description":"Tools for IT Success","url":"https:\/\/dev.sapien.com\/blog\/"},{"@type":"Person","@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author","url":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/","name":"June Blender"},{"@type":"WebPage","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#webpage","url":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/","name":"There\u2019s only one right place for curly braces - DEV SAPIEN Blog","description":"If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/#breadcrumblist"},"author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"creator":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"datePublished":"2016-03-03T06:00:00-08:00","dateModified":"2016-03-01T08:09:24-08:00"},{"@type":"WebSite","@id":"https:\/\/dev.sapien.com\/blog\/#website","url":"https:\/\/dev.sapien.com\/blog\/","name":"DEV SAPIEN Blog","description":"Tools for IT Success","inLanguage":"en-US","publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"DEV SAPIEN Blog - Tools for IT Success","og:type":"article","og:title":"There\u2019s only one right place for curly braces - DEV SAPIEN Blog","og:description":"If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than","og:url":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/","article:published_time":"2016-03-03T14:00:00+00:00","article:modified_time":"2016-03-01T16:09:24+00:00","twitter:card":"summary_large_image","twitter:title":"There\u2019s only one right place for curly braces - DEV SAPIEN Blog","twitter:description":"If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit. A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough reaction to bring down a small server. But nothing gets people more riled up than"},"aioseo_meta_data":{"post_id":"11298","title":null,"description":null,"keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-08-28 15:59:30","updated":"2026-08-28 15:59:30"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/\" title=\"Software News\">Software News<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/\" title=\"PowerShell Studio\">PowerShell Studio<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tThere\u2019s only one right place for curly braces\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/dev.sapien.com\/blog"},{"label":"Software News","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/"},{"label":"PowerShell Studio","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/"},{"label":"There&#8217;s only one right place for curly braces","link":"https:\/\/dev.sapien.com\/blog\/2016\/03\/03\/theres-only-one-right-place-for-curly-braces\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=11298"}],"version-history":[{"count":7,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11298\/revisions"}],"predecessor-version":[{"id":11305,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11298\/revisions\/11305"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=11298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=11298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=11298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}