Time for another #DevDiscuss Twitter chat.
Tonight's topic is: Language design/syntax
This discussion can range from the more hardcore elements of language design to syntax bikeshedding. It's all welcome here.
I'll pose a few questions along the way, but it's pretty freeform.
Here are a few questions to jump off with:
- What is language design?
- What are some questionable design choices?
- Which less popular languages are well-designed?
- Have you ever designed a language?
- How would I even start with language design?
Always use #DevDiscuss tag 😄
Time for another #DevDiscuss Twitter chat.
Tonight's topic is: Language design/syntax
This discussion can range from the more hardcore elements of language design to syntax bikeshedding. It's all welcome here.
I'll pose a few questions along the way, but it's pretty freeform.
In college I had to write a compiler for a professor designed language called Eiffel that was absolutely terrifying but I learned a truck ton in that 3 months. #DevDiscuss
#devDiscuss something I really valued with clojure and erlang is the ability to live eval code. It’s a pretty dangerous ability but it is soooo powerful to be able to just connect to production and see what’s going on
One thing I'm not a fan of in some programming languages: type names after parameter names. I find it more natural to think of "a called " rather than ", which is a ". #DevDiscuss
Time for another #DevDiscuss Twitter chat.
Tonight's topic is: Language design/syntax
This discussion can range from the more hardcore elements of language design to syntax bikeshedding. It's all welcome here.
I'll pose a few questions along the way, but it's pretty freeform.
I love programming languages that have as few symbols (other than math) as possible. I love text-heavy languages like Python, and I think they are easier for people to learn. #DevDiscuss
I know tonight's topic—language design—can feel a bit high barrier, so I'll pipe in myself with some interesting links etc. ❤️
Here's an interesting discussion:
"How do you feel about braces and semicolons?"
https://t.co/RFElueLwVU#DevDiscuss
You know what would be awesome? A language which didn't use = as the assignment operator. If $x := 5; were assignment and $x == 5 were comparison, $x = 5 would always be an error and we wouldn't need Yoda syntax. #devDiscuss
Time for another #DevDiscuss Twitter chat.
Tonight's topic is: Language design/syntax
This discussion can range from the more hardcore elements of language design to syntax bikeshedding. It's all welcome here.
I'll pose a few questions along the way, but it's pretty freeform.
I find that the best-designed languages are the ones where I don’t fight the syntax and can focus on the meaning of the code.
Great example—I tried #swift for the first time a few weeks ago and was able to jump right in. #DevDiscuss
Here are a few questions to jump off with:
- What is language design?
- What are some questionable design choices?
- Which less popular languages are well-designed?
- Have you ever designed a language?
- How would I even start with language design?
Always use #DevDiscuss tag 😄
Having been burned by python's indentation-defines-functional-block insanity, I do not support using python in a production environment. #devDiscuss
No experience with php.
I don't like java. It has arduous syntax, isn't the most useful for every single focus especially myself who is pursuing cybersecurity degree, and it's just annoying. #DevDiscuss
I do wonder, though, how much the first language a person starts programming in shapes their preferences on language design. Python was my first language and it still feels the best designed to me multiple languages later. #DevDiscuss
I once created a language that looks like rap lyrics and transpiles to JavaScript. So...you can't do much worse than that as far as good design 😜 #DevDiscusshttps://t.co/n9KAuZ1GZs
Time for another #DevDiscuss Twitter chat.
Tonight's topic is: Language design/syntax
This discussion can range from the more hardcore elements of language design to syntax bikeshedding. It's all welcome here.
I'll pose a few questions along the way, but it's pretty freeform.
#devdiscuss
One of my fave projects as an undergrad was to create a simple language and provide an interpreter for it. I based my around BASIC (commodore) cause that is what I grew up with as a kid
Here are a few questions to jump off with:
- What is language design?
- What are some questionable design choices?
- Which less popular languages are well-designed?
- Have you ever designed a language?
- How would I even start with language design?
Always use #DevDiscuss tag 😄
Here are a few questions to jump off with:
- What is language design?
- What are some questionable design choices?
- Which less popular languages are well-designed?
- Have you ever designed a language?
- How would I even start with language design?
Always use #DevDiscuss tag 😄
That's what attracted me to Python in the first place 😍. The syntax is really great, no semicolons. Even ES6 in Vue doesn't need semicolons as far as I've seen and I'm loving it. #DevDiscuss
I like strong type systems! Making the compiler do its job! Caching errors in compile time, not in runtime! Swift is one great example of that! Also, Optionals <3 #DevDiscuss
Funny, I enjoy python and php. Php was the first language I actually got to work so it makes me smile. I'm currently learning common lisp. Thats some unique syntax #DevDiscuss
In my case, it made me appreciate the next ones more. Started out in mostly PHP, some JavaScript (and I guess HTML, CSS if you're one of the people who counts those) and later C# and PowerShell, now some Python. Definitely happy where I ended up. #DevDiscuss
I do wonder, though, how much the first language a person starts programming in shapes their preferences on language design. Python was my first language and it still feels the best designed to me multiple languages later. #DevDiscuss
Fine with braces really - I think they make things clear. Semi-colons are a bit of a hangover, probably unnecessary. They don't offend me that much though... #devdiscuss
Here are a few questions to jump off with:
- What is language design?
- What are some questionable design choices?
- Which less popular languages are well-designed?
- Have you ever designed a language?
- How would I even start with language design?
Always use #DevDiscuss tag 😄
I guess it's still super widely used, but I think you're limiting yourself to a certain type of org, in a certain type of culture/shop that way. Not that you can't pick up more languages. #DevDiscuss
Mine was technically HTML and CSS, but ActionScript was a close third. I was a Flash dev for a while and loved it. There's nothing like writing SWF files with an XML wrapper than write to a PHP file on the server. #devDiscuss
#DevDiscuss In high school I had no clue what I was doing with Pascal, college C++ almost scared me out of a tech career. Any language which does not have syntax so complex it sifts off 75% of people who want to learn is cool with me.
Braces and semicolons do help me out in terms of visibility. I'm currently programming in Python after using Java and C# for a while. I often get my indent messed up. Transitioning those languages and Python and back again do tend to be a bit disorienting.
#devdiscuss
definitely agree And that's currently what I am doing. But trying to learn at least one other language is a very difficult task. But otherwise I am doing my best to not get stuck in this certain culture. Most of the InfoSec people at my school end up being developers. #DevDiscuss
This is also the case with Python3 type annotations, there seems to be a trend that the newer languages/releases are adopting this style vs like in C, Java, C++ etc #devDiscuss@cjdb_ns any thoughts?
Dear novice programmers: The people who say "You're learning X?!?! X is stupid, the designers don't know anything! You need to learn Y instead!" are probably loyal to Y, misinformed and giving bad advice. You can learn in any language. Practice not magic. #devdiscuss
This gif will never not be true about CSS. I consider true CSS devs gluttons for punishment. It does get easier once you study the box model and how some of the shorthand works. #devDiscuss
Felt like Ruby is like a little brother when I got the hands in it. Alongside, python could make someone Darth Vader and someday I would love to switch into it. #DevDiscuss
Here are a few questions to jump off with:
- What is language design?
- What are some questionable design choices?
- Which less popular languages are well-designed?
- Have you ever designed a language?
- How would I even start with language design?
Always use #DevDiscuss tag 😄
If you want to make some money and you don't mind working in terrible, terrible languages, there's a metric crapton of COBOL and RPG code out there that needs maintainers. #devDiscuss
True! I had a great super beginner experience with Python, then had a terrible one with C++ and I think that informs a lot of my programming opinions. #DevDiscuss
I find it quite annoying when there is an if statement with only one line and there is no curly braces to envelop it (for languages that use curly braces tho). Does anyone remember that (https://t.co/eswCmNdogn …)? #DevDiscuss
Time for another #DevDiscuss Twitter chat.
Tonight's topic is: Language design/syntax
This discussion can range from the more hardcore elements of language design to syntax bikeshedding. It's all welcome here.
I'll pose a few questions along the way, but it's pretty freeform.
Imho there's a domino effect. Once you learn one, two is easier. Once you learn two, the third is easier. etc. Having the right attitude and enjoying it is key. #DevDiscuss
Question: Browser compatibility ignored, do we think there could exist a better styling language than CSS (including supersets like LESS/SASS)? #devDiscuss
Go is such a great step, though, it was the first compiled language that I *loved* writing code in. You can feel the Python influence in it! #DevDiscuss
My @GirlsWhoCode kids really struggle with indentation languages implying scope (I.e. python) Brackets that give visual cues for where variables scope seemed to be more intuitive for them (see java, JavaScript, etc). #DevDiscuss
I think my main problem with CSS at the moment is that your stylesheet can get so bloated so fast. I think BEM, SUIT, etc are only furthering that to an extent. #devDiscuss
In reply to
@ASpittel, @NullMatthew, @ThePracticalDev
We're hiring developers! Come apply to work on a team to deliver our SaaS product DIVR! We're a start-up within a mature and stable consulting company that's been around for 45 years.
https://t.co/GCnUdafhMc
I’d also add that learning a language without types first hides a whole lot of critical information for newbies. I tend to recommend typescript over plain JavaScript for those who are just starting out. The same applies to other languages. #DevDiscuss
In terms of languages I still dont know best practices around.... CSS. I have been using LESS for a while now but I am sure I could be doing a lot better than I am. #DevDiscuss
These days I almost exclusively use Sass for this reason. Scoping your styling to particular components using nesting is super useful for keeping it compartmentalized. #devDiscuss
In reply to
@courtneyxann, @TheMinshew, @ASpittel, @ThePracticalDev
Tonight's #DevDiscuss on languages made me think to make this post (since the Twitter chat hour is nearing an end) https://t.co/CItPe0Re1F
Would love input.
I learned Java, but between eclipse and program structure, it was tough(er) to retain.
Ruby and JavaScript were far more accessible for small script projects, solidifying the languages for future use. Except for regex. Never gonna remember regex. #DevDiscuss
I think the real question is not why did CSS move slow, it's why JS moves so fast.
I don't think any language or ecosystem moves at as breakneck a speed as JavaScript...
#devdiscuss
When adding features, be very mindful of how they'll interact with existing ones; sometimes 2 features that are good in isolation can.cause trouble when used together. #devDiscuss
I agree readability is incredibly important, how would you argue if it came to readability vs performance where the performance would be 50% better with a more confusing syntax? #devDiscuss
Questionable design choice: magic quotes in PHP
It was a sort of default, flawed defensive coding which made it seem OK to throw form data into SQL queries via concatenation. A good language design guards against abuses rather than mask them
#DevDiscuss
I'm a bit of the opposite. I'm very visual, and I found things like sigils SUPER helpful when I was a Perl developer. Luckily there are plenty of languages to choose from to play to our strengths or challenge our weaknesses. #DevDiscuss
I love programming languages that have as few symbols (other than math) as possible. I love text-heavy languages like Python, and I think they are easier for people to learn. #DevDiscuss
Your design should be restrictive at first. It's much easier to start out very restrictive and later relax some rules if needed, than adding restrictions later on.
#devDiscuss
I believe it definitely impacts how we think about code. From my own experience, I've stayed most comfortable in the C family after starting with C++. In general, I believe a lot of the "obviously ____ is the one true language" arguments come simply from familiarity. #DevDiscuss
I learned Java, but between eclipse and program structure, it was tough(er) to retain.
Ruby and JavaScript were far more accessible for small script projects, solidifying the languages for future use. Except for regex. Never gonna remember regex. #DevDiscuss
Time for another #DevDiscuss Twitter chat.
Tonight's topic is: Language design/syntax
This discussion can range from the more hardcore elements of language design to syntax bikeshedding. It's all welcome here.
I'll pose a few questions along the way, but it's pretty freeform.
Thanks! I definitely think its closer to vanilla JS and HTML. Less of a learning curve, plus the eco system is amazing, and the documentation is A+! #DevDiscuss