{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/15922","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/15922/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/15922/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/15922/events","html_url":"https://github.com/flutter/flutter/issues/15922","id":308344203,"number":15922,"title":"Come on, Let's face this. This flutter framework really needs JSX-like syntax as what React-Native has.","user":{"login":"JonathanSum","id":21982975,"avatar_url":"https://avatars3.githubusercontent.com/u/21982975?v=4","gravatar_id":"","url":"https://api.github.com/users/JonathanSum","html_url":"https://github.com/JonathanSum","followers_url":"https://api.github.com/users/JonathanSum/followers","following_url":"https://api.github.com/users/JonathanSum/following{/other_user}","gists_url":"https://api.github.com/users/JonathanSum/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanSum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanSum/subscriptions","organizations_url":"https://api.github.com/users/JonathanSum/orgs","repos_url":"https://api.github.com/users/JonathanSum/repos","events_url":"https://api.github.com/users/JonathanSum/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanSum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":60,"created_at":"2018-03-25T12:05:33Z","updated_at":"2018-04-02T10:33:54Z","closed_at":null,"author_association":"NONE","body":"For code that builds a UI has to be readable. I understand that Dart is kind of like a simple version of Java, but it is not really a programming language for building a UI. For example, it doesn't have a closing tag.  As a result, It is very hard to build a picture in mind with this unreadable code. \r\n\r\nMoreover, Flutter was inspired by React. How can Flutter doesn't have JSX but has this kind of unreadable code? I am very scared that Flutter is going to die very soon as the early days of AnglurJs. \r\n\r\nI understand people who work in Google are smart, but we also have some people who are not really smart choose React instead of Dart, and this is one of the reasons why Dart was dead in the past."},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/377903685","html_url":"https://github.com/flutter/flutter/issues/15922#issuecomment-377903685","issue_url":"https://api.github.com/repos/flutter/flutter/issues/15922","id":377903685,"user":{"login":"naiveaiguy","id":8231396,"avatar_url":"https://avatars1.githubusercontent.com/u/8231396?v=4","gravatar_id":"","url":"https://api.github.com/users/naiveaiguy","html_url":"https://github.com/naiveaiguy","followers_url":"https://api.github.com/users/naiveaiguy/followers","following_url":"https://api.github.com/users/naiveaiguy/following{/other_user}","gists_url":"https://api.github.com/users/naiveaiguy/gists{/gist_id}","starred_url":"https://api.github.com/users/naiveaiguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naiveaiguy/subscriptions","organizations_url":"https://api.github.com/users/naiveaiguy/orgs","repos_url":"https://api.github.com/users/naiveaiguy/repos","events_url":"https://api.github.com/users/naiveaiguy/events{/privacy}","received_events_url":"https://api.github.com/users/naiveaiguy/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T10:33:54Z","updated_at":"2018-04-02T10:33:54Z","author_association":"NONE","body":"@JonathanSum \r\n\r\n> I have built some flutter apps from tutorials. All I feel about flutter is everything is an object rather than a widget. It is just like a huge piece of complicated object-oriented programming codes stuck together disorderly.\r\n\r\nYou've failed to provide a reason why your subjective feeling in this matter would justify the enormous amounts of fragmentation it would inevitably cause. When between these two approaches, no one is clearly better objectively than the other, I don't think it's worth it, and *definitely* not in the stage that Flutter is in right now as an ecosystem.\r\n\r\n> I think the most important thing is making a framework that is easy for reading and managing, and it should not be complicated as hell.\r\n\r\nThis is a tautology. Obviously everyone wants this, but people have different ways of approaching the problem. Flutter's paradigm is one of them.\r\n\r\n> Most importantly, I think the way that React-Native builds follows what humans build stuff naturally.\r\n\r\nI don't think something as minor as the syntax for building the UI influences how easy-to-use a framework is overall.\r\n\r\n>  On the other hand, the flutter needs to connect stateful widget into the stateless and...\r\n\r\nIt seems like you fundamentally disagree with how Flutter approaches apps. Why are you using it? Moreover, this isn't really a valid point. You're not expressing something that you feel is wrong, you're just saying \"I think that connections between stateless and stateful widgets is wrong and complicated in some vague way that I will not proceed to explain.\"\r\n\r\n> Moreover, most of the UI frameworks which we use in these years focus on this React way as a standard,\r\n\r\nArgumentum ad populum.\r\n\r\n> and I think flutter should focus on this more rather than the hot reload(when I try to add new some new classes, the console tells me to restart everything instead of doing hot reload)\r\n\r\nYes, because hot reload is not a very easy feature to achieve in the way Flutter has done it. I would argue that the development cycle that Flutter has managed to achieve, even in 30-40% of code changes, is really impressive, and would only be slowed down by layers of transpiling.\r\n\r\n> However, the futter is just like just chaos and disorder.\r\n\r\nHere you've made it clear that you simply don't like Flutter's approach. Don't use it then. And if you think that somehow, magically, changing the UI syntax will make Flutter not \"chaos and disorder\", then you'll need to provide clear evidence of that working in the same kinds of settings and constraints that Flutter is working with.\r\n\r\n> That is why the learning curve and the time of managing it is low. Please do not compare XML or even Xamarin to the React Native.\r\n\r\nFair enough - use React Native then. The developers there are doing a great job with their paradigm.\r\n\r\n> The stateless connect to stateful and create-state in the stateless\r\n\r\nWhat? No. This is just plain wrong - what is your point here?\r\n\r\n> With React-Native, you are drawing a picture with a pencil. With a flutter, it is just like a water dropping on a paper and separating the water into different parts.\r\n\r\nFrankly, this analogy makes very little sense to me. I could easily just state the reverse opinion and we would be right back where we started here.\r\n\r\nYou are acting like this is self-evidently obvious (\"let's face it\") and we're just being pretentious and/or insufferable here for saying that the Flutter team shouldn't have to deal with this. This is not a good attitude to adopt if you're wanting other people to take you seriously."}}
{"actor":{"display_login":"naiveaiguy"}}