<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Desphil Boy on Medium]]></title>
        <description><![CDATA[Stories by Desphil Boy on Medium]]></description>
        <link>https://medium.com/@desphilboy?source=rss-e367a28d4023------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rR2FQQu6ASwvfTtYJk67zw.jpeg</url>
            <title>Stories by Desphil Boy on Medium</title>
            <link>https://medium.com/@desphilboy?source=rss-e367a28d4023------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 05:11:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@desphilboy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Australian paradox of Voice to the parliament]]></title>
            <link>https://medium.com/@desphilboy/to-the-voice-to-the-parliament-in-australia-ef10b09dd651?source=rss-e367a28d4023------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef10b09dd651</guid>
            <dc:creator><![CDATA[Desphil Boy]]></dc:creator>
            <pubDate>Fri, 23 Jun 2023 06:17:08 GMT</pubDate>
            <atom:updated>2023-12-05T23:15:08.986Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*Xf8WSJHhzfP9NeyxFG98-Q.png" /><figcaption>Current “Australian Rights” Telegram poll results showing less than 15% support (national weighted) forecast. Please note: Undecided people are more than we can measure in a poll because they are less likely to contribute to a poll</figcaption></figure><p>We hear news from mainstream media indicating majority is voting <strong>YES</strong> in the upcoming (Oct 2023) referendum about a beast called <strong>“Aboriginals and Torres Strait Islanders (ATSI) voice to the parliament”</strong> or <strong>“recognition of first nation people in the constitution”. </strong>while no one that I saw knew what it exactly is. As per news, it is a government organisation for Aboriginals and TSI race! (which looks like it is not racial till Oct 2023?How? ) for ATSI related affairs! Wow, there are affairs related to some races which are not related to the rest of humanity?!? and this going to be legislated into constitution!!! and still it is not racist?! Wow!!</p><h3>What does “recognition” exactly mean?</h3><p>Why do we want ATSI people to be recognised in the constitution? Do we mean ATSI people are not recognised in the constitution? recognised as what? what does it mean? If it means ATSI people are not mentioned anywhere in the constitution, isn’t it great! They can do whatever others do! Yaaaay it means we are all equal! Am I wrong?!?! Shouldn’t people be treated equally as Australian citizens disregarding race?! Are other races all mentioned in a paragraph in constitution but ATSI? For example like:</p><blockquote><em>Constitution of Australia paragraph n:<br>- Hereby we recognise Chinese as the most beautiful, Arabs as the richest, Koreans as smartest, Italians as best chiefs, … etc…, Greeks as best confectionery bakers,…. and that was the end of races we recognise!</em></blockquote><p>Both the basics (how to get recognised) and the “as what” part is missing in the “voice to the parliament” proposal from Labor party leaving this “recognition” quite fuzzy for me as well as the reason behind such a request to be recognised. Don’t you feel the same?</p><h3>Albo says: If you think it is racist, you are a racist!</h3><p>Despite its racist nature, obvious look and feel and explicit mentions of race, “<strong>The Voice</strong>” supporters are calling all non-supporters racist. They possibly think racism is being white or in favour of white people and if you have a colour skin you are safely never racist no matter what you do or say and if you are saying something against the white race then you are fighting racism. Hey People! this is wrong, racism can happen for anyone of any colour and it is always bad! There is nothing called good racism and giving priority to any of the races is racism no matter black or white.</p><h3>The atmosphere in Victoria is NO rather that YES</h3><p>Victoria has been the most secure home for Labors and left ideas, and ABC and Roy Morgan are reporting its the highest majority of YES vote, But I could not find more than 5–6 people aiming to vote Yes here. In Telegram atmosphere is a big No which made me think if news is correct that is biased but Facebook was also the same and this made me suspicious about something being wrong.</p><h3>Australian Brainwashing Corporation(ABC)</h3><p>ABC is a national body taking budget from tax payers money, which means it should not take sides in politics or referendums, but it is acting quite dodgy in this case. ABC has clearly and proudly taken the side of <strong>YES</strong> and actively pushing and brainwashing people to blind them on the racism in the proposal and the harm it can cause. Is ABC an organ for Labor party? or better asked, while even a good number of Labor supporters are voting NO, is ABC private property of Albo’s team? <br>Or is it paid by all and owned by all people? If People of Australia are going to vote in a YES/NO referendum, then how a national buddy like ABC has already chosen the side? What ABC will do if the outcome is NO?</p><h3>Let’s Look at some Real Polls:</h3><p>This is even more interesting. Early 2023, polls were claiming 65% support for “YES” while you can hardly find even 1 person in favour of YES! It is unbelievable and strange. Now because everyone knows that support is dramatically low and NO has the majority, news and polls are heading toward 50–50. (Why and How?!??) I have 2 Telegram polls for you, one Sky news poll one held on Facebook another on epoch news. They are all confirming each other and against the news sentiment:</p><p><strong>1- first Telegram poll:<br></strong>This is a poll using Telegram app. It was spread in Australian Telegram groups and channels. I was shocked by this and I did not take it seriously:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*F9tAQqJDTvlj0o4PWoxhPA.png" /><figcaption>First Telegram poll published on Australian Right Ideas on May 31 for 1 week and then closed.</figcaption></figure><p>The poll does not provide that much of category information about voters and voting is already closed but here is the link for reference:<br><strong>2-Second poll from Sky News:<br></strong>I saw this on 06 of June. this is not Telegram anymore so we cannot say it is in a biased environment of Telegram but it is confirming the above Telegram poll. We could still say Sky news readers are biased but I am sure a lot of lefty folks also go to SkyNews to contradict. anyway what happened to this poll? please ask SkyNews.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*Zg45nidcGTy8NoW4c18BSQ.jpeg" /></figure><p><strong>3- The informative poll on Telegram<br></strong>This poll is providing enough details about the voters and based on that we can extend the results to Australian people. (You need a Telegram app on your phone)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*aBNt-ugKhPOXEsRObzyUfQ.png" /><figcaption>The second Telegram poll on Australian Rights channel</figcaption></figure><p>These party support group categorised results, which we know what percentage of Australians currently support lets us do a useful extrapolation. More specifically, we know that on April 2022, Labor got %32.5 of the votes, Coalition got %35.7 and The rest got %31.8.<br>Based on these figures we can normalise above data and get a rough estimate the votes of entire Australians vote.</p><blockquote>Coalition supporters vote: 2 Yes 8%, 2 Not decided 8%, 20 No 84%<br>Labor Supporters vote: 11 Yes 32.3% , 2 Not decided 5.8%, 21 No 61.7%<br>Other parties or No party vote: 6 Yes 1.5%, 6 Not decided 1.5%, 368 No 97%</blockquote><p><strong>When we get a weighted average on that, it will be:<br>Yes to Voice total vote: 13.8%<br>No to Voice total vote: 80.8%<br>Not decided: 5.4%</strong></p><p>This is just a rough estimate not the accurate reality. valid critics might be for example: undecided people are more than this but they are not likely to vote in a poll or we can always say the sample space is too small or it is a biased space and all these are valid points. However, this result shows that YES campaign is not in a good positions at all. A <strong>YES outcome</strong> is almost impossible while above data , even extremely biased , exists. I know This is disappointing for supporters of voice. but this is the best I could get since I do not trust organisations that do the poll.</p><h4>4- The Facebook poll:</h4><p>Another Poll against what Roy Morgan trying to sell to you as facts and Albo trying to convince you it should be.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*ckYOe_FxyBSJzcNITmb17g.jpeg" /><figcaption>Facebook Poll as of 28th of June 2023 showing Australian in Facebook extremely oppose Voice to Parliament</figcaption></figure><p>This poll is done by some cool dude on Facebook. Again this is not me, anything written there not mine and I did not do all the voting, so people have their opinion, not my fault. This is also still open for voting and here is the link:<br><a href="https://www.facebook.com/groups/950642862921772/permalink/974540427198682/?mibextid=rS40aB7S9Ucbxw6v">https://www.facebook.com/groups/950642862921772/permalink/974540427198682/?mibextid=rS40aB7S9Ucbxw6v</a><br>(20 Jul 23: Was open at the time of writing but this whole page is taken down by Facebook. Nobody knows accurately why but possibly because YES campaigners or Australian government censorship reported it)</p><p><strong>5- Epoch Times poll</strong></p><p>Here it is the link and image are more than descriptive and I leave you on it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*pHfRyXEgCQ1ulnfHMj9KWA.jpeg" /><figcaption>Poll held on Epoch Times confirming maximum 20% Yes vote.</figcaption></figure><p>still open for voting and here is the link: <a href="https://www.theepochtimes.com/marxist-radical-a-key-actor-behind-the-voice_5343722.html?utm_source=PerfmaxP&amp;utm_campaign=PG_PO_TheVoice_marx_0630&amp;utm_content=PG_PO_Auto_TheVoiceMarx0629&amp;gclid=Cj0KCQjwho-lBhC_ARIsAMpgModi1S4E7y-AOQn99R4yCE_fYmhhCQbfWsgQzDnDOa8sOYDRxkWO4q4aAnCEEALw_wcB">https://www.theepochtimes.com/marxist-radical-a-key-actor-behind-the-voice_5343722.html?utm_source=PerfmaxP&amp;utm_campaign=PG_PO_TheVoice_marx_0630&amp;utm_content=PG_PO_Auto_TheVoiceMarx0629&amp;gclid=Cj0KCQjwho-lBhC_ARIsAMpgModi1S4E7y-AOQn99R4yCE_fYmhhCQbfWsgQzDnDOa8sOYDRxkWO4q4aAnCEEALw_wcB</a></p><h3>Why media insisting it is YES or towards 50–50?</h3><p>Since government is in favour of YES, they show more yes than no. That will make people feel YES is the favourite choice of majority and is more reasonable and is more likely to be correct. Then No voters feel they are wrong and they start hiding their opinion or turn into Yes!</p><h3>The circle of oppression silencing you</h3><p>Silencing people by feeding them the idea that they are unreasonable if they have their own opinion by telling them everyone else is thinking different is called <strong>“The circle of oppression”</strong> and media does that in all Dictatorships (I don’t know how did Australia end up in this but normally democracies should not be doing this) by making people think having the opposite opinion is embarrassing and odd and rare. The pressure can be so high that even 2 people having same opinion may meet each other, and talk about the subject but both lie to each other about what they think and never know that they agreed to each other. Because they think everyone is against them, each one is afraid of other side taking him/her as a fool or reporting him to government or make trouble for him.<br>Yep that is how it works! and has been recently applied to you for other use cases recently, Like:</p><ul><li>I like Trump but if I say it people will think I am an Idiot. So I keep it for myself and will not talk about it in public.</li><li>I am against same sex marriage, but If I say it people would say this guy is a dickhead. again I hide it.</li><li>I am for Coal mines but I refrain to say it because I will be accused of anti environment ideas.</li></ul><p>and so on…</p><h3>How to fight circle of oppression?</h3><p>Be yourself, dare to say what you think, you are entitled to your opinions and it is your right to talk about them with people. Be confident and trust yourself you are not unreasonable. Even if you are wrong that normal, everyone can be wrong or right in some point in his life. So yeah this is how we go! Shout out what you think and talk to people and break the media’s monopoly of talking and decision making.</p><h3>FAQs for Albo:</h3><ul><li>How comes if someone say a word very lightly and implicitly indicative of race in a workplace, he will be accused of racism and gets punished or fired, but we government proposing constitutional mention of Aboriginal and TSI races and give them privilege and it is OK ?</li><li>What would you say if it was Germans voice to the parliament or Swedish voice to the parliament? Is that racist or not ?</li><li>Do you guys think ATSI people cannot keep up with their lives? do you think they are not competent as human beings? Do they need your special care forever? Do you believe they are poor and its because of their race? or what?</li><li>Why the existing ATSI representatives in the parliament cannot make a voice? Do existing ATSIs have language problems but voice representatives have IELTS 9.0 ?</li><li>Why shouldn&#39;t our Aboriginal compatriots go to parliament elected with respect and dignity by voters trusting them for managing politics and interests, like all others? why are you putting them against others?</li><li>There are 4 metal poles in front of “Stockland Werribee” shopping centre. Question: Is the second from the left one related to Aboriginals? is it a voice to parliament concern or not! If not , are the poles at the gates related to Middle easterns all ? What if the owner of shopping centre is Aboriginal or TSI? why do you racists think there is something called “matters related to ATSI people” but “not related to Chinese peopel” ? Do you think poverty is a matter related to ATSI people ? but Mercedes Benz for example and floor tiles of shopping centres are white people affairs? really ?</li><li>Albo, You have the majority in the parliament and you are the PM. why don’t you just fix ATSI people’s problems instead of making so much noise?</li><li>If we assume someones grandpa did something bad, why do you make these children feel guilty of something they have not done and had no control over it? why are you bringing 300 yrs old problems of dead people to life of children?</li><li>What happens for “We are One , but we are many” song?<br>Will it be like “ I am one (Albo) but you are many ?… or Sth li dis ?”</li><li>How about this:<br>“We share my ! dreams…<br>race rules and time arrived! …</li></ul><h3>I’m more</h3><p>You might!</p><blockquote>He is less</blockquote><h4>She is not!</h4><p>Austraaaaaaaliaaannnn….</p><p>Disclaimer: some of the links were available at the time of writing the article but are taken down by government or other parties censorship (or so called misinformation fight by time)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef10b09dd651" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Typescript doesn’t make sense]]></title>
            <link>https://medium.com/@desphilboy/why-typescript-doesnt-make-sense-3e352a93969e?source=rss-e367a28d4023------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e352a93969e</guid>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Desphil Boy]]></dc:creator>
            <pubDate>Mon, 01 Aug 2022 00:56:05 GMT</pubDate>
            <atom:updated>2023-12-05T23:09:36.886Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*pQ5lP7MAp8T44xz4npSfgA.jpeg" /></figure><p>Been in always polarised Front-End space for 5 years or more, always hot discussions are around. Solutions or packages fallen from the sky, out of nowhere, libraries that die in few years and here we go! There is a debate between lovers and haters of Typescript.</p><h3><strong>The Noise and News around Typescript</strong></h3><p>Heard quite frequently, “Typescript is a solution to **problem of types** in JavaScript” or something like “With Typescript you can enjoy good structure and high quality code in JavaScript ! ”. Something called “Type safety” is told to have been brought to FE world by invention of Typescript and its pros say “everyone is converting to it” or it is replacing JavaScript in couple of months from now! Some people, maybe including you, love it and take its side. But let’s see 1 by 1 as a list how much these all make sense?</p><h3><strong>Are types missing in JavaScript?</strong></h3><p>This is the base of all the debates, claims and philosophy. Are types needed in JavaScript? Did JavaScript developers forget types and do types make JavaScript a better language for its primary purpose?<br>The best way to answer is to look at purpose of JavaScript which is the script to run inside web-browsers and see where do “types” stand in browsers? Reason we have <strong>types</strong> in compiled languages is CPU/VM getting memory for data and know how to interpret them (their bit/byte-wise meaning) when loading them for operations. In browsers/front end applications, before making any assumption, we need to first get our hands on user input (which is type-less by nature), therefore all we can assume is a series of characters. Scripts must interact with different systems/users cross-platform running on all kinds of hardware/OS and they have engines not needing types. The script engines interpret code and data before executing them on CPU and are written and compiled separately for each system/OS. Usually the lower-level a language is the more type strict it will be and scripts are very high level languages either non-typed or inferring types from usage. JavaScript is not the only typeless script. There are Perl and bash and many other typeless scripts interconnecting different software/systems. Based on what we said: <br><strong>Scripts are written intentionally typeless for a reason </strong>and <strong>Being typeless is not JavaScript’s problem</strong> but its strength. Because of these and some other reasons genius programmers spent a significant effort achieving typelessness developing JavaScript engines using typed languages like Java and C/C++.</p><h3><strong>Assumed solution to the presumed problem</strong></h3><p>But ignoring what’s above, TypeScript proposed a solution for (the problem of ) types in JavaScript. “<strong>Type safety</strong>” in Typescript is actually forcing developers to define and mention a type for all the inputs and outputs ( ideally if you adhere strongly to Typescript pillars) while developers don’t know what the actual type will be in run-time. As a result Typescript developers put presumed/imaginary types on inputs/outputs and Typescript syntax check enforces those types everywhere on the developer himself. Since we need to make it JavaScript to run it, Typescript compiles this to a type agnostic output which cannot enforce types. Congratulations buddy, you nailed it! <br>Guess what happens? Yes, typechecking was only for development time. The edge input may break your code! no matter you imagined what you used over JavaScript, <strong>if the code is not written robust for some kind of inputs, will break with those inputs</strong>.</p><h3><strong>Coming from a code-background with types?</strong></h3><p>If you have a development background ( like I and many others had) that got used to types, you miss them for a while when you start in a new paradigm like when you are new to front-end. In this case it is better to adapt differences and try to realise new situations which are not exactly the same in front and back end. Denying this causes the headache and an example can be defining imaginary (not practically runtime ) types , then enforcing them, while they do not really exist. This could put limits on your freedom which will in turn limit your ability to code and your productivity.<br>Like driving a boat, or a small plane , or a tractor, after years in a city centre where lots of traffic lights around and strict road-signs supervised and police around, yeah you might feel unsafe/uncomfortable at start. But to be efficient and useful, you must believe and enjoy the freedom of no traffic lights in farm, no road block signs in the sky and no ped-lanes in the river! Otherwise Imagining rules, you would end up putting a handcuff on your own hands for nothing. JavaScript (and scripts in general) not having types is your right not your limit! It is a gift that you need it to develop efficiently.</p><h3><strong>What you actually get and what you loose when doing Typescript</strong></h3><p>Since user does not know about types, not limits on her, she doesn’t appreciate your usage of typescript! Front-end functions are not API/Library functions and hence typed signature is not source of valuable knowledge while it still annoys programmer when testing edge/invalid input. It is not comments in the code either because comments and documents do not raise compiler errors but typescript does. A developer will gain knowledge more by reading code/tests and that is why he probably won’t use type definitions to understand the code either. And while tests are still needed in repo, in presence of Typescript, they might be given up under the burden and illusion of type safety. Let’s say Typescript does not pay back the effort, you will be around 30% less productive managing types and the burden they put on you while writing code.</p><h3><strong>TypeScript takes even more</strong></h3><p><strong>Lack of creativity<br></strong>When you are creating something you need to test ideas and thats when you write a lot of throw away code. In these occasions you normally want the code be as simple and as ad-hoc as it can be and you don’t want someone to stop you and ask you a type for everything you type. Unless you write a “:any” in front of everything, Typescript will not let you get away with it and believe me for that it will piss you off very quick. Typescript takes creativity out of you when you cannot try things because you will have to define types for whatever you want to imagine/try which is impossible if you are at early stages of creating something.</p><p><strong>Mixing concerns (contradicting pattern of separation of concerns) <br></strong>Sometimes Types make separation of logic/view concerns impossible because they make file and concept inter-dependencies. You will have separate files like types.ts to share custom defined types within multiple files which makes code even harder to understand when you’ll have to look at multiple files to understand definition of a typed function.<br>Was encapsulation of knowledge and independent libraries, separate from business concepts a value and a paradigm once upon a time? I am wondering those values gone? Types even some times (**some times**) flying from server to UI in JSONs in case you using Typescript for both sides. and GraphQL! Think of what professor was teaching in Uni? how can we want types to fly off the server? Was the whole purpose of JSON to communicate key-values between systems without taking knowledge, concepts and concerns over?</p><p><strong>Making code hard to test<br></strong>a lot of tests in JavaScript are:<br>1- using mocks<br>2- written for invalid or edge case inputs<br>typescript makes mocking very hard since you have to adhere to defined types when providing data, actually what you mock will have to exactly follow the types you defined (or you will extensively use any/never/null types which is against a good Typescript practice). Also Typescript will usually stop you from applying invalid inputs to a function which will either make you spend days dealing with Typescript errors for a small test or will push you to completely give up on testing.</p><h4><strong>Problem of dependency</strong></h4><p>Assume you want to put some helper functions in a helpers.ts file. For having typed function params you will have to import the types from the file defining them and normally the file defining them will be the file needing to import the helper functions and thats called a <strong>circular dependency</strong> which is a programming anti-pattern. To avoid that you will have to put all the type definitions in a third file and since you will need to compose custom types using each other, you end up making modules type dependent because you are using Typescript. As an example , you will never be able to share your helpers.ts as a library unless you include every single file defining types with it and this includes not just ones used in the helpers but the whole inheritance and hierarchy of types down to primary types.</p><p><strong>Not paying back the expense <br></strong>At compile time, Typescript might occasionally raise something useful but at the other hand you have to spend significant time creating and applying types and maintaining another hierarchy of dependencies (type hierarchy, and type imports/exports) which you’ll have to respect and that makes your code complicated and harder to maintain. Achieving the same features/values takes longer time in Typescript than JavaScript and it involves more stress and effort which as a result of makes stress that will not be so fruitful while developer concern is more about syntax than the business value, algorithms and features. After all when Typescript is (trans/com)piled to JavaScript in browser and type checking is gone, still a non-typed data is coming in, you probably did not test it because you were restricting inputs with your types. This might break your code because in runtime Typescript is not there and is not protecting you.</p><h4>Typescript takes side in office politics</h4><p>Apart from some developers like it because of their way of programming, in some large IT organisations,Typescript is supported by non-technical org-chart climbers, who rarely read code or documentation and types on variables is pobably their last and least of concerns. Promoted hand-offs (people in IT not doing IT) love Typescript show offs of care for governance, tidiness, documentation and formality and this is why push for Typescript is usually having a top down nature, main reason JavaScript is replaced in some places is non-technical reasons(fixing problem of scalability! for example like problem of typesafety!). Typescript gives a clue obvious enough for handoffs to understand and use letting them enter previously grey or unreachable areas, helps some people to micromanage and is used as their personal-development tool rather than software development tool. This is why criticising Typescript is taken a personal attack and is usually responded with a personal attack.</p><p><strong>The ugly and confusing code<br></strong>Typescript function and variable definitions are more complex and crowded and contaminated with more concerns and concepts compared to JavaScript counterparts. The same you can assume for programmers mind reading it. People say it is understandable because of types but exactly opposite is true if you have actually been in a TS environment. You won’t understand code written in Typescript by just knowing typescript because in every definition having custom types you always get a mix of business-logic (which is types) with language keywords and paradigms(which is syntax) and the syntax is more complicated than JavaScript syntax.</p><p><strong>Is Typescript a superset of JavaScript ?<br></strong>It is told to be once upon a time! I really was not a good student at history class and therefore I do not challenge that but out of the box 2 things are obvious:<br>- Typescript syntax has more keywords/literals compared to JavaScript (this is not counted as an advantage in languages world if not a disadvantage)<br>- Unless you have a native engine for Typescript(which is safe to assume you don’t) everything doable by TypeScript is a subset of JavaScript (because it is compiled to JavaScript) which means in best/limit cases you can get close to the borders but not exceeding JavaScript performance/possibilities. (again safe to assume you will get less)</p><p><strong>The persuasive myth(Switch now or I eat you):<br></strong>By the way why a lot of people are pushing for it? will Typescript replace JavaScript anytime soon ?<br>When big companies start something not making sense , one of the things they do is repetitively saying it makes sense and actually you are the one who does not make sense!<br>“You are alone in JavaScript!” while 100s of millions of code repos use it, is in fact told by Microsoft and Google who are pushing for Typescript and by this myth they try to terrorise the night of JavaScript developers to switch or you will loose everything. However with the way that Typescript compiles to JavaScript it can never replace it. Any time in near future will there be a Typescript native engine ? well I can imagine it for Node.ts thing to come but very hardly for browsers (because of the problems we mentioned above). Still productivity problem exists even if you want to use Typescript in a back-end project also there will be many other competitors other than JavaScript in that case.</p><h4><strong>Is it possible to have a mix?</strong></h4><p>Once you let it in, it is not that easy to co-maintain Java/Type or wipe TypeScript out. With the pressure around your developers might even hesitate to tell you the truth about what pressure Typescript puts on them. Persuasive sentence of “<strong>Typescript is JavaScript</strong>” is ignoring the fact that once you change the extension of a file from js to ts the compiler will start raising error messages on the code that once was being compiled without warning and without error as js and the opposite is also true(you cannot interpret/compile ts as js).</p><blockquote><strong>If a Warning-less / Error-less code in a language raises Errors/Warnings in other language, then those are not same languages!</strong></blockquote><p>Something very obvious commonly ignored by pro-Typescript texts.</p><h4><strong>What is positive about Typescript?</strong></h4><p>Working on Angular 2+ code, there is almost no choice of opting out of Typescript(If this is a positive?), one of the reasons I prefer React.js over Angular 2+. If you are doing Node.js back ends / Libraries it is somehow good to have types around (types help in Back-End so whether script wron or right for Back-End typed does better than un-typed) . If you are remaining a Back-Ender not doing FrontEnd most of the time it can help you feel at home. Programmers can get better IDE hints in Visual studio code and after all, if types defined and followed strictly, you might pick some wrong parameters passed to some function before testing(which is good). Still lots of other ways to achieve all these above, but you might like to get these things through Typescript and might be willing to spend the extra effort. Your boss might be happy to pay you the extra time of writing types and If taking longer time is not that much of problem then, enjoy Typescript if you like it or love it or its your personal preference. If you think it is good, despite the effort, the expense and despite all we said!</p><h3>When the truth is offensive</h3><p><strong>Common guys! </strong>I really didn’t want to offend anyone, exactly the opposite, wanted Typescript people to read this and think. Of course you are more than welcome to leave a reply, but please cover the points proposed in the article not the atuhor (me) as a person! I have seen and felt the pressure pro-Typescript hand-offs put on developers in workplaces and any critics is regarded a crime and makes you a target for organisational offence for non-technical reasons. While I did not see any real benefit coming out of Typescript, no safety, no better code, not easier development, code harder to understand and tangling yourself in restrictions which all once did not exist and everything was fine. For what? I brought you examples and facts from the nature of front-end work and my experience years of both JavaScript and Typescript. Expecting types in scripts? Probably not looking for them in the right place. None of these I wanted or dictated or built. Problem of productivity is real and is out there when 15%-40% more time spent for the same features and when doing a more complex job achieving less, and it causes you stress, more pressure, less creativity and less likely to think about the good of business and users, all things that you can find out without needing me to tell you, then <strong>Typescript really does not make sense </strong>and it is not my fault and it is not personal. Remember lot of people doing something, does not necessarily means it’s good, nor if something is backed by VSCode, or big-techs, or is new, or uptown chicks like it or is written in holy books, or whatever, you still need to think about what this thing does at what price?. After all here comes human right of choice and with the rights, responsibilities!</p><h3>Conclusion</h3><p>Based on what we said, it looks like, at least in Front end, where user interaction matters, and asynchronous non deterministic input is around, using Typescript over JavaScript is not just a bad idea, it is horribly raising a lot of issues some of them mentioned above and doesn’t make sense at all. <br>In back-end obviously JavaScript resigns to be the language of choice ( as its primary purpose wasn’t BE) the competitors are much more. Whether Typescript is the chance of choice over Python or Java or Golang and tons of other languages? Well (I guess what but) not a subject for this article. So thats it folks and your critics and Ideas are always welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e352a93969e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>