These languages are a bundle of nope.
-
When you're done embedding a 250 entry array into VB, all in a single line (because VB) come back and tell me it's clean.
Real programmers use butterflies
-
In C#, I'd break the array across multiple lines. In VB.NET I'd get a compile error for doing it, or put up with a bunch of nasty underscores. If embedding an array is something you're "not supposed to do" in VB.NET it's not a real programming language. We can declare arrays for a reason. You think everything proves your point. I find that hilarious.
Real programmers use butterflies
-
Matt McGuire wrote:
To each their own
Definitely. I have my opinions, but while I might sideeye a Perl developer the same way I wonder about what makes people pursue podiatry as a profession I won't judge them for it. *Somebody* has to code in the damn thing, after all. As far as basic, I came up the same way you did it sounds like. Good old Applesoft BASIC in my case. I'm glad that was "the bad old days" and not today. Still, line delimited languages give me a rash. And VB.NET's syntax with respect to things like lambdas leave me googling all the time because the syntax is nonsense, and clearly a bag on the side - it wasn't designed with them in mind but rather added to the grammar after the fact and it shows. There are sadly, folks who think running a scripting language (JS, Python), or a GC language (C#) on a 360kB system at 160MHz is a good idea. I am not one of those people. For starters, I don't care about RAD on an IoT device. I care about battery life.
Real programmers use butterflies
honey the codewitch wrote:
I don't care about RAD on an IoT device. I care about battery life.
pretty much the same, and keeping as close to real time as possible on those little chips.
-
I'm going to be Devil's Advocate I really like JavaScript / Typescript. Not because the language is the epitome of a well planned, cleanly architected, unambiguous and approachable language all kids should learn. It's not. It's a dog's breakfast. But because it works everywhere, it's not being owned by anyone, there's almost no religious wars going on around it, and because it's powerful, forgiving, and if you had to learn one language this one would be it. Full stack, front to back, every device (almost), every platform. I also like and respect Python. Again: not what one would consider the cleanest, sanest evolution of a language, but it, like JavaScript, works pretty much everywhere, has a huge following, masses of libraries, and most importantly, is a great language for those who want to generate results rather than become artists. The difference between building a deck so you can have a BBQ as opposed to building a fully automated food preparation machine. I just want my burger and a beer and I don't need to understand structural engineering to get this thing completed. Sure, Python is weird about spaces, but C-like languages are equally weird about closing brackets, and let's fact it - we all indent our code anyway. Maybe it was the 5 years in Purgatory doing FORTRAN that softened me but I find teaching a student how to code if/then statements or loops using Python to be less distracting than brackets for someone who's never seen code before. My pet peeve: convention over configuration. It's like having to geek out and understand the backstory of all the characters in a movie, deeply, before you can sit down and watch the movie. The constant "WTF is going on?" with things like Entity Framework, for instance, just kills my soul every time I realise that if I'm to step off that very, very narrow line they've set, there will be Pain and there will be Misery.
cheers Chris Maunder
Typescript I am okay with. My problem with significant whitespace is this: Some editors convert spaces to tabs, and so do web pages. Some don't. Yes, I copy and paste. My own code. Sometimes other people's and from a variety of sources. If my editor isn't "smart" what happens to my python script?
Real programmers use butterflies
-
Typescript I am okay with. My problem with significant whitespace is this: Some editors convert spaces to tabs, and so do web pages. Some don't. Yes, I copy and paste. My own code. Sometimes other people's and from a variety of sources. If my editor isn't "smart" what happens to my python script?
Real programmers use butterflies
Which editor do you use? I feel a little ignorant in saying I've never used an editor that does that. And I would probably uninstall it if it did! (too many years editing code blocks for CodeProject)
cheers Chris Maunder
-
Which editor do you use? I feel a little ignorant in saying I've never used an editor that does that. And I would probably uninstall it if it did! (too many years editing code blocks for CodeProject)
cheers Chris Maunder
Visual Studio has an option to do it, as do some text editors I've used under linux (not remembering which ones offhand, one ships with Ubuntu) But even if an editor doesn't, a web page will. Try copying from codeproject into a python script where you're using tabs (CP uses spaces for all of its indented code as far as I know) EDIT: Oops I meant tabs to spaces!
Real programmers use butterflies