What do you love about the languages you use?
-
I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?
cheers Chris Maunder
I retired and I'm trying to forget everything I ever knew about computers. So about the languages I use. Spanish: it is pronounced the way it is spelled, unlike English. It has fewer exceptions than the other languages I know. (I'm fluent) French: so much of English comes from French. The spelling sucks, but not as bad as English. (I'm conversational) Mandarin: It is logical, but the tones drive me crazy. (I'm a high beginner. Give me two years) English: English is totally illogical. There are so many exceptions. The rules for plurals have two pages of exceptions. I honestly feel sorry for my students learning English. (My native language)
-
I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?
cheers Chris Maunder
C#: Has good market share and will be around for a while, so I have a paycheck. I do WinForm and web development, but it's a plus that it runs on other platforms, should I need to go there. The con is that the MS C# dev team struggles to remain relevant, so 95% of new features do nothing more than make the language more complicated than it should be. SQL: It's the language of the major DBs I use and is mostly the same. The con is that it's mostly the same across DBs ... In the past: VB 4/5/6: At the time highly popular, which ensured a paycheck. Syntax is highly readable and was designed for rapid development -- C++ guys whined about how hard it was to create screens while I was producing entire applications that ran for years. The cons? MS stupidly killed its cash cow, and folks still whine about "go to". For me, the major plus of any language is that it has sufficient market share and longevity to keep me employed. A lot of the details that folks list don't mean much to me -- it's just another language. Upstream a responder listed about a dozen tech's that went the way of the dodo -- I did most of the ones listed, plus a few others. After a few decades, having to learn yet another language for a short-term assignment lost its magic. :laugh:
-
I love the ability to afford food with the paycheck that comes with using the languages.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave KreskowiakThis plus the bonus of familiarity. I am really good with the languages I use, and even though I do wander out to see what else might be attractive, I'm not as willing as I was in my youth to risk the paycheck and the expertise/confidence to do more than just play.
-
I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?
cheers Chris Maunder
I like C#6 because it's clean and smart. It's easy to write code in, and quick. As a sort of RAD language, it's great. I love C++ primarily because of the ability to do metaprogramming with it, which makes it unlike any other major language out there. Beyond that, I love its flexibility. It does take a long time to acclimate to it, and make avoiding all the gotchas instinct, but once you do you it's so worth it.
There's smoke in my iris But I painted a sunny day on the insides of my eyelids So I'm ready now (What you ready for?) I'm ready for life in this city And my wings have grown almost enough to lift me
-
I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?
cheers Chris Maunder
The language I use is better than the language you use! I have been around long enough to have actually used Fortran and COBOL. Several years ago I got involved in a project that uses JavaScript. Ugh! Why do we have to use it? Now that I am proficient in it, and with it's new features, I really like it. It is now my code of choice. In time, I will probably be forced, under duress of course, to use another language; and the cycle will repeat.
Nothing succeeds like a budgie without teeth. To err is human, to arr is pirate.
-
I retired and I'm trying to forget everything I ever knew about computers. So about the languages I use. Spanish: it is pronounced the way it is spelled, unlike English. It has fewer exceptions than the other languages I know. (I'm fluent) French: so much of English comes from French. The spelling sucks, but not as bad as English. (I'm conversational) Mandarin: It is logical, but the tones drive me crazy. (I'm a high beginner. Give me two years) English: English is totally illogical. There are so many exceptions. The rules for plurals have two pages of exceptions. I honestly feel sorry for my students learning English. (My native language)
-
C#: Has good market share and will be around for a while, so I have a paycheck. I do WinForm and web development, but it's a plus that it runs on other platforms, should I need to go there. The con is that the MS C# dev team struggles to remain relevant, so 95% of new features do nothing more than make the language more complicated than it should be. SQL: It's the language of the major DBs I use and is mostly the same. The con is that it's mostly the same across DBs ... In the past: VB 4/5/6: At the time highly popular, which ensured a paycheck. Syntax is highly readable and was designed for rapid development -- C++ guys whined about how hard it was to create screens while I was producing entire applications that ran for years. The cons? MS stupidly killed its cash cow, and folks still whine about "go to". For me, the major plus of any language is that it has sufficient market share and longevity to keep me employed. A lot of the details that folks list don't mean much to me -- it's just another language. Upstream a responder listed about a dozen tech's that went the way of the dodo -- I did most of the ones listed, plus a few others. After a few decades, having to learn yet another language for a short-term assignment lost its magic. :laugh:
BryanFazekas wrote:
For me, the major plus of any language is that it has sufficient market share and longevity to keep me employed. A lot of the details that folks list don't mean much to me -- it's just another language.
True for me also. Although I will say I have no desire to write COBOl lambdas.
-
I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?
cheers Chris Maunder
-
I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?
cheers Chris Maunder
Yeah, I gotta stick up for C++. People with less than 20 years experience all think C++ is complicated and weird. They are too young to remember that C++ was perfectly compatible with C's weird declaration syntax, and that a whole generation of C programmers got to learn C++ gently and incrementally. The compatibility of C++ with C and with previous C++ standards is why there is a modern language for high performance code, and we aren't all stuck with C. C++ is the reason Java and C# look like they do. Back before github, before sourceforge, when there weren't vast code libraries online, being able to use the code you found was important, and C++ let you do that with C++ and C source code. The reason less experienced people brag that they don't need to learn algorithms and data structures is because Alexander Stepanov created STL, the library of generic algorithms and data structures in 1995, for C++. C++ is still where the programming world goes for high performance. Someday, maybe Rust...but not today.
-
I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?
cheers Chris Maunder
C because I know pretty much what is happening under the hood and it doesn't change much. Second point is important for older folk who just want to do their job and not have to learn new syntax with every project.
-
Yeah, I gotta stick up for C++. People with less than 20 years experience all think C++ is complicated and weird. They are too young to remember that C++ was perfectly compatible with C's weird declaration syntax, and that a whole generation of C programmers got to learn C++ gently and incrementally. The compatibility of C++ with C and with previous C++ standards is why there is a modern language for high performance code, and we aren't all stuck with C. C++ is the reason Java and C# look like they do. Back before github, before sourceforge, when there weren't vast code libraries online, being able to use the code you found was important, and C++ let you do that with C++ and C source code. The reason less experienced people brag that they don't need to learn algorithms and data structures is because Alexander Stepanov created STL, the library of generic algorithms and data structures in 1995, for C++. C++ is still where the programming world goes for high performance. Someday, maybe Rust...but not today.
may i please inquire what is weird about C declaration syntax . i should state i have much experience w/ C and C++ and in fact only those languages so syntax of other languages i do not know of for purposes of comparison and judgement . i find nothing weird re/ C or C++ but of course as implied i am not expert in such matters .
-
may i please inquire what is weird about C declaration syntax . i should state i have much experience w/ C and C++ and in fact only those languages so syntax of other languages i do not know of for purposes of comparison and judgement . i find nothing weird re/ C or C++ but of course as implied i am not expert in such matters .
int* i,j;
declares a pointer-to-int calledi
and an int calledj
, not two pointers like you'd think, because part of the type is in the declarator (the part with the name). A pointer to a function returning an int has to be parenthesized likeint (*f)(float v);
Don't even get me started on abstract declarators. You can declare a function that takes an array likef(int a[10])
but the type of a isint*
. Unless this is part of a template declarationtemplate f(T a[N]);
in which case the type ofa
isT[10]
, and there's that abstract declarator thing again. Forgive me for not trying to compile these, I might have got some of it wrong. C declaration syntax, and therefore C++ declaration syntax is just strange. If C++ syntax was created from scratch, I sure hope they'd have done something different, maybe more like Pascal or Modula. -
int* i,j;
declares a pointer-to-int calledi
and an int calledj
, not two pointers like you'd think, because part of the type is in the declarator (the part with the name). A pointer to a function returning an int has to be parenthesized likeint (*f)(float v);
Don't even get me started on abstract declarators. You can declare a function that takes an array likef(int a[10])
but the type of a isint*
. Unless this is part of a template declarationtemplate f(T a[N]);
in which case the type ofa
isT[10]
, and there's that abstract declarator thing again. Forgive me for not trying to compile these, I might have got some of it wrong. C declaration syntax, and therefore C++ declaration syntax is just strange. If C++ syntax was created from scratch, I sure hope they'd have done something different, maybe more like Pascal or Modula.thank you kindly for the straight dope . re/ declarations as best as i recall the superb text by Harbison & Steele which explains such are to be performed merely by following the rules of precedence . the Kernighan Ritchie text i found confusing on this subject even they seemed confused . i compiled the code below and displayed the types for the aforementioned
int a[10]
. i present as a minor curiosity . they seem logical to me . may i say what i find weird/confusing/odd/uncertain/strange is utilizingconst
and*
. thankfully i rarely utilize pointers . -Best#include "pch.h"
using namespace std;
const char narrow_space = ' ';void foo(int a[10])
{
cout <<__LINE__ <output :
13 int [10]
7 int * __ptr64
int const * __ptr64
int const * __ptr64