autoreleasepool
autoreleasepool on Hacker News
Beautifully put, poetic even. The only problem is that, in (*actual).reality, unsafe Rust is difficult to read, difficult to write, difficult to maintain, difficult to learn, has zero features for ergonomics, and has poorly defined rules.
C and Zig have a big advantage for writing maintainable, easy to read unsafe code over unsafe Rust.
For a good base, I recommend the book "The Design and Implementation of the FreeBSD Operating System" by Marshall Kirk McKusick. It's really in depth and I was able to follow it without previously taking an OS course.
Sorry, I accidentally commented on the wrong post somehow. Unfortunately, I can't delete the comment.
Posted by
autoreleasepool on Monday May 29, 2017 @08:16PM
from the en.wikipedia.org dept.
Don't forget about Objective-C++! That's where the true powers of the dark side are.
Side Note: Objective-C is such a criminally underrated language. I often see people complaining about the syntax, but it's just syntax. Once you get over it, I find that the language makes the OOP paradigm a joy to work with.
Posted by
autoreleasepool on Sunday May 21, 2017 @05:27PM
from the wiki.freebsd.org dept.
Yes, agreed. IMO, curly braces would have made much more sense. It's not even bikesheding, really. It's just a fact that curly braces are less used in most written languages. I would also argue that curly braces are a better signal to the programmer that "something programmatic is happening here", due to their prevalence as scope delimiters in most popular languages.
Swift's string interpolation doesn't catch my eye like, say, Ruby's does: `#{my_var}`. It's very easy to gloss over `\(something_like_this)`. I suspect they were going for a more "elegant" syntax at the cost of pragmatism.
Check again. On the homepage scroll down to:
> An Application
" Using props and state, we can put together a small Todo application. This example uses state to track the current list of items as well as the text that the user has
entered. Although event handlers appear to be rendered
inline, they will be collected and implemented using event delegation. "
> write a bunch of code to deal for various browsers
jQuery helps here
I don't see where the parent suggested no framework. It's likely he or she prefers working a different framework or library, like vue.js or even jQuery.
For me, jQuery is the bare minimum requirement. I would never attempt to write a large app in pure JS, even with babel. You would definitely run into some of the problems you mentioned.
EDIT: I see now where he mentioned no-framework JS
Regardless of these complaints, the job market for React is just too damn good to ignore. I bit the bullet and began learning. As a newbie, I understand the sentiment of this article. However, it's really not as bad as the author makes it out to be.
Also, className instead of class took all of 3 seconds to learn.
Posted by
autoreleasepool on Friday April 21, 2017 @09:34PM
from the geoffreylessel.com dept.
If you're interested in iOS/Cocoa development, Swift is a top-notch statically typed language with lots of paradigm flexibility. Unfortunately, it isn't used as much outside of that domain.
Posted by
autoreleasepool on Thursday April 20, 2017 @02:19AM
from the medium.com dept.
When I'm not on medication I'm prone to manic/psychotic episodes and usually begin to hear voices. Maybe drugging isn't the best solution, but for me it's the only one that lets me live a normal life.
Posted by
autoreleasepool on Thursday April 06, 2017 @05:42PM
from the ask-hn dept.
Hi HN,I feel so stuck. I'm 25 and live with my parents. I do not have a CS degree (I have a BA in Economics). A year ago, I quit my full-time job as maintainer of a legacy C++ code base due to mental health issues (manic episodes). Before that, I worked as an iOS developer.Thanks to therapy, I am now back on my feet mentally, but I'm struggling with the job market. I've been unemployed for an...
Posted by
autoreleasepool on Tuesday March 21, 2017 @03:52PM
from the ask-hn dept.
Disclaimer: I am not a professional web developer. I have never seriously done front-end work.I am writing an web application in Elixir/Phoenix. It is an app with many categories that does not fit the single-page application model.That being said, I want it to look and feel like a modern web application by 2017's standards. Ideally, I could use a lean JavaScript framework for interactive UI...
There's an observable soft spot for Nintendo consoles in a lot of "PC master race" types. I'm definitely not a part of that community, but I agree a higher powered PC plus whatever Nintendo's newest console is brings something very special to the table. It also helps when my little cousins come over and I have games like Overwatch on the PC and Super Mario 3D World on the Wii U for them to enjoy
Really? I find ebooks side by side a terminal a much more efficient way of going through a text like this
Interesting. I'm curious, what's her usual workaround for this problem?
What's the advantage of tmux over something like terminator with pane splitting?
I couldn't get it to compile :(
Posted by
autoreleasepool on Friday February 03, 2017 @12:07PM
from the wiki.manjaro.org dept.
Agreed. I use FreeBSD every single day for development. It fucking rocks.
My only gripe is we're still waiting for KDE Plasma 5...
Agreed. It's there so I feel informed but at the same time I feel I need to allow practically everything in order to not break the app.
I actually reard in an HN comment that OS X's case-insensitivity by default was a choice that revolved solely around compatibility with Microsoft Office, so I think you're on to something.