4 ms·
I used to be an asp.net developer before. I appreciated the idea behind asp.net during its early years - making websites fast and with templating (or scaffoldin
by deostroll 6y ago
I used to be an asp.net developer before. I appreciated the idea behind asp.net during its early years - making websites fast and with templating (or scaffolding). Later realized that it is bloat.
Then asp.net mvc happened, a whole new paradigm shift. But then I disliked the idea of stuff getting inherited from somewhere. *.cshtml files and all. Soon I realized what the ide is actually doing behind the scenes. For e.g. the cshtml files are compiled and there is an intermediate binary format I guess. (Don't remember well).
This is why I came to like something like express. Guaranteed there is no type safety. (JavaScript is a dynamic language). But I enjoyed the simplicity of it. Ever since I have moved away from the .net platform.
I know this code generation and intermediate binary forms are necessary. But at times I was surprised by it. You find the similar stuff for other stuff you write for e.g winforms, windows presentation apps, etc. I realize there is no other alternative way for such platforms. But I generally disliked the idea that my editor does a lot of stuff behind the scenes. This makes me too dependent on the editor. For e.g. try making winforms app with just notepad. It's not impossible; just very cumbersome.
I have respect for .net. In fact I do write console programs time to time. But I wish stuff was as simple as having a plain editor and getting started.
- jabart 6y agoYou can use Notepad and run "dotnet run" to run your .net core programs, including winforms. .cshtml files can also be compiled at run-time or at build time with .net core.
- davidspiess 6y agoYou could combine Node.js with TypeScript to regain type safety.
- e12e 6y agoSee also https://deno.land https://deno.land
- jiggawatts 6y ago> But I wish stuff was as simple as having a plain editor and getting started. This is the wrong thing to wish for. It's like... wishing for "simpler times" of the pre-modern era. You know, the simpler times without dentistry and plagues that make COVID look downright pleasant. Simpler times of backbreaking manual labour, shovelling ditches by hand. A typical computer can now process 10 billion general-purpose instructions per second. It is a power tool for the mind. Its entire purpose is to eliminate manual labour. The fundamental concept of computerised information technology is to automate away the processing of information as much as possible. If you don't get this, then you don't get IT at all. There is nothing at all good, or somehow more "pure" about programming with Notepad, or VI, or whatever text editor you fancy. This is like turning off the million dollar backhoe, stepping out of the cabin, and digging the ditch with your hands because you feel that it brings you "closer to the dirt" or something.
- woodrowbarlow 6y agowhen it comes to text editors vs IDEs, that's not the point. it's not about wanting a rudimentary experience, it's more like wanting to build a PC vs buy a macbook. when the very _syntax_ of a language is designed such that it's really only usable within a specific IDE, then all of your tooling is limited by the capabilities and decisions of that IDE.
- joeyjojo 6y agoYou have fixated on a single point that the parent comment mentioned, hyperbolised it, and gone off on a complete tangent. I think you should take a step back and attempt to understand the overarching point the parent comment was making, because I don't think you get it.
- dodyg 6y agoASP.NET Core is build like Express. It's all just middlewares. You don't have to use the Razor View Engine. It's really worth another look.